Not working when source code is copy pasted to another project

15 views
Skip to first unread message

PRASAD HALASINAKOPPA

unread,
Aug 4, 2020, 7:59:52 AM8/4/20
to jwtc
name, and tried to import all jniLibs folder and the android java source code. But no luck. i didn't find a way to configure it. Can you please help me out on this context? 

I am getting error as below.

JNI GetJavaVM called with pending exception java.lang.ClassNotFoundException: Didn't find class "jwtc.chess.JNI" on path: DexPathList[[zip file "/data/app/com.captive.captivechess-aJ-l02hdHygZtmKhL0z-CA==/base.apk"],nativeLibraryDirectories=[/data/app/com.captive.captivechess-aJ-l02hdHygZtmKhL0z-CA==/lib/arm64, /data/app/com.captive.captivechess-aJ-l02hdHygZtmKhL0z-CA==/base.apk!/lib/arm64-v8a, /system/lib64]]

Regards,
Prasad .

Jeroen Carolus

unread,
Aug 7, 2020, 9:16:02 AM8/7/20
to jw...@googlegroups.com
Hi Prasad,

You have probably renamed the Java package that the JNI lib expects there to be (jwtc.chess.JNI). If you rename that particular class package back, it should work.

Regards,
Jeroen

--

---
You received this message because you are subscribed to the Google Groups "jwtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jwtc+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jwtc/cf954a3d-a3b5-4e25-a6a9-9403cf6d83a1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages