【发布时间】:2020-03-19 06:56:50
【问题描述】:
我的项目是一个带有原生 C++ 代码和 Java 的简单游戏,它使用 cmake 编译 C/C++ 代码。我正在使用地址清理程序来检查我的代码。我按照指令here
我的操作系统是 windows 10 64bit。
但是,当我在 Android Studio 上按调试时,我收到的消息为
2020-03-19 13:50:56.946 5152-5152/? E/logwrapper: executing /data/app/com.indie.haiphan.Breakout-ZFFz_f8ETleajrgP6rg9gw==/lib/arm64/wrap.sh failed: No such file or directory
2020-03-19 13:50:56.946 5151-5151/? I/wrap.sh: executing /data/app/com.indie.haiphan.Breakout-ZFFz_f8ETleajrgP6rg9gw==/lib/arm64/wrap.sh failed: No such file or directory
2020-03-19 13:50:56.956 5151-5151/? I/wrap.sh: wrap.sh terminated by exit(255)
2020-03-19 13:50:56.957 873-873/? W/Zygote: Error reading pid from wrapped process, child may have died
我检查了我的 APK(使用 Android Studio 的分析 APK)存在 wrap.sh。 所以我的问题是我无法在 APK 中使用 wrap.sh 进行调试?
谢谢
【问题讨论】:
标签: android android-studio android-ndk address-sanitizer