3.16 and 3.17 crashes in libwebviewchromium.so

Em, if you use Android Studio, plz change the googleplayservices lib to gradle version.

  1. remove lib_gps with settings.gradle
//include ':lib_gps'
//project(':lib_gps').projectDir = new File(settingsDir, '../../../extern/plugins/googleplayservices/googleplayservices/plugin/gps')
  1. remove library reference with proj.android/app/project.properties.
#android.library.reference.1=../../cocos2d/cocos/platform/android/java/libs/gps/
  1. remove gps with cocos2d/cocos/platform/android/libcocos2dx/build.gradle
dependencies {
    // compile project(':gps')
    implementation fileTree(dir: '../java/libs', include: ['*.jar'])
}
  1. remove gps files
rm cocos2d/cocos/platform/android/java/libs/android-support-v4.jar
rm -fr cocos2d/cocos/platform/android/java/libs/gps

maybe Google has some improve.

Thanks! I will give it a try and get back

Not working with above steps (google play service not found). Since I am removing gps service that comes with SDKbox how do I include the one from Google?

Thanks!

sorry for missing the gradle setting:

add bellow to your proj.android/app/build.gradle

dependencies { compile 'com.google.android.gms:play-services-ads:12.0.1' }

Thanks,

Thanks @yinjimmy

Any reason why SDKBox ship with it’s own gps instead of using?

dependencies { compile 'com.google.android.gms:play-services-ads:XX.X.X' }

gps is:

  1. unpack aar and merge google library with https://github.com/darkdukey/Google-Play-Service-Lite . Maybe miss some res or other, I don’t know.
  2. gpg is for eclipse

For Android Studio, is better to use the gradle setting.

I think its now time to support gradle only, as its compulsory.
or any flag while importing plugin to tell eclipse version or gradle.

@yinjimmy does using https://github.com/darkdukey/Google-Play-Service-Lite give smaller apk size vs the gradle version?

No, the repo packs Google Play Services library for eclipse which all SDKBox plugins needs (gpg, admob, iap, etc). So it’s larger than gradle version if you only use AdMob.

BTW:
The latest AdMob gradle version, bugfix.

implementation 'com.android.support:customtabs:27.1.1'
implementation 'com.google.android.gms:play-services-ads:15.0.1'

I am also using IAP so from your comment I can’t use gradle version?

you can use the gradle version , it’s office from google.

Maybe it’s time to not ship GPS with future SDKBox?