Android: compiler warnings in Android Studio

In android studio, when I create my project, in my event log Compilation completed successfully with 102 warnings in 52 sec . Where can I see these compiler warnings? I know about Analyze -> Inspect Code , which I don't want. I also tried to create my application using ant script with

 <target name="-warn"> <javac includeantruntime="false" srcdir="src/com/mobile" fork="true" debug="true"> <compilerarg line="-Werror -Xlint:all"/> </javac> </target> 

This shows some warnings when even a fixed one does not reduce compilation warnings. What is the correct way?

+8
android android-studio compiler-warnings
source share
1 answer

All errors will be displayed in the event log located in the lower right corner of Android Studio (I am currently running 0.4.2).

Event log

You can open the Event Log by double-clicking on the error messages.

The Gradle Console , usually located next to the Event Log, will also be available to describe some messages.

+4
source share

All Articles