Run Java code from C++ using JNI (Android)
Hello, I want to run some java code from C++ but every time I search for a java class using
To get the JNIENv I do the following:
I've also tried the following, but I go the same result:
Thanks for the help
asked Nov 30 '15 at 06:14 PM in C++ Programming
In my case, the problem was ProGuard tool. ProGuard encrypts names of Java classes to fight against decompilation and hacking. It also affects my normal codes trying to access Java classes. After I disabled ProGuard, the problem was solved.
You can configure ProGuard by editing a text file located in the path below.
For your information, http://developer.android.com/intl/ko/tools/help/proguard.html#configuring
Follow this question
Once you sign in you will be able to subscribe for any updates here