編譯JNI的兩個報錯

報錯:android

一、APP_PLATFORM android-24 is larger than android:minSdkVersion 14 in...c++

解決方法:在Application.mk中添加 APP_PLATFORM := android-14spa

 

二、undefined reference toblog

解決方法:將aa方法所在的c++文件添加到Android.mk中,空格隔開io

相關文章
相關標籤/搜索