๐ฐ Android ๐ญ/๐ชฒ ๋๋ฒ๊น
-
[AOS] This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled. Set this property to true in the gradle.properties file and retry.2023. 6. 25. 00:30
๐ชฒ > This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled. Set this property to true in the gradle.properties file and retry. AndroidX enable์์ผ์ฃผ์ง ์์์ ๋ฐ์ํ ์ค๋ฅ์ด๋ค. ํด๊ฒฐ ๋ฐฉ๋ฒ gradle.properties ํ์ผ์ ์๋ ๋ ์ฝ๋๋ฅผ ์ถ๊ฐํด์ค๋ค. android.useAndroidX=true android.enableJetifier=true
-
[AOS] Build was configured to prefer settings repositories over project repositories but repository 'flatDir' was added by build file 'build.gradle'2023. 4. 27. 18:00
๐ชฒ A problem occurred evaluating root project ' '. Build was configured to prefer settings repositories over project repositories but repository 'flatDir' was added by build file ๋์ผํ ํ์ฅ์๋ฅผ ๊ฐ์ง ๋ชจ๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ implement ํ๊ธฐ ์ํด flatDir์ ์ฌ์ฉํ์ ๋ ๋ฐ์ํ๋ค. ํด๊ฒฐ ๋ฐฉ๋ฒ [AOS] Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build ๐ชฒ A problem occurred evalu..
-
[AOS] This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 2021.2.1 or newer.2023. 4. 27. 17:26
๐ชฒ FAILURE: Build failed with an exception. This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 2021.2.1 or newer. ์ต์ ํ๋ก์ ํธ๋ฅผ ๋น๋ํ๋ ค ํ์ผ๋, ์์ ๊ฐ์ ์ค๋ฅ๊ฐ ๋ฐ์ํ๋ค. ํ์ฌ ์๋๋ก์ด๋ ์คํ๋์ค ๋ฒ์ ์ด ํด๋น ํ๋ก์ ํธ์ ์ต์ ํ๋ ์๋๋ก์ด๋ ์คํ๋์ค ๋ฒ์ ์ด ๋ถ์ผ์น ํ ๊ฒ์ด๋ค. ํด๊ฒฐ ๋ฐฉ๋ฒ ์๋จ Android Studio ๋ฉ๋ด์์ Check for Updates... ๋ฅผ ๋๋ฌ์ค๋ค. ํด๋น ๋ฒํผ์ ๋๋ฌ๋ ์๋ฌด ๋ณํ๊ฐ ์๋ ๊ฒ์ฒ๋ผ ๋ณด์ผ ๊ฒ์ด๋ค. ๋นํฉํ์ง ์๊ณ ํ๋ฉด์ ์ฒ์ฒํ ์ดํด๋ณด..
-
[AOS] AVD is already running2022. 11. 24. 13:24
๐ชฒ Error while waiting for device: AVD Pixel_4_XL_API_32 is already running. If that is not the case, delete the files at /Users/.android/avd/Pixel_4_XL_API_32.avd/*.lock and try again. ํ๋ก์ ํธ๋ฅผ ์คํํ๋ ค๋๋ฐ ์ด๋ฏธ ์๋ฎฌ๋ ์ดํฐ๊ฐ ์คํ์ค์ด๋ผ๋ ์ค๋ฅ๊ฐ ๋ฐ์ํ๋ค. ์คํ ์ค์ธ ํ๋ก์ ํธ๋ฅผ ๋ฉ์ถ์ด๋, Android Studio๋ฅผ ์ฌ์คํํด๋ ๋์ผํ ์ค๋ฅ๊ฐ ๋ฐ์ํ๋ค. ์๋ฎฌ๋ ์ดํฐ๋ฅผ ๋น์ ์ ์ข ๋ฃํ์ฌ ๋ฐ์ํ ์ค๋ฅ์ด๋ค. ํด๊ฒฐ ๋ฐฉ๋ฒ ์ข์ธก ์๋จ์ Device Manager์์ ํด๋น ์๋ฎฌ๋ ์ดํฐ์ ํ๋จ ํ์ดํ (โผ)๋ฅผ ๋๋ฅด๊ณ Show on Disk๋ฅผ ๋๋ฌ์ค๋ค. Show on Disk๋ก ๋ํ๋..
-
[AOS] Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle'2022. 11. 8. 14:35
๐ชฒ A problem occurred evaluating root project ' '. > Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle' ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ถ๊ฐ๋ฅผ ์ํด project ์์ค์ builld.gradle ์์ allprojects { } ์ฝ๋ ์ฌ์ฉ ์ ๋ฐ์ํ๋ค. ํด๊ฒฐ ๋ฐฉ๋ฒ Arctic Fox ๋ฒ์ ์ดํ ์์ฑ๋ ํ๋ก์ ํธ๋ build.gralde์ด ์๋ settings.gradle์ ์์ฑํด์ผ ํ๋ค. ๋ฐ๋ผ์ allproject { } ์์ ์์ฑํ ๋ด์ฉ์ settings.gradle ํ์ผ๋ก ์ฎ๊ฒจ ์์ฑํ..
-
[AOS] Can not perform this action after onSaveInstanceState2022. 10. 5. 21:52
๐ชฒ Fatal Exception: java.lang.IllegalStateException Can not perform this action after onSaveInstanceState ๋ฐฑ๊ทธ๋ผ์ด๋ ์ํ์ ์ฑ์ด ์ธ์ ํ์์์ ์ดํ Activity์์ dismiss()๋ฅผ ์ํํ ๋ ๋ฐ์ํ๋ค. ํด๊ฒฐ ๋ฐฉ๋ฒ dismiss() -> dismissAllowingStateLoss() ๋ณ๊ฒฝํด์ฃผ๋ฉด ๊ฐ๋จํ๊ฒ ์ค๋ฅ๊ฐ ํด๊ฒฐ๋๋ค. ๊ณต์๋ฌธ์ DialogFragment | Android Developers android.net.wifi.hotspot2.omadm developer.android.com dismissAllowingStateLoss() version of dismiss() that uses FragmentTransac..