반응형 Android62 [Build] 안드로이드 빌드 프로세스 정리 안드로이드 빌드 포로세스 요약 자세한 내용은 안드로이드 공식 가이드 문서 참고 컴파일러는 소스 코드를 DEX(Dalvik Executable) 파일로 변환하고 그 외 모든 것은 컴파일된 리소스로 변환합니다. 이 DEX 파일에는 Android 기기에서 실행되는 바이트 코드가 포함됩니다. APK Packager는 DEX 파일과 컴파일된 리소스를 단일 APK로 결합합니다. 그러나, 앱을 Android 기기에 설치하고 배포할 수 있으려면 먼저 APK에 서명해야 합니다. APK Packager는 디버그 또는 출시 키 저장소를 사용하여 APK에 서명합니다. 디버그 버전의 앱(즉, 테스트 및 프로파일링 전용 앱)을 빌드 중인 경우에는 패키저가 디버그 키 저장소로 앱에 서명합니다. Android 스튜디오는 디버그 키 .. 2021. 5. 14. [Gralde] DefaultConfig 객체 설명 Android Studio build.gradle DefaultConfig 에 사용 할 수 있는 Property 값 정리 ex) def name = android.defaultConfig.versionName defaultConfig { applicationId "com.json.client.sample" minSdkVersion 22 targetSdkVersion 30 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } Properties Property Description applicationId The application ID. applicationIdSuffix A.. 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. [Android] MAC NDK is missing a "platforms" directory. "Install NDK (revision: 22.1.xxx) build error 원인 : Android 프로젝트에 사용중인 NDK 버전이 설치되어 있지 않음 해결 : SDK Manager에서 버전에 맞는 NDK 설치 > 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. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning. Checking.. 2021. 4. 9. 이전 1 ··· 4 5 6 7 8 9 10 ··· 16 다음 반응형