0

Ive recently started on Android programming and I just want to print a simple text on console. Seems that Logcat is the fastest way to do that, however its not working on MAC. What is missing?

Log.d("MYTAG", "PRINT");

enter image description here

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62

1 Answers1

1

Sometimes, especially on emulator devices, ADB can get stuck and stop working. Try going to Terminal tab and typing adb kill-server. Restart your app with control+D/R and you should be good to go

jujka
  • 1,190
  • 13
  • 18
  • Are you working on windows machine? If so, you may want to follow these steps https://stackoverflow.com/a/44525706/4733231 – jujka Jul 18 '18 at 16:05
  • no... as said on the question, its not working on my mac – Julio Didier Maciel Jul 18 '18 at 16:11
  • Oops, sorry, it's the end of working day here. Did you correctly install Android studio? Because ADB should've been added to your path by default installer. Anyways, here's how to do it manually https://stackoverflow.com/a/7609388/4733231 – jujka Jul 18 '18 at 16:16