yandex禁止java script_java – ClassNotFoundException:没有找到类“com.yandex.metrica.MetricaEventHandler”. Uni...

应用程序崩溃在测试设备上,但不在我的设备上.我尝试安装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"/>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值