Android NDK C++ JNI (no implementation found for native…)

后端 未结 11 1190
慢半拍i
慢半拍i 2020-11-30 02:02

I\'m trying to use the NDK with C++ and can\'t seem to get the method naming convention correct. my native method is as follows:

extern \"C\" {
JNIEXPORT voi         


        
11条回答
  •  时光说笑
    2020-11-30 02:57

    I faced the same problem twice. It happened, that the phone I tried to start the app from Android Studio used an API level that I haven't downloaded yet in Android Studio.

    1. Upgrade Android Studio to the latest version
    2. Download the necessary API from within Android Studio

提交回复
热议问题