已经安装了手机驱动,用eclipes测试时成功,换用Android Stdio就测试失败。
edit configurations中Taget已改成USB device.运行时提示"Error running app: No target device found."
在build.gradle中添加这个
buildTypes {
debug {
debuggable true
}
在manifest中添加这个
android:debuggable="true"
不太懂为什么我的电脑真机测试要搞得这么复杂