我在一些设备上遇到以下故障。

huangapple go评论87阅读模式
英文:

I get the following failures on some devices

问题

帮忙!我在某些设备上遇到了以下错误。

    Unity版本:2017.4.35f1
    设备型号:三星 SM-N950F
    设备指纹:三星/greatltexx/greatlte:9/PPR1.180610.011/N950FXXS8DSL3:user/release-keys
    引起原因:
      在 a.a.a.a.b.N.a(来源文件:38) 处
      在 a.a.a.a.b.K.shouldOverrideUrlLoading(来源文件:1) 处
      在 android.webkit.WebViewClient.shouldOverrideUrlLoading(WebViewClient.java:77) 处
      在 org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading(PG:16) 处
      在 android.os.MessageQueue.nativePollOnce(本机方法)
      在 android.os.MessageQueue.next(MessageQueue.java:326)
      在 android.os.Looper.loop(Looper.java:181)
      在 android.app.ActivityThread.main(ActivityThread.java:7073)
      在 java.lang.reflect.Method.invoke(本机方法)
      在 com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
      在 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
    引起原因:java.lang.ClassNotFoundException:
      在 dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134) 处
      在 java.lang.ClassLoader.loadClass(ClassLoader.java:379)
      在 java.lang.ClassLoader.loadClass(ClassLoader.java:312)
英文:

help! I get the following failures on some devices.

java.lang.Error a.a.a.a.b.N.a

java.lang.Error: FATAL EXCEPTION [main]
    Unity version     : 2017.4.35f1
    Device model      : samsung SM-N950F
    Device fingerprint: samsung/greatltexx/greatlte:9/PPR1.180610.011/N950FXXS8DSL3:user/release-keys
    Caused by
      at a.a.a.a.b.N.a (SourceFile:38)
      at a.a.a.a.b.K.shouldOverrideUrlLoading (SourceFile:1)
      at android.webkit.WebViewClient.shouldOverrideUrlLoading (WebViewClient.java:77)
      at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading (PG:16)
      at android.os.MessageQueue.nativePollOnce (Native Method)
      at android.os.MessageQueue.next (MessageQueue.java:326)
      at android.os.Looper.loop (Looper.java:181)
      at android.app.ActivityThread.main (ActivityThread.java:7073)
      at java.lang.reflect.Method.invoke (Native Method)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
      at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:965)
    Caused by: java.lang.ClassNotFoundException: 
      at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:134)
      at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
      at java.lang.ClassLoader.loadClass (ClassLoader.java:312)

答案1

得分: 1

根据评论部分提供的信息,似乎您遇到了一个非常常见的错误,可能是由于编辑器统计数据收集引起的。

在这里 您可以找到解决方法(禁用这些统计数据似乎可以解决这个问题,正如在Unity论坛上发布评论的用户所述)。另外,如果您没有使用最新的Unity版本(并且您的项目允许),尝试将Unity更新到最新版本,因为这个错误可能已经在最新版本的Unity中得到修复。

希望这对您有所帮助!

附言:如果您尝试更新Unity版本,请记得创建项目的备份。

英文:

Based on the information provided at the comments section seems that you're having a very common error due editor statistics collection.

Here you have a fix for it (disabling those statistics seems to solve the problem, as stated by the user who posted the comment at Unity Forum). Also, if you aren't using latest Unity version (and your project allows you to), try to update Unity to latest version as this error may be fixed in a latest version of Unity.

Hope this helps you!

P.S: If you try to update your Unity version remember to create a backup of the project.

huangapple
  • 本文由 发表于 2020年1月30日 18:46:34
  • 转载请务必保留本文链接:https://go.coder-hub.com/59984204.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定