gpt4 book ai didi

android - Unity3D Android 应用程序在所有手机上立即崩溃。

转载 作者:搜寻专家 更新时间:2023-11-01 08:51:29 25 4
gpt4 key购买 nike

大家好,感谢阅读。

我已经在 Unity3D 上制作了一个应用程序,我准备在我的 Android 手机(华为 G510)上测试它。当我尝试在手机上打开应用程序时它崩溃了(甚至不显示启动画面)。

有人建议我查看 LogCat 文件,但实际上我是一个彻头彻尾的菜鸟,在尝试破译错误消息数小时后,我已经束手无策了。

我尝试立即部署的所有应用程序都崩溃了

我测试过的所有设备都会使应用程序崩溃(Galaxy S3、S2 和我的华为)

我运行的是 Macbook Pro,下载了 Eclipse SDK 和 Java JDK,并安装了所有可用的 SDK 版本。

任何帮助将不胜感激,因为我完全被难住了:(。

这是 logcat 文件(我已经在所有 logcat 输出下面发布了我可以找出的错误)

 W/lights  (  386): TP Button Light current value is 255 
W/lights ( 386): button_backlight:property_get,percent =50
E/Trace (13928): error opening trace file: No such file or directory (2)
W/dalvikvm(13928): Refusing to reopen boot DEX '/system/framework/hwframework.jar'
E/dalvikvm( 386): GC_CONCURRENT freed 2248K, 35% free 16308K/25031K, paused 34ms+14ms, total 237ms
I/Unity (13928): gles_mode = 0 (integer)
I/Unity (13928): splash_mode = 0 (integer)
I/Unity (13928): hide_status_bar = True (bool)
I/Unity (13928): useObb = False (bool)
I/Unity (13928): development_player = True (bool)
I/Unity (13928): onResume
I/Unity (13928): windowFocusChanged: true
I/ActivityManager( 386): Displayed com.BlueBeanie.HungryBarns/com.unity3d.player.UnityPlayerNativeActivity: +1s110ms
E/Unity (13928): Invalid serialized file version. File: "/data/app/com.BlueBeanie.HungryBarns-1.apk/assets/bin/Data/mainData". Expected version: 4.3.3f1. Actual version: 4.3.0f4.
E/Unity (13928):
E/Unity (13928): (Filename: Runtime/Serialize/SerializedFile.cpp Line: 735)
E/Unity (13928):
E/Unity (13928): Failed to read file '/data/app/com.BlueBeanie.HungryBarns-1.apk/assets/bin/Data/mainData' because it is corrupted.
E/Unity (13928):
E/Unity (13928): (Filename: Runtime/Serialize/SerializedFile.cpp Line: 450)
E/Unity (13928):
E/Sensors ( 386): GsSensor: line +83 ~~~handle===0~~en==1~~!n
W/InputDispatcher( 386): channel '41d880f8 com.BlueBeanie.HungryBarns/com.unity3d.player.UnityPlayerNativeActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 386): channel '41d880f8 com.BlueBeanie.HungryBarns/com.unity3d.player.UnityPlayerNativeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
E/Sensors ( 386): GsSensor::setDelay: line +114 ~~~handle===0~~ns==200000000~~
E/Sensors ( 386): GsSensor::setDelay: line +114 ~~~handle===0~~ns==200000000~~
W/InputDispatcher( 386): Attempted to unregister already unregistered input channel '41d880f8 com.BlueBeanie.HungryBarns/com.unity3d.player.UnityPlayerNativeActivity (server)'
E/Sensors ( 386): GsSensor: line +83 ~~~handle===0~~en==0~~!n
E/Sensors ( 386): GsSensor::setDelay: line +114 ~~~handle===0~~ns==200000000~~
I/fitatc ( 633): no preference set
W/lights ( 386): TP Button Light current value is 0
W/lights ( 386): button_backlight:property_get,percent =50
##################### 以下是我认为可能是问题但可能是错误的错误。
 E/Trace   (13928): error opening trace file: No such file or directory (2)


W/dalvikvm(13928): Refusing to reopen boot DEX '/system/framework/hwframework.jar'


E/Unity (13928): Invalid serialized file version. File: "/data/app/com.BlueBeanie.HungryBarns-1.apk/assets/bin/Data/mainData". Expected version: 4.3.3f1. Actual version: 4.3.0f4.


E/Unity (13928): Failed to read file '/data/app/com.BlueBeanie.HungryBarns-1.apk/assets/bin/Data/mainData' because it is corrupted.



W/InputDispatcher( 386): channel '41d880f8 com.BlueBeanie.HungryBarns/com.unity3d.player.UnityPlayerNativeActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9


E/InputDispatcher( 386): channel '41d880f8 com.BlueBeanie.HungryBarns/com.unity3d.player.UnityPlayerNativeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!



W/InputDispatcher( 386): Attempted to unregister already unregistered input channel '41d880f8 com.BlueBeanie.HungryBarns/com.unity3d.player.UnityPlayerNativeActivity (server)'

最佳答案

对于我的 Android 案例,只需将我的 Android 项目中的 libunity.so 替换为由新版本的 Unity 导出的新版本的 libunity.so。实际上不需要创建新的 Android 项目。

关于android - Unity3D Android 应用程序在所有手机上立即崩溃。,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22956842/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com