#include <jni.h>
#include <string>
#include <unistd.h>
#include <sys/types.h>
#include <sys/file.h>
#include <dirent.h>
#include <stdlib.h>
#include <ctype.h>
#include <fcntl.h>
extern "C"
jstring
Java_xl_com_myapplication_MainActivity_stringFromJNI(
JNIEnv *env,
jobject /* this */) {
std::string hello = "Hell
How to access Package Name from JNI/NDK?
最新推荐文章于 2018-12-11 21:37:52 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)