在mac 系统,用集成的ADT Eclipse,运行coco2d-x 3.2自带的HelloWorld,真机出现闪退,模拟器出错,编译通过,就是闪退log :如下
09-28 03:20:40.964: E/Zygote(33): setreuid() failed. errno: 2
09-28 03:20:49.403: E/Zygote(33): setreuid() failed. errno: 17
09-28 03:20:50.824: E/BatteryService(77): usbOnlinePath not found
09-28 03:20:50.824: E/BatteryService(77): batteryVoltagePath not found
09-28 03:20:50.824: E/BatteryService(77): batteryTemperaturePath not found
09-28 03:20:50.854: E/SurfaceFlinger(77): Couldn’t open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
09-28 03:20:50.944: E/SensorService(77): couldn’t open device for module sensors (Invalid argument)
09-28 03:21:13.704: E/System(77): Failure starting core service
09-28 03:21:13.704: E/System(77): java.lang.SecurityException
09-28 03:21:13.704: E/System(77): at android.os.BinderProxy.transact(Native Method)
09-28 03:21:13.704: E/System(77): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
09-28 03:21:13.704: E/System(77): at android.os.ServiceManager.addService(ServiceManager.java:72)
09-28 03:21:13.704: E/System(77): at com.android.server.ServerThread.run(SystemServer.java:206)
09-28 03:21:13.744: E/EventHub(77): could not get driver version for /dev/input/mouse0, Not a typewriter
09-28 03:21:13.744: E/EventHub(77): could not get driver version for /dev/input/mice, Not a typewriter
09-28 03:21:14.214: E/SoundPool(77): error loading /system/media/audio/ui/Effect_Tick.ogg
09-28 03:21:14.214: E/SoundPool(77): error loading /system/media/audio/ui/KeypressStandard.ogg
09-28 03:21:14.214: E/SoundPool(77): error loading /system/media/audio/ui/KeypressSpacebar.ogg
09-28 03:21:14.214: E/SoundPool(77): error loading /system/media/audio/ui/KeypressDelete.ogg
09-28 03:21:14.223: E/SoundPool(77): error loading /system/media/audio/ui/KeypressReturn.ogg
09-28 03:21:14.243: E/UsbObserver(77): java.lang.NullPointerException
09-28 03:21:14.243: E/UsbObserver(77): at com.android.server.UsbObserver.init(UsbObserver.java:131)
09-28 03:21:14.243: E/UsbObserver(77): at com.android.server.UsbObserver.(UsbObserver.java:65)
09-28 03:21:14.243: E/UsbObserver(77): at com.android.server.ServerThread.run(SystemServer.java:402)
09-28 03:21:17.624: E/ThrottleService(77): Error reading data file
09-28 03:21:17.644: E/ThrottleService(77): Could not open GPS configuration file /etc/gps.conf
09-28 03:21:17.874: E/logwrapper(189): executing /system/bin/tc failed: No such file or directory
09-28 03:21:17.883: E/logwrapper(190): executing /system/bin/tc failed: No such file or directory
09-28 03:21:17.904: E/logwrapper(191): executing /system/bin/tc failed: No such file or directory
09-28 03:21:20.133: E/logwrapper(203): executing /system/bin/tc failed: No such file or directory
09-28 03:21:20.193: E/logwrapper(204): executing /system/bin/tc failed: No such file or directory
09-28 03:21:20.273: E/logwrapper(205): executing /system/bin/tc failed: No such file or directory
09-28 11:21:36.718: E/AndroidRuntime(302): FATAL EXCEPTION: main
09-28 11:21:36.718: E/AndroidRuntime(302): java.lang.UnsatisfiedLinkError: Couldn’t load cocos2dcpp: findLibrary returned null
09-28 11:21:36.718: E/AndroidRuntime(302): at java.lang.Runtime.loadLibrary(Runtime.java:429)
09-28 11:21:36.718: E/AndroidRuntime(302): at java.lang.System.loadLibrary(System.java:554)
09-28 11:21:36.718: E/AndroidRuntime(302): at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:66)
09-28 11:21:36.718: E/AndroidRuntime(302): at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:80)
09-28 11:21:36.718: E/AndroidRuntime(302): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
09-28 11:21:36.718: E/AndroidRuntime(302): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
09-28 11:21:36.718: E/AndroidRuntime(302): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
09-28 11:21:36.718: E/AndroidRuntime(302): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
09-28 11:21:36.718: E/AndroidRuntime(302): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
09-28 11:21:36.718: E/AndroidRuntime(302): at android.os.Handler.dispatchMessage(Handler.java:99)
09-28 11:21:36.718: E/AndroidRuntime(302): at android.os.Looper.loop(Looper.java:123)
09-28 11:21:36.718: E/AndroidRuntime(302): at android.app.ActivityThread.main(ActivityThread.java:3683)
09-28 11:21:36.718: E/AndroidRuntime(302): at java.lang.reflect.Method.invokeNative(Native Method)
09-28 11:21:36.718: E/AndroidRuntime(302): at java.lang.reflect.Method.invoke(Method.java:507)
09-28 11:21:36.718: E/AndroidRuntime(302): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
09-28 11:21:36.718: E/AndroidRuntime(302): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
09-28 11:21:36.718: E/AndroidRuntime(302): at dalvik.system.NativeStart.main(Native Method)
09-28 11:21:57.819: E/MetadataRetrieverClient(34): failed to extract an album art
09-28 11:22:47.278: E/ThrottleService(77): Error reading data file