stu*_*ent 18 android android-studio
我刚刚将Android Studio的版本升级到2.3并且gradle到3.3版本,我丢失了一个最有用的功能,即Debug Console中的日志.当我使用调试模式运行应用程序时,调试控制台中显示的唯一日志是:
03/03 10:35:40: Launching app Split APKs installed
$ adb shell am startservice com.myapp.android/com.android.tools.fd.runtime.InstantRunService
$ adb shell am start -n "com.myapp.android/com.myapp.android.UI.SplashActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
Connecting to com.myapp.android Connected to the target VM, address: 'localhost:8601', transport: 'socket'
Run Code Online (Sandbox Code Playgroud)
之后没有显示任何内容.知道如何解决这个问题吗?
我不知道如何解决这个问题(我希望有人能尽快解决),但这里有另一种选择:
Android Monitor的输出现在几乎与Debug的输出相同.您可以通过单击logcat左侧边栏中的齿轮来选择消息前显示的信息.
你最终会得到这样的东西:

小智 2
我有同样的问题。在我关闭即时运行后,它对我有用。关闭它后运行调试。然后转到底部的“Android Monitor”,然后单击“logcat”。这里介绍一下如何关闭Instant Run: Android Studio 2.0中的Instant run(如何关闭)
| 归档时间: |
|
| 查看次数: |
8590 次 |
| 最近记录: |