我正在尝试在 Genymotion 中运行应用“Hay day”。我使用了本指南安装 Play 商店。然后,我从 Play 商店安装了 Hay Day。我没有对虚拟系统进行任何其他更改。
当我点击/单击 hay day 图标时,屏幕方向变为横向,然后立即变回。没有其他反应,即应用程序没有启动。
以下是应用程序启动时的 Logcat 输出:
05-28 13:50:16.043: D/OpenGLRenderer(528): TextureCache::get: create texture(0xb8a7fe18): name, size, mSize = 71, 92736, 1426780
05-28 13:50:16.059: I/ActivityManager(309): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=com.supercell.hayday cmp=com.supercell.hayday/.GameApp bnds=[120,369][240,519] u=0} from pid 528
05-28 13:50:16.063: W/audio_hw_primary(116): out_write() limiting sleep time 46802 to 39909
05-28 13:50:16.099: E/SocketStream(329): readFully was waiting for 403440 bytes, got 49152
05-28 13:50:16.099: E/SocketStream(329): readFully was waiting for 354288 bytes, got 16384
05-28 13:50:16.103: E/SocketStream(329): readFully was waiting for 337904 bytes, got 13304
05-28 13:50:16.103: E/SocketStream(329): readFully was waiting for 324600 bytes, got 49152
05-28 13:50:16.103: E/SocketStream(329): readFully was waiting for 275448 bytes, got 16384
05-28 13:50:16.107: E/SocketStream(329): readFully was waiting for 259064 bytes, got 4544
05-28 13:50:16.107: E/SocketStream(329): readFully was waiting for 254520 bytes, got 49152
05-28 13:50:16.107: E/SocketStream(329): readFully was waiting for 205368 bytes, got 16384
05-28 13:50:16.107: E/SocketStream(329): readFully was waiting for 188984 bytes, got 4544
05-28 13:50:16.107: E/SocketStream(329): readFully was waiting for 184440 bytes, got 49152
05-28 13:50:16.107: E/SocketStream(329): readFully was waiting for 135288 bytes, got 16384
05-28 13:50:16.107: E/SocketStream(329): readFully was waiting for 118904 bytes, got 4544
05-28 13:50:16.107: E/SocketStream(329): readFully was waiting for 114360 bytes, got 49152
05-28 13:50:16.111: E/SocketStream(329): readFully was waiting for 65208 bytes, got 16384
05-28 13:50:16.111: E/SocketStream(329): readFully was waiting for 48824 bytes, got 4544
05-28 13:50:16.111: E/SocketStream(329): readFully was waiting for 44280 bytes, got 32768
05-28 13:50:16.127: I/ActivityManager(309): Start proc com.supercell.hayday for activity com.supercell.hayday/.GameApp: pid=1254 uid=10065 gids={3003, 1015, 1028}
05-28 13:50:16.135: W/audio_hw_primary(116): out_write() limiting sleep time 59274 to 39909
05-28 13:50:16.175: I/InputReader(309): Reconfiguring input devices. changes=0x00000004
05-28 13:50:16.175: I/InputReader(309): Device reconfigured: id=1, name='androVM Virtual Input', surface size is now 480x800, mode is 1
05-28 13:50:16.175: I/InputReader(309): Device reconfigured: id=2, name='androVM via VirtualBox seamless mouse', surface size is now 480x800, mode is 3
05-28 13:50:16.187: E/SurfaceFlinger(329): setOrientation with orientation=1
05-28 13:50:16.187: E/SurfaceFlinger(329): setOrientation orientation=1
05-28 13:50:16.187: E/FramebufferNativeWindow(329): setOrientation with fbDev=0xb8be4af0 fbDev->setOrientation=0xb6006f20 orientation=1
05-28 13:50:16.187: I/gralloc_vbox86(329): setOrientation: orientation=1
05-28 13:50:16.187: I/ActivityManager(309): Config changed: {1.0 0mcc0mnc en_US sw320dp w491dp h294dp nrml land finger qwerty/v/v dpad/v s.7}
05-28 13:50:16.299: E/Trace(1254): error opening trace file: No such file or directory (2)
05-28 13:50:16.327: W/EGL_emulation(403): eglSurfaceAttrib not implemented
05-28 13:50:16.371: D/dalvikvm(1254): Trying to load lib /data/data/com.supercell.hayday/lib/libg.so 0xa6a12fd0
05-28 13:50:16.387: A/libc(1254): Fatal signal 4 (SIGILL) at 0x995bfa84 (code=2), thread 1254 (upercell.hayday)
05-28 13:50:16.491: I/DEBUG(111): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-28 13:50:16.491: I/DEBUG(111): Build fingerprint: 'generic/vbox86p/vbox86p:4.1.1/JRO03S/eng.buildbot.20140326.210658:userdebug/test-keys'
05-28 13:50:16.491: I/DEBUG(111): pid: 1254, tid: 1254, name: upercell.hayday >>> com.supercell.hayday <<<
05-28 13:50:16.491: I/DEBUG(111): signal 4 (SIGILL), code 2 (ILL_ILLOPN), fault addr 995bfa84
05-28 13:50:16.583: I/DEBUG(111): eax 00000000 ebx 00000014 ecx bfa38914 edx 998164f0
05-28 13:50:16.583: I/DEBUG(111): esi 00000000 edi 998164e0
05-28 13:50:16.583: I/DEBUG(111): xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b
05-28 13:50:16.583: I/DEBUG(111): eip 995bfa84 ebp bfa39118 esp bfa388b8 flags 00010246
05-28 13:50:16.583: I/DEBUG(111): backtrace:
05-28 13:50:16.583: I/DEBUG(111): #00 pc 0011ea84 /system/lib/libhoudini.so (strncpy+2020)
05-28 13:50:16.587: I/DEBUG(111): #01 pc 000e6ce9 /system/lib/libhoudini.so (dvm2hdInit+57)
05-28 13:50:16.587: I/DEBUG(111): #02 pc 000c5d17 /system/lib/libdvm.so (houdini::hookDlopen(char const*, int, bool*)+311)
05-28 13:50:16.587: I/DEBUG(111): #03 pc 0006c2ef /system/lib/libdvm.so (dvmLoadNativeCode(char const*, Object*, char**)+655)
05-28 13:50:16.587: I/DEBUG(111): #04 pc 0009fd49 /system/lib/libdvm.so (Dalvik_java_lang_Runtime_nativeLoad(unsigned int const*, JValue*)+73)
05-28 13:50:16.587: I/DEBUG(111): #05 pc 000c6008 /system/lib/libdvm.so
05-28 13:50:16.587: I/DEBUG(111): #06 pc 00029406 /system/lib/libdvm.so (dvmMterpStd(Thread*)+70)
05-28 13:50:16.587: I/DEBUG(111): #07 pc 000265d0 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+160)
05-28 13:50:16.587: I/DEBUG(111): #08 pc 0009111a /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+938)
05-28 13:50:16.587: I/DEBUG(111): #09 pc 000a20fa /system/lib/libdvm.so (Dalvik_java_lang_reflect_Method_invokeNative(unsigned int const*, JValue*)+282)
05-28 13:50:16.587: I/DEBUG(111): #10 pc 000c6008 /system/lib/libdvm.so
05-28 13:50:16.587: I/DEBUG(111): #11 pc 00029406 /system/lib/libdvm.so (dvmMterpStd(Thread*)+70)
05-28 13:50:16.587: I/DEBUG(111): #12 pc 000265d0 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+160)
05-28 13:50:16.587: I/DEBUG(111): #13 pc 00091779 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, char*)+601)
05-28 13:50:16.587: I/DEBUG(111): #14 pc 0006276a /system/lib/libdvm.so (CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+106)
05-28 13:50:16.587: I/DEBUG(111): #15 pc 0005439a /system/lib/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+42)
05-28 13:50:16.587: I/DEBUG(111): #16 pc 00055609 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+969)
05-28 13:50:16.587: I/DEBUG(111): #17 pc 000011f7 /system/bin/app_process (main+599)
05-28 13:50:16.587: I/DEBUG(111): #18 pc 0001722f /system/lib/libc.so (__libc_init+95)
05-28 13:50:16.587: I/DEBUG(111): stack:
05-28 13:50:16.587: I/DEBUG(111): bfa38878 00000000
05-28 13:50:16.587: I/DEBUG(111): bfa3887c 00000000
05-28 13:50:16.587: I/DEBUG(111): bfa38880 00000000
05-28 13:50:16.587: I/DEBUG(111): bfa38884 00000000
05-28 13:50:16.587: I/DEBUG(111): bfa38888 00000000
05-28 13:50:16.587: I/DEBUG(111): bfa3888c 00000000
05-28 13:50:16.587: I/DEBUG(111): bfa38890 00000000
05-28 13:50:16.587: I/DEBUG(111): bfa38894 00000000
05-28 13:50:16.587: I/DEBUG(111): bfa38898 00000000
05-28 13:50:16.587: I/DEBUG(111): bfa3889c 00000000
05-28 13:50:16.587: I/DEBUG(111): bfa388a0 00000000
05-28 13:50:16.587: I/DEBUG(111): bfa388a4 00000000
05-28 13:50:16.591: I/DEBUG(111): bfa388a8 00000000
05-28 13:50:16.591: I/DEBUG(111): bfa388ac 00000000
05-28 13:50:16.591: I/DEBUG(111): bfa388b0 00000000
05-28 13:50:16.591: I/DEBUG(111): bfa388b4 00000000
05-28 13:50:16.591: I/DEBUG(111): #00 bfa388b8 00000000
05-28 13:50:16.591: I/DEBUG(111): bfa388bc bfa38904 [stack]
05-28 13:50:16.591: I/DEBUG(111): bfa388c0 00000000
05-28 13:50:16.591: I/DEBUG(111): bfa388c4 bfa38904 [stack]
05-28 13:50:16.591: I/DEBUG(111): bfa388c8 998164e0
05-28 13:50:16.591: I/DEBUG(111): bfa388cc 00000000
05-28 13:50:16.591: I/DEBUG(111): bfa388d0 9955f34f /system/lib/libhoudini.so
05-28 13:50:16.591: I/DEBUG(111): bfa388d4 998164e0
05-28 13:50:16.591: I/DEBUG(111): bfa388d8 bfa38904 [stack]
05-28 13:50:16.591: I/DEBUG(111): bfa388dc 00000040
05-28 13:50:16.591: I/DEBUG(111): bfa388e0 bfa38904 [stack]
05-28 13:50:16.591: I/DEBUG(111): bfa388e4 996cf860 /system/lib/libhoudini.so
05-28 13:50:16.591: I/DEBUG(111): bfa388e8 bfa3912c [stack]
05-28 13:50:16.591: I/DEBUG(111): bfa388ec b751e53b /system/lib/libc.so (dlfree+923)
05-28 13:50:16.591: I/DEBUG(111): bfa388f0 b758c658 /system/lib/libc.so
05-28 13:50:16.591: I/DEBUG(111): bfa388f4 b8a2d460 [heap]
05-28 13:50:16.591: I/DEBUG(111): ........ ........
05-28 13:50:16.591: I/DEBUG(111): #01 bfa39120 996cf860 /system/lib/libhoudini.so
05-28 13:50:16.591: I/DEBUG(111): bfa39124 996a1160 /system/lib/libhoudini.so
05-28 13:50:16.591: I/DEBUG(111): bfa39128 996ad248 /system/lib/libhoudini.so
05-28 13:50:16.591: I/DEBUG(111): bfa3912c 000001fa
05-28 13:50:16.591: I/DEBUG(111): bfa39130 a02e7b34
05-28 13:50:16.591: I/DEBUG(111): bfa39134 9f1a9dda /data/dalvik-cache/system@[email protected]@classes.dex
05-28 13:50:16.595: I/DEBUG(111): bfa39138 9dcabd60 /system/lib/libjavacore.so (Posix_access(_JNIEnv*, _jobject*, _jstring*, int))
05-28 13:50:16.595: I/DEBUG(111): bfa3913c b67bac98 /system/lib/libdvm.so
05-28 13:50:16.595: I/DEBUG(111): bfa39140 b8a2d4b0 [heap]
05-28 13:50:16.595: I/DEBUG(111): bfa39144 b8a2d4b0 [heap]
05-28 13:50:16.595: I/DEBUG(111): bfa39148 bfa391f8 [stack]
05-28 13:50:16.595: I/DEBUG(111): bfa3914c b6781d17 /system/lib/libdvm.so (houdini::hookDlopen(char const*, int, bool*)+311)
05-28 13:50:16.595: I/DEBUG(111): #02 bfa39150 bfa391d8 [stack]
05-28 13:50:16.595: I/DEBUG(111): bfa39154 b679a0a8 /system/lib/libdvm.so
05-28 13:50:16.595: I/DEBUG(111): bfa39158 00000003
05-28 13:50:16.595: I/DEBUG(111): bfa3915c a6252770 /dev/ashmem/dalvik-heap (deleted)
05-28 13:50:16.595: I/DEBUG(111): bfa39160 a6a00000 /dev/ashmem/dalvik-heap (deleted)
05-28 13:50:16.595: I/DEBUG(111): bfa39164 a6a4df18 /dev/ashmem/dalvik-heap (deleted)
05-28 13:50:16.595: I/DEBUG(111): bfa39168 bfa3917c [stack]
05-28 13:50:16.595: I/DEBUG(111): bfa3916c b77242c8
05-28 13:50:16.595: I/DEBUG(111): bfa39170 a6a4def8 /dev/ashmem/dalvik-heap (deleted)
05-28 13:50:16.595: I/DEBUG(111): bfa39174 00000000
05-28 13:50:16.595: I/DEBUG(111): bfa39178 00000018
05-28 13:50:16.599: I/DEBUG(111): bfa3917c 00006e6f
05-28 13:50:16.599: I/DEBUG(111): bfa39180 a6a4dda8 /dev/ashmem/dalvik-heap (deleted)
05-28 13:50:16.599: I/DEBUG(111): bfa39184 00000000
05-28 13:50:16.599: I/DEBUG(111): bfa39188 00000000
05-28 13:50:16.599: I/DEBUG(111): bfa3918c 00000001
05-28 13:50:16.599: I/DEBUG(111): ........ ........
05-28 13:50:16.599: I/DEBUG(111): memory map around fault addr 995bfa84:
05-28 13:50:16.599: I/DEBUG(111): 994a0000-994a1000 /system/lib/libsurfaceflinger.so
05-28 13:50:16.599: I/DEBUG(111): 994a1000-996d7000 /system/lib/libhoudini.so
05-28 13:50:16.599: I/DEBUG(111): 996d7000-996f3000 /system/lib/libhoudini.so
05-28 13:50:16.655: I/BootReceiver(309): Copying /data/tombstones/tombstone_08 to DropBox (SYSTEM_TOMBSTONE)
05-28 13:50:16.671: D/Zygote(146): Process 1254 terminated by signal (4)
我发现根据此评论,错误error opening trace file: No such file or directory
不是问题。我也在 Google 上搜索了其他错误和警告行,但没有找到任何有用的信息来解决我的问题。
我尝试了多台 Android 版本为 4.1 至 4.3 的设备。它们都没用。4.3 版的设备反复显示“不幸的是,Google Play 服务已停止”的消息,而其他设备则没有。
我还尝试了另外两个应用程序,“部落冲突”(来自同一开发人员)和“Farm Town:Cookie Day”(来自另一个开发人员)。它们都以相同的方式失败,并且日志条目也相似,只是 Farm Town 没有一行Trying to load lib
。这 3 个应用程序都有自己的自定义 GUI,似乎没有使用 Android GUI 元素。第四个应用程序“Quizduell”的界面由 Android GUI 元素组成,运行良好。
我也尝试了“Android 模拟器”,Hay Day 可以在那里运行(使用同一台计算机)。
我正在使用 Win7 32 位、Genymotion 2.2.0 和 VirtualBox 4.3.10。
您知道 Genymotion 可能存在什么问题吗?
答案1
您需要有 ARM 支持(参见跟踪中的“houdini”)。您可能需要四处查看并找出如何添加此功能,因为 genymotion 从其版本中删除了此功能。有可用的软件包/可闪存存档,您可以安装它们以使其正常工作。
例如: https://groups.google.com/forum/#!topic/genymotion-users/oe6slq3Da5c