You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/08/13 08:14:42 UTC

[GitHub] [cordova-android] tomriddle1234 edited a comment on issue #805: Google Play enhanced 64bit build check, how to build without crosswalk for 64bit app bundle?

tomriddle1234 edited a comment 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 and in platforms/android/app/libs. 
   
   Then I tried copy the platforms/android/app/libs into platforms/android/app/src/main/jniLibs.
   As they said [here](https://stackoverflow.com/a/28430334/921082).
   
   Built again, and voila, the libs folder is inside apk.
   
   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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org