'JAVA'에 해당되는 글 58건
- 2024.09.17 :: Android Studio Build Error when source was generated from chatGPT
- 2024.09.16 :: savedInstanceState 는 왜 있는걸까?
- 2024.09.16 :: ListView 기본 , overview
- 2024.09.16 :: Android ListView scroll to bottom 1
- 2024.09.16 :: ListView, ArrayAdapter 1
- 2024.09.16 :: Android service not restarted when app back from idle state
>Build Error: Execution failed for task ':app:compileDebugAidl'. > aidl is missing
- https://blog.naver.com/PostView.naver?blogId=mjh9082&logNo=220507952791
안드로이드 스튜디오 에러 해결!! (Execution failed for task ':app:compileDebugAidl'. > aidl is missing)
안드로이드 스튜이디오에서 소스는 정상인데.. 디버그 했을때!! 밑과 같은 에러가 난다. 그럼 ...
blog.naver.com
- 에러화면:
ChatGPT통해서 생성받은 소스가 컴파일시 에러 날때 수정방법:
> 아래와 같은 에러가 나옴(Target SDK: 32, material, appcompat 의 버젼이 최신상태라서 오히려 에러가 나옴)
- 실제 수정화면: app -> 오른쪽 버튼 , open module settings ,
> Compile Sdk Version: 32로 , Build Tools Version: 지워도 됨(또는 Compile Sdk Version보다 작은 값으로)
- material:1.5.0, appcompat:1.5.1 버젼으로 설정변경.
- Taget SDK version=32, Target SDK Version=24( Android 7.0), Min SDK Version=24(Android 7.0)으로 변경해줌.
'JAVA > android_studio' 카테고리의 다른 글
TedPermission (0) | 2024.09.17 |
---|---|
migrate to AndroidX libraries when using Android Q and moving forward,, AndroidX migration , (0) | 2024.09.17 |
savedInstanceState 는 왜 있는걸까? (0) | 2024.09.16 |
ListView 기본 , overview (0) | 2024.09.16 |
Android ListView scroll to bottom (1) | 2024.09.16 |
savedInstanceState 는 화면 구성의 변경이 발생할 때 현재 인스턴스에서 데이터를 저장하고 새 인스턴스에서 다시 불러오기 위해 호출되며, 대표적인 구성의 변경으로는 화면모드(가로모드, 세로모드)의 전환, 입력기기(키보드) 변경, 지역 및 언어의 변경 등이 있습니다.
시스템의 구성이 변경되었을 때 UI를 유지시키는 옵션 중 하나로 사용되며, 메모리에 저장되어 읽고 쓰여집니다.
위의 표에서 볼 수 있듯 사용자가 활동을 완전히 마쳤을 때 즉, 다시 Activity로 돌아올 이유가 없는 경우엔 savedInstanceState를 호출하지 않습니다.
출처: https://tekken5953.tistory.com/9
[안드로이드] savedInstanceState 는 왜 있는걸까?
안녕하세요. 앱개발을 공부하다 문득 onCreate()의 Parameter로 생성되는 savedInstanceState는 도대체 무슨 역할을 할까? 라는 의문이 들어 찾아보았습니다. 활동 상태 변경 앱의 생명주기(활동 수명주기)
tekken5953.tistory.com
'JAVA > android_studio' 카테고리의 다른 글
migrate to AndroidX libraries when using Android Q and moving forward,, AndroidX migration , (0) | 2024.09.17 |
---|---|
Android Studio Build Error when source was generated from chatGPT (0) | 2024.09.17 |
ListView 기본 , overview (0) | 2024.09.16 |
Android ListView scroll to bottom (1) | 2024.09.16 |
ListView, ArrayAdapter (1) | 2024.09.16 |
- https://velog.io/@krrong/Android-ListView-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0
[Android] ListView 사용하기
ListView 사용하기
velog.io
-> RecyclerView
'JAVA > android_studio' 카테고리의 다른 글
Android Studio Build Error when source was generated from chatGPT (0) | 2024.09.17 |
---|---|
savedInstanceState 는 왜 있는걸까? (0) | 2024.09.16 |
Android ListView scroll to bottom (1) | 2024.09.16 |
ListView, ArrayAdapter (1) | 2024.09.16 |
Android service not restarted when app back from idle state (0) | 2024.09.16 |
private void scrollListViewToBottom() {
listView.setSelection(adapter.getCount() - 1);
}
-
https://stackoverflow.com/questions/46290105/android-listview-scroll-to-bottom
Android ListView scroll to bottom
I am developing app with chat and I want my ListView to scroll to bottom when new message been posted by user and when user was at the bottom of the list and there are new messages recieved. I am u...
stackoverflow.com
-
🔎 android java, listview automatic scrolldown: Google 검색
www.google.com
'JAVA > android_studio' 카테고리의 다른 글
savedInstanceState 는 왜 있는걸까? (0) | 2024.09.16 |
---|---|
ListView 기본 , overview (0) | 2024.09.16 |
ListView, ArrayAdapter (1) | 2024.09.16 |
Android service not restarted when app back from idle state (0) | 2024.09.16 |
Permission Denial: startForeground requires android.permission.FOREGROUND_SERVICE (0) | 2024.09.16 |
https://armful-log.tistory.com/26
[안드로이드] ListView, ArrayAdapter 사용하기
안드로이드 개발을 하다보면, 스크롤이 되면서 아이템들을 리스트로 보여줘야할 상황이 있다.이것을 우리는 Adapter를 이용해서 data들을 가져오는 ListView를 사용할 것이다. ArrayAdapter- ArrayList(data)
armful-log.tistory.com
'JAVA > android_studio' 카테고리의 다른 글
ListView 기본 , overview (0) | 2024.09.16 |
---|---|
Android ListView scroll to bottom (1) | 2024.09.16 |
Android service not restarted when app back from idle state (0) | 2024.09.16 |
Permission Denial: startForeground requires android.permission.FOREGROUND_SERVICE (0) | 2024.09.16 |
add an item to a ListView with each button click (0) | 2024.09.16 |
Android service not restarted when app back from idle state
I've upgraded my app to API 26 and I'm facing some issues with the new background execution limits. On Oreo devices, as soon as my app goes in background, my app is stopped by the OS due to idle s...
stackoverflow.com
서비스 실행후 서비스포그라운드 를 제한시간이내에 호출해줘야 함.
'JAVA > android_studio' 카테고리의 다른 글
Android ListView scroll to bottom (1) | 2024.09.16 |
---|---|
ListView, ArrayAdapter (1) | 2024.09.16 |
Permission Denial: startForeground requires android.permission.FOREGROUND_SERVICE (0) | 2024.09.16 |
add an item to a ListView with each button click (0) | 2024.09.16 |
JAVA, TimeFormat string , [Java/Android] 현재 날짜, 시간 출력 SimpleDateFormat (0) | 2024.09.16 |