본문 바로가기

Android/Build Error23

[Android] java.lang.NullPointerException (no error message) 원인 : NDK 경로가 맞지 않거나 사용중인 NDK 설치되어 있지 않음. 해결 : NDK 경로 변경 및 사용중인 NDK 다운로드 오류 메시지. A problem occurred configuring project ':app'. > java.lang.NullPointerException (no error message) * Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Exception is: org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'. at org... 2021. 5. 15.
[Android] Unknown host '알려진 호스트가 없습니다 원인 : build.gradle에 사용되는 gradle 버전이 설치되어 있지 않음. 해결 : gradle 버전 다운로드 후 재빌드 Unknown host '알려진 호스트가 없습니다 (jcenter.bintray.com)'. You may need to adjust the proxy settings in Gradle. Enable Gradle 'offline mode' and sync project Learn about configuring HTTP proxies in Gradle Enable Gradle 'offline mode' and sync project 클릭 할 경우 해결 되지 않음. FAILURE: Build failed with an exception. * What went wrong: A p.. 2021. 5. 15.
[Android] License for package Android SDK Build-Tools 28.0.3 not accepted. build error 원인 : build.gradle 빌드 툴 버전 SDK 설치 되어 있지 않음. 해결 방법 : 빌드 툴에 설정되어 있는 SDK 버전 다운로드 buildToolsVersion '28.0.3' 에러 로그 License for package Android SDK Build-Tools 28.0.3 not accepted. License for package Android SDK Platform 28 not accepted. No variants found for ':app' SDK 다운로드 방법 설치 완료 될 경우 오른쪽 상단 Try Again 클릭 2021. 5. 14.
[Android] Gradle NDK is missing a "platforms" directory. 버전 에러 해결 원인 : Gradle 빌드 버전으로 설정 맞지 않음. 수정 : Gradle 버전 변경 오류 메시지 > Configure project :app NDK is missing a "platforms" directory. If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/json/Library/Android/sdk/ndk-bundle. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning. FAILURE: Build failed .. 2021. 4. 12.