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

后端 未结 11 1179
慢半拍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:39

    There is a cpp example under apps in ndk: https://github.com/android/ndk-samples/blob/master/hello-gl2/app/src/main/cpp/gl_code.cpp

提交回复
热议问题