我只想尝试从下面的链接运行ndk示例代码。 How do I handle calls to AudioTrack from jni without crashing?
但是得到上述异常。下面是详细的日志。
E/AndroidRuntime(15523): FATAL EXCEPTION: Thread-9
E/AndroidRuntime(15523): java.lang.UnsatisfiedLinkError: audioFunc
E/AndroidRuntime(15523): at com.audio.demo.MainActivity.audioFunc(Native Method)
E/AndroidRuntime(15523): at com.audio.demo.MainActivity$1.run(MainActivity.java:35)
E/AndroidRuntime(15523): at java.lang.Thread.run(Thread.java:1096)
W/ActivityManager( 2486): Force finishing activity com.audio.demo/.MainActivity
我坚持这个例外可以有人帮助我吗?