Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
288 views

Unable to get a jstring from R.string.* via JNI in a native C application

I'm working on a native c/c++ app, that uses string resources via the strings.xml file. Attempting to use AAssetManager to load the "strings.xml" file, has no effect. Returns the same error ...
avetharun's user avatar
2 votes
3 answers
3k views

Android: NDK-Build C/C++ debug in android studio

Trying ndk-build C code debug in Android studio(v4.1.2).Below is build.gradle setup. jni , C/C++ Source files Dirs. Actual C files are not under jni folder but outside it but referred in android.mk ...
NitZRobotKoder's user avatar
1 vote
1 answer
2k views

How do I link Gradle to a native Android library and solve 'could not find method externalNativeBuild()'?

I meet a problem when trying to build Telegram Source Code in Android Studio (https://github.com/DrKLO/Telegram). I have installed NDK, CMake, LLDB. But I got this error: "Gradle sync failed: Could ...
D. Tan's user avatar
  • 11