Android Studio变声工程发生A/libc段错误闪退

新手上路,请多包涵

错误信息如下:
11/12 11:07:55: Launching 'VoiceChangeActivity' on Pixel 2 API 26.
$ adb shell am start -n "com.zhangpan.myvoicechange/com.zhangpan.myvoicechange.VoiceChangeActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Waiting for process to come online...
Connected to process 13038 on device 'emulator-5554'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4066 in tid 13038 (n.myvoicechange)
Process 13038 terminated.

直接运行还能打开app,但执行到中间一个按钮就闪退了.调试的时候,就是调试到某一个cpp中的一个函数就停在那里了,请高手指教。

阅读 1.6k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题