cocos2dx 报错,问题积累,及解决方法

前端之家收集整理的这篇文章主要介绍了cocos2dx 报错,问题积累,及解决方法前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1、

问题:

D/FLACRecorder(26743): Setting up encoder /data/data/com.borneo.speech/files/20141123081747.flac rate: 22050 channels: 1 format 16
F/art     (26743): art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: illegal class name 'fm.audioboo.jni.FLACStreamEncoder'
F/art     (26743): art/runtime/check_jni.cc:65]     (should be of the form 'package/Class',[Lpackage/Class;' or '[[B')
F/art     (26743): art/runtime/check_jni.cc:65]     in call to FindClass
F/art     (26743): art/runtime/check_jni.cc:65]     from void fm.audioboo.jni.FLACStreamEncoder.init(java.lang.String,int,int)
F
解决

把点换成 /

参考:http://stackoverflow.com/questions/27092044/android-art-runtime-check-jni-cc-error-on-package-name

猜你在找的Cocos2d-x相关文章