Jasonette / JASONETTE-Android

📡 Native App over HTTP, on Android
https://www.jasonette.com
Other
1.6k stars 270 forks source link

64bit Warning when submitting to Google Play store. #260

Closed Alzy closed 5 years ago

Alzy commented 5 years ago

Google now gives the following error:

This release is not compliant with the Google Play 64-bit requirement

The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 5.

From August 1, 2019 all releases must be compliant with the Google Play 64-bit requirement.

Analyzing the apk, I notice that the culprit seems to be the J2V8 library as it only compiles 32bit .so files. How can I resolve this issue? I have done a lot of work figuring out and building my Jasonette app to have it come to a halt

Alzy commented 5 years ago

UPDATE: following this thread, I found the solution. In your build.grade file change

implementation 'com.eclipsesource.j2v8:j2v8:5.0.103@aar'

to

implementation 'com.eclipsesource.j2v8:j2v8:4.8.4@aar'

and it should compile both 32 and 64 bit libraries.

clsource commented 5 years ago

thanks!

clsource commented 5 years ago

@Alzy I could not find the line you are refering to. Please could you provide the exact place where this needs to be changed?.

Thanks.

clsource commented 5 years ago

Maybe is here?

https://github.com/jasonelle/jasonette-android/blob/master/app/build.gradle#L42