03-26 16:35:44.077: W/dalvikvm(22582): dvmFindClassByName rejecting 'org/cocos2dx/lib/Cocos2dxHelper'
03-26 16:35:44.077: W/dalvikvm(22582): Class '0W{A' was optimized without verification; not verifying now
03-26 16:35:44.077: W/dalvikvm(22582): ('rm /data/dalvik-cache/*' and restart to fix this)
03-26 16:35:44.077: W/dalvikvm(22582): Exception thrown (Ljava/lang/ClassNotFoundException;) while throwing internal exception (Ljava/lang/VerifyError;)
03-26 16:35:44.077: W/dalvikvm(22582): Class '0W{A' was optimized without verification; not verifying now
03-26 16:35:44.077: W/dalvikvm(22582): ('rm /data/dalvik-cache/*' and restart to fix this)
03-26 16:35:44.077: W/dalvikvm(22582): Exception thrown (Ljava/lang/ClassNotFoundException;) while throwing internal exception (Ljava/lang/VerifyError;)
解决方案:
在eclipse里导入E:\cocos\cocos2d-x-3.0rc0\cocos\2d\platform\android\java下的cocos2dx 的android库项目。
把libcocos2dx项目中的lib包整个拷贝到自己项目的src目录下,
运行,问题解决。