如何在Android Studio 2.0 Preview中禁用Instant Run.当我进入设置时,我看到它:
我无法从"启用即时运行..."中删除勾号
我使用的是Android Studio 2.0 Preview 9,但Android Studio 2.0 Preview 7中也存在此错误.
settings android android-studio instant-run android-instant-run
升级到Android Studio 2.3后,我的Log.d报告不再显示在运行菜单中.我重新启动机器两次.奇怪的是,当我在我的物理设备上运行应用程序时,报告显示出来,而不是模拟器.
我正在物理设备上测试我的应用
在调试运行
Console
$ adb push C:\Users\arjun\AndroidStudioProjects\Scol\app\build\outputs\apk\app-debug.apk /data/local/tmp/com.example.arjun.scol
$ adb shell pm install -r "/data/local/tmp/com.example.arjun.scol"
pkg: /data/local/tmp/com.example.arjun.scol
Success
$ adb shell am start -n "com.example.arjun.scol/com.example.arjun.scol.login.Login" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
Waiting for application to come online: com.example.arjun.scol | com.example.arjun.scol.test
Waiting for application to come online: com.example.arjun.scol | com.example.arjun.scol.test
Connecting to com.example.arjun.scol
Connected to the target VM, address: 'localhost:8600', transport: 'socket'
Disconnected from the target VM, address: 'localhost:8600', transport: 'socket'
Run Code Online (Sandbox Code Playgroud)
我的应用程序因错误而崩溃,但...中没有显示任何内容debug console...这发生在updating android studio to 2.3..
但是当我滚动浏览时 …
debugging android-logcat android-debug android-studio android-monitor