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

18,949

Solution 1

Type below command in the terminal of Android Studio

./gradlew build --stacktrace

Check stack trace you will find the error

Solution 2

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

enter image description here enter image description here

Share:
18,949

Related videos on Youtube

Sebastien FERRAND
Author by

Sebastien FERRAND

Student on last year, doing his training period on Beijing

Updated on October 09, 2022

Comments

  • Sebastien FERRAND
    Sebastien FERRAND over 1 year

    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 ?

  • Sebastien FERRAND
    Sebastien FERRAND about 6 years
    This is the way. Side note, under windows the command is gradlew build --stacktrace