How do you view the source Gradle build log for NDK in Android Studio?

When using the Gradle experimental plugin using the Android studio to create the NDK library, as you can see the low-level build log, i.e. compiler calls for each file with all arguments, etc ....?

+4
source share
1 answer

Using an experimental plugin, the build log is in the gradle log file. On my Mac, which is located in ~ / Library / Logs / Android1.3 / idea.log

You can run gradle with the --debug or --info options for more verbose output. Running from the command line also provides more verbose output than in the IDE.

There is a lot of additional information in build / tmp / {buildstep} that is the result of the tools. Each build step will contain in it a file "options.txt" and "output.txt", which shows the command parameters sent to the tool and the output of the tool, respectively.

0
source

Source: https://habr.com/ru/post/1622229/


All Articles