Cocos2d-x 3.x android-studio project run error
I have some error on cocos2d-x build on android-studio.
Error is
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/.../base.apk"],
nativeLibraryDirectories=[/data/app/.../lib/arm, /vendor/lib, /system/lib]]] couldn't find "libcocos2dcpp.so"
at java.lang.Runtime.loadLibrary(Runtime.java:367)
at java.lang.System.loadLibrary(System.java:1076)
I find this solution.
$cocos compile -p android --android-studio
and run from android-studio,
running success without error!
댓글 없음:
댓글 쓰기