2022년 6월 3일 금요일

[Android] cordova-android 10 이상 적용시 Command로 Release 버전 Build할 시 aab로만 생성되는 경우

참조

 https://cordova.apache.org/announcements/2021/07/20/cordova-android-10.0.0.html

  • Android App Bundles aab Support

    By default, release builds will now generate an aab formatted package type for release.

    By nature, aab packages can not be deployed or pushed manually to a device for testing. If you need to test a release build, you will need to change the package type back to apk with the packageType flag.

    Debug builds will continue to create an apk formatted package.


cordova-android 10버전 이상부터 ionic cordova build android --release 생성시 apk로 생성되지 않고 aab로만 생성됨 - debug 버전은 apk로 생성
release apk 생성을 위해 packageType flag를 변경하라고 하는데,,,,
그냥 Android Studio의 Generate Signed Bundle or APK를 통해 생성하는게 빠름..



댓글 없음:

댓글 쓰기

Eclipse 프로젝트에서 java.lang.NoClassDefFoundError 대처

Eclipse에서  자바 클래스 파일을 jar파일을 통해 추가 했을 때 소스 상에서는 클래스 파일을 찾지만 서버에 배포했을 때 못찾는 경우  프로젝트 옵션에서 Web Deplyment Assembly에 라이브러리 위치나 jar파일을 직접 추가하자   ...