GAM*_*AMA 7 debugging android exception-handling exception
后
我还在:
Failed to install DataAttach.apk on device 'emulator-5554': device not found
com.android.ddmlib.InstallException: device not found
Launch canceled!
Run Code Online (Sandbox Code Playgroud)
在这种情况下可以做些什么?
我在Emulator上运行这个应用程序(Android 4.0版)
就代码而言,编辑应用程序没有任何问题.他们仍然显示有关设备未找到异常的错误.
这必须通过 adb 命令提示符手动安装 apk 来解决。
从命令提示符导航到工具文件夹后,使用
adb install DataAttach.apk
Run Code Online (Sandbox Code Playgroud)
(其中DataAttach指的是包名称,在我的例子中包名称是DataAttach.apk)