使用VS15中的Android C++工具,我无法使调试器正常工作...VS可以将应用程序安装到测试设备上,但调试不起作用。
Unable to start debugging. Non-debuggable application installed on the target device. Required file '/data/data/com.AndroidTest/lib/gdbserver' could not be found on the device. Please reinstall the debuggable version.
我已经检查过apk文件,它确实有gdbserver。
我使用的设备是运行Android 5.0.2的LG G 7.0(V400)。该项目针对API级别19进行了定位,但我也尝试过定位API级别21,仍然存在相同的问题。
有什么想法吗?