Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show the compile error's details on Android Studio?

I just pulled the code from a fellow developer and get the following error :

enter image description here

I remember Android studio used to be more verbose about the type of problem, but the latest version just give me that generic error.

How can I get more details about this compiling error ?

like image 282
Sebastien FERRAND Avatar asked Apr 13 '18 04:04

Sebastien FERRAND


People also ask

How can I see the compiler error output for details?

go to Settings > Build, Execution and Deployment > compiler.

Where is the Messages view Android studio?

Go to the Build and then on the left side of the window you will find your Messages icon.

Where is error code in Android Studio?

There's "Messages" tab in Android Studio. Complilation errors and warning go there. You can select it by pressing alt+0 (⌘+0 in OS X - a shortcut to View|Tool Windows|Messages).

What is compile in Android Studio?

The Android build system compiles app resources and source code, and packages them into APKs or Android App Bundles that you can test, deploy, sign, and distribute.


2 Answers

Type below command in the terminal of Android Studio

./gradlew build --stacktrace

Check stack trace you will find the error

like image 96
Rohan Pawar Avatar answered Nov 08 '22 22:11

Rohan Pawar


There is a toggle view button into the Build view to see the details.

enter image description here enter image description here

like image 24
xiaomi Avatar answered Nov 08 '22 21:11

xiaomi