Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I view Android build Gradle tasks from Android Studio?

I was dealing with this bug recently while learning my way around AS.

I could see that the error was occurring after running aapt during the :app:processDebugResources gradle task.

The Gradle window is available from View -> Tool Windows -> Gradle, where I can see a list of all of these tasks that are presumably found in the Android Build plugin. Is there any way to view those tasks from AS? Could I access the source code for the plugin somewhere? The context menu presents no useful options, except Open Gradle config which is greyed out.

Gradle console

like image 998
jordanpg Avatar asked Nov 10 '22 06:11

jordanpg


1 Answers

You can find the source for the android gradle plugin here (check it out in git).

The question you linked to says the bug is caused by a missing resource? Maybe run lint checks to find missing resources?

like image 154
athor Avatar answered Nov 14 '22 22:11

athor