[GitHub] [cordova-android] tomriddle1234 commented on issue #805: Google Play enhanced 64bit build check, how to build without crosswalk for 64bit app bundle?
tomriddle1234 commented on issue #805: Google Play enhanced 64bit build check, how to build without crosswalk for 64bit app bundle? URL: https://github.com/apache/cordova-android/issues/805#issuecomment-522662894 I don't think current cordova-android default `--packageType=bundle` build configuration works in my situation. I had to add the `abiFilters` and copy the lib to `jniLibrary` otherwise it doesn't build the right aab or apk. check above. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[GitHub] [cordova-android] tomriddle1234 commented on issue #805: Google Play enhanced 64bit build check, how to build without crosswalk for 64bit app bundle?
tomriddle1234 commented on issue #805: Google Play enhanced 64bit build check, how to build without crosswalk for 64bit app bundle? URL: https://github.com/apache/cordova-android/issues/805#issuecomment-521534487 the last comment I wrote also works for app bundle, tested yesterday. ``` # build ionic cordova prepare android --prod --release # prepare app/build.gradle cp /home/tom/src/bronze-drum-app/build.gradle /home/tom/src/bronze-drum-app/platforms/android/app/ # copy libs to jniLibs mkdir -p /home/tom/src/bronze-drum-app/platforms/android/app/src/main/jniLibs cp -r /home/tom/src/bronze-drum-app/platforms/android/app/libs/* /home/tom/src/bronze-drum-app/platforms/android/app/src/main/jniLibs/ cordova build android --release -- --packageType=bundle jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore /home/tom/src/bronze-drum-app/bronzedrum-release-key.keystore /home/tom/src/bronze-drum-app/platforms/android/app/build/outputs/bundle/release/app.aab alias_name cd /home/tom/src/bronze-drum-app rm app.aab cp /home/tom/src/bronze-drum-app/platforms/android/app/build/outputs/bundle/release/app.aab . ``` This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[GitHub] [cordova-android] tomriddle1234 commented on issue #805: Google Play enhanced 64bit build check, how to build without crosswalk for 64bit app bundle?
tomriddle1234 commented on issue #805: Google Play enhanced 64bit build check, how to build without crosswalk for 64bit app bundle? URL: https://github.com/apache/cordova-android/issues/805#issuecomment-520727897 here is some updates on my side. The app bundle I built with cordova-plugin-ionic4-crosswalk-webview, sometimes cannot install on some phone properly, so that could be the crosswalk maintenance issue. Just now I removed crosswalk, and with the latest cordova-android code, I had to modify `app/build.gradle` like, watch out there's no `=` mark for my environment, maybe using gradle 4.10.3 `ndk.abiFilters 'armeabi-v7a', 'arm64-v8a'` in this way, I can build the apk that passes Google 64 bit check. However, the function supported by a specific cordova plugin, in my case, it's the cordova-plugin-weibosdk, stopped working after successfully installed on the phone. I checked apk with Android Studio, there's no libs folder! no armeabi no arm64-v8a, no anything. So it must be this gradle setting is not enough ? Because I can find there are libweibosdk.so file for all armeabi, arm64, x86 etc. provided in the cordova-plugin-weibosdk folder. I'm lack of Android build knowledge, so is this related to cordova-android? or I have to configure something else? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org