I just downloaded Android Studio for Linux from: http://developer.android.com/sdk/installing/studio.html
I'm wondering how to print to the console?
Neither System.out.print(...)
nor Log.e(...)
from android.util.Log
seem to work.
Run your application in debug mode by clicking on
in the upper menu of Android Studio.
In the bottom status bar, click 5: Debug
button, next to the 4: Run
button.
Now you should select the Logcat
console.
In search box, you can type the tag of your message, and your message should appear, like in the following picture (where the tag is CREATION
):
Check this article for more information.