我在Unity中创建了一个测试场景,它只有一个立方体和一个定向闪电。当安装在AVD中时,只显示应用程序的名称并且不显示任何内容......
我无法弄清楚错误是什么..或者是什么让我的应用程序停止运行
使用的AVD设置为
目标:4.0.3 API级别15
皮肤:HVGA
RAM:512 VM:32
内部存储:200MB
SDCARD:2GB
I/AndroidRuntime( 474): NOTE: attach of thread 'Binder Thread #3' failed
D/AndroidRuntime( 549):
D/AndroidRuntime( 549): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<
D/AndroidRuntime( 549): CheckJNI is ON
D/AndroidRuntime( 549): Calling main entry com.android.commands.am.Am
I/ActivityManager( 77): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.asdasd.cd/com.unity3d.player.UnityPlayerNativeActivity} from pid 549
D/PermissionCache( 36): checking android.permission.READ_FRAME_BUFFER for uid=1000 => granted (22624 us)
W/WindowManager( 77): Failure taking screenshot for (130x195) to layer 21005
D/AndroidRuntime( 549): Shutting down VM
D/dalvikvm( 549): GC_CONCURRENT freed 99K, 77% free 480K/2048K, paused 0ms+1ms
I/AndroidRuntime( 549): NOTE: attach of thread 'Binder Thread #3' failed
I/ActivityManager( 77): Start proc com.asdasd.cd for activity com.asdasd.cd/com.unity3d.player.UnityPlayerNativeActivity: pid=559 uid=10041 gids={}
W/NetworkManagementSocketTagger( 77): setKernelCountSet(10041, 1) failed with errno -2
I/dalvikvm( 77): Jit: resizing JitTable from 4096 to 8192
I/ARMAssembler( 36): generated scanline__00000077:03515104_00009002_00000000 [127 ipp] (149 ins) at [0x413fba80:0x413fbcd4] in 869530 ns
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 559): Trying to load lib /mnt/asec/com.asdasd.cd-2/lib/libmain.so 0x41023f78
D/dalvikvm( 559): Added shared lib /mnt/asec/com.asdasd.cd-2/lib/libmain.so 0x41023f78
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 77): Sending signal. PID: 559 SIG: 3
I/dalvikvm( 559): threadid=3: reacting to signal 3
I/dalvikvm( 559): Wrote stack traces to '/data/anr/traces.txt'
W/ActivityManager( 77): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 77): Activity idle timeout for ActivityRecord{411e1ab0 com.asdasd.cd/com.unity3d.player.UnityPlayerNativeActivity}
D/dalvikvm( 77): GC_CONCURRENT freed 294K, 11% free 8687K/9671K, paused 5ms+7ms
D/dalvikvm( 160): GC_CONCURRENT freed 436K, 8% free 6992K/7559K, paused 4ms+4ms
在Android上安装应用程序时,所以类似的行为并生成相同的类似日志
I/ActivityManager( 289): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.asdasd.cd/com.unity3d.player.UnityPlayerNativeActivity bnds=[12,433][125,592]} from pid 546
I/ActivityManager( 289): Start proc com.asdasd.cd for activity com.asdasd.cd/com.unity3d.player.UnityPlayerNativeActivity: pid=4268 uid=10130 gids={}
W/ResourceType( 289): Skipping entry 0x7f040010 in package table 0 because it is not complex!
W/ResourceType( 289): Skipping entry 0x7f04003d in package table 0 because it is not complex!
D/dalvikvm( 4268): Trying to load lib /mnt/asec/com.asdasd.cd-1/lib/libmain.so 0x2bde3080
D/dalvikvm( 4268): Added shared lib /mnt/asec/com.asdasd.cd-1/lib/libmain.so 0x2bde3080
D/SurfaceFlinger( 136): Release buffer at 0xcddd0
W/ActivityManager( 289): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 289): Activity idle timeout for ActivityRecord{2c57c1e8 com.asdasd.cd/com.unity3d.player.UnityPlayerNativeActivity}
答案 0 :(得分:0)
对于游戏更好地使用genymotion不要使用不支持EGL渲染的AVD,而在Android 4.4中使用dalvik代替ART ... 希望你明白我的意思。
答案 1 :(得分:0)
最后我的应用程序正在运行..!:D问题通过更新和应用最新的补丁统一4.6.6p1 ..解决了从旧版本中删除错误。希望这可以帮助有类似问题的人