Reputation: 2324
I just upgraded the version of Android Studio to 2.3 and gradle to version 3.3 and I lost one of the most usefull features, the logs inside the Debug Console. When I run the app with Debug mode the only Log that's being displayed inside the Debug console is this:
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'
After that nothing is being displayed. Any idea how to fix this?
Upvotes: 21
Views: 18141
Reputation: 103
I don't know how to fix this (I hope someone figures it out soon), but here's an alternative:
The output from Android Monitor is now almost the same as what it was with Debug. You can choose what information will be displayed before the messages by clicking the gear in the logcat's left sidebar.
You'll end up with something like this:
Upvotes: 9
Reputation: 207
i dont know the exact solution.but there is way to get the debug results
better understand purpose i post a picture
Upvotes: -1
Reputation: 276
I have't the same problem. See this bug report:
If it produce other errors you need to make a new simple project with the necessary parameters and try to run it on your device. It was helped for me. Good luck!!
I think this bug will fix in short time.
Upvotes: 0
Reputation: 408
go to File / Setting / Build, Execution, Deployment / Instant Run enable Log extra ...
now you have the log in Android Monitor tab (alt+6)
Upvotes: 3
Reputation: 21
i had the same problem. it worked for me after i turned off Instant Run. After you turned it off run Debug. Then go at the Bottom to "Android Monitor" and then click on "logcat". Here is a description how to turn Instant Run off: Instant run in Android Studio 2.0 (how to turn off)
Upvotes: 2