JAVA????C????д??SO???
???????????? ???????[ 2014/11/14 10:22:29 ] ????????Java ?????? ????
?????????????????????????com_test_GetMsg.h???????????test.c??????libtest.so?????JAVA????SO????????α???
????failed: Cannot load library: load_library(linker.cpp:761): not a valid ELF executable: /data/app-lib/com.example.iccommtest-libtest.so
???????????SO???load????valid???
????????????????????JAVA????SO?????????????android????SO?????????????????
?????????????
????1??JAVA??android?????????????
????2??Linux??android??????????????
????????????????Linux?????JNI???????????????SO???????android???????????????Linux??android???????????????????SO????????????????????????????????NDK??Cywin???????????????SO?????android?????
???????SO?????????????JNI??????????????????????
/*
* Class: com_samples_jni_test
* Method: GetMsg
* Signature: ()V
*/
JNIEXPORT jstring JNICALL Java_com_samples_jni_test_GetMsg
(JNIEnv *?? jobject);
???????NDK??Cywin????libtest.so??android???ó????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11