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

邮差的信 提交于 2019-12-23 12:38:43

问题


When using the Gradle experimental plugin with Android studio to build an NDK library, how do you see the low-level build log i.e. the compiler invocations for each file with all the arguments etc...?


回答1:


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

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

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



来源:https://stackoverflow.com/questions/34532233/how-do-you-view-the-raw-gradle-build-log-for-the-ndk-in-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!