Hi guys,
I’m getting an instant crash at launch with the updated Facebook Audience Network plugin(plugin.fbAudienceNetwork: 2.0). I’m using Corona v2017.3026( not using v3028 or v3030 since they crash for me for reasons that don’t have relation to this), after installing the apk on my device I get this from the console:
Feb 02 04:31:33.557 Pixel: FATAL EXCEPTION: main Pixel: Process: com.snootybear.cookiesfromthesky, PID: 24381 Pixel: java.lang.NoClassDefFound Feb 02 04:31:33.557 Error: Failed resolution of: Lcom/facebook/R$style; Pixel: at com.facebook.FacebookSdk.\<clinit Feb 02 04:31:33.558 \>(FacebookSdk.java:86) Pixel: at com.facebook.FacebookSdk.sdkInitialize(FacebookSdk.java:146) Pixel: at plugin.facebook.v4.FacebookController$5.run(FacebookController.java:725) Pixel: at android.os.Handler.handleCallback(Handler.java:751) Pixel: at android.os.Handl Feb 02 04:31:33.559 er.dispatchMessage(Handler.java:95) Pixel: at android.os.Looper.loop(Looper.java:154) Pixel: at android.app.ActivityThread.main(ActivityThread.java:6119) Pixel: a Feb 02 04:31:33.560 t java.lang.reflect.Method.invoke(Native Method) Pixel: at com.android.internal.os.ZygoteInit$MethodAndA Feb 02 04:31:33.560 rgsCaller.run(ZygoteInit.java:886) Pixel: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776) Pixel: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.facebook Feb 02 04:31:33.561 .R$style" on path: DexPathList[[zip file "/data/app/com.snootybear.cookiesfromthesky-2/base.apk"],nativeLibraryDirectories=[/dat Feb 02 04:31:33.562 a/app/com.snootybear.cookiesfromthesky-2/lib/arm, /system/fake-libs, /data/app/com.snootybear.cookiesfromthesky-2/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]] Pixel: at dalvik.system.BaseD Feb 02 04:31:33.563 exClassLoader.findClass(BaseDexClassLoader.java:56) Pixel: at java.lang.ClassLoader.loadClass(ClassLoader.java:380) Pixel: at java.lang.ClassLoader.loadClass(ClassLoader.java:312) Pixel: ... 10 more Feb 02 04:31:33.673 Pixel: Force finishing activity com.snootybear.cookiesfromthesky/com.ansca.corona.CoronaActivity Feb 02 04:31:34.069 Pixel: Activity pause timeout Feb 02 04:31:34.070 for ActivityRecord{ce182c4 u0 com.snootybear.cookiesfromthesky/com.ansca.corona.CoronaActivity t7672 f} Feb 02 04:31:41.912 Pixel: Scheduling restart of crashe Feb 02 04:31:42.011 d service com.snootybear.cookiesfromthesky/shared.google.play.services.base.PackageStateChangedService in 1000ms Feb 02 04:31:42.150 Pixel: Ignoring remove of inactive process: ProcessRecord{826c108 0:com.snootybear.cookiesfromthesky/u0a251} Feb 02 04:31:45.768 Pixel: Scheduling resta Feb 02 04:31:45.870 rt of crashed service com.estrongs.android.pop/com.estrongs.android.scanner.service.FileScannerService in 1000ms Pixel: Scheduling restart of crashed service com.estrongs.android.pop/com.android.apps.pros.LocalMService in 11000ms Feb 02 04:31:56.787 Pixel: Unable to start service Intent { cmp=com.google.android.gm.exchange/com.an Feb 02 04:31:56.889 droid.exchange.service.EasService } U=10: not found Feb 02 04:31:56.900 Pixel: Unable Feb 02 04:31:56.900 to start service Intent { cmp=com.google.android.gm/com.android.email.service.AttachmentService } U=10: not found
My first guess is maybe this is an issue since the plugin is in use with Facebook.V4, which didn’t happen up until this update. It could be the same reason Facebook.V4 and Facebook Analytics Plugin don’t work together? From 3 Facebook plugins, will I just have to use the main V4?
After taking the Facebook Audience Network plugin out, the app works without issues.
Is anyone else experiencing the same? thanks