应用程序崩溃在测试设备上,但不在我的设备上.我尝试安装appmetrica插件,但它不起作用,appmetrica控制台的统计信息为null并且此错误,放在上面.
我找不到这个错误的解决方案.你能给我永久的解决方案吗?我不知道怎么解决它可以帮助我.谢谢我的英语.
1 - java.lang.ClassNotFoundException
in: dalvik.system.BaseDexClassLoader.findClass
Tjava.lang.Error: FATAL EXCEPTION [main]Unity version : 4.7.2f1
Device model: samsung SM-T116Device fingerprint: samsung/goyave3gxx/goyave3g:4.4.4/KTU84P/T116XXU0AQA2:user/release-keysCaused
by: java.lang.RuntimeException: Unable to instantiate receiver com.yandex.metrica.MetricaEventHandler:
java.lang.ClassNotFoundException: Didn't find class "com.yandex.metrica.MetricaEventHandler"
on path: DexPathList[[zip file "/data/app/coloring.book.app-1.apk"],
nativeLibraryDirectories=[/data/app-lib/coloring.book.app-1, /vendor/lib, /system/lib]]
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2648)
at android.app.ActivityThread.access$1700(ActivityThread.java:166)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1359)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5584)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
at dalvik.system.NativeStart.main(Native Method)Caused by: java.lang.ClassNotFoundException:
Didn't find class "com.yandex.metrica.MetricaEventHandler"
on path: DexPathList[[zip file "/data/app/coloring.book.app-1.apk"],
nativeLibraryDirectories=[/data/app-lib/coloring.book.app-1, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2643) ... 10 more
AndroidManifest.xml中
android:name="com.google.android.gms.gcm.GcmReceiver"
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND">
android:name="com.yandex.metrica.push.core.notification.MetricaPushBroadcastReceiver"
android:exported="false" >
android:name="com.yandex.metrica.push.gcm.MetricaInstanceIDListenerService"
android:exported="false">
android:name="com.yandex.metrica.push.PushService"
android:exported="false">
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
android:value="@integer/google_play_services_version"/>