stavros.3p
stavros.3p

Reputation: 2324

Debug console doesn't show messages after upgrading Android Studio to 2.3

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

Answers (5)

Miles Krell
Miles Krell

Reputation: 103

I don't know how to fix this (I hope someone figures it out soon), but here's an alternative:

  1. Open the "Android Monitor" tab
  2. Select the "logcat" tab
  3. In the upper-right corner of the Android Monitor tool window, click on the drop-down menu and select "Show only selected application"

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:

logcat

Upvotes: 9

Siva krishna
Siva krishna

Reputation: 207

i dont know the exact solution.but there is way to get the debug results

  • go to Android Monitar tab.
  • and set option to No filters at top ,right side of the tab.
  • and then start run/debug you will get all the results and also the whats are the errors in you application.

better understand purpose i post a picture here

Upvotes: -1

GHosT
GHosT

Reputation: 276

I have't the same problem. See this bug report:

Issue 236525: Android Studio 2.3 and Gradle 3.3 update: com.android.tools.fd.runtime.InstantRunService Error: Not found; no service started.

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

Meisam
Meisam

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

Hansderlump
Hansderlump

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

Related Questions