Not working - Debug Mode native code (c/c++) on Android studio with tablet HUAWEI MediaPad M5

泄露秘密 提交于 2020-01-23 14:37:26

问题


I have a problem when i put breakpoints on my native code (c/c++) with this tablet (HUAWEI MediaPad M5, android 8.0.0, processor Hisilicon Kirin 960s). Indeed, in debug mode, i can't use the breakpoint on native code. So i can't debug native code. It's working with all the others devices (smartphone : samsung, sony). The setup configuration on android studio is ok. Can you help me please ? Do you have any solution please?

Thanks you,

Best regards


回答1:


Well, We contact HUAWEI's tech support and they told us that this is intended, probably on security purpose. Good news is that they can flash the ROM to a dev edition. Maybe you can contact them too.

EDIT: The symptoms: breakpoints cannot be set, and call stack has lots of unknown frames.



来源:https://stackoverflow.com/questions/50096048/not-working-debug-mode-native-code-c-c-on-android-studio-with-tablet-huawe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!