你如何看待原始的摇篮构建日志的NDK Android Studio中? [英] How do you view the raw Gradle build log for the NDK in Android Studio?

查看:205
本文介绍了你如何看待原始的摇篮构建日志的NDK Android Studio中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用与Android摇篮实验插件工作室建立一个NDK库,你怎么看低级别生成日志即编译器调用每个文件的所有参数等...?

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...?

推荐答案

使用实验插件生成日志是在gradle这个日志文件中。在我的Mac,那就是在〜/图书馆/日志/ Android1.3 / idea.log

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

您可以运行使用的gradle或--debug --info更详细的输出选项。在命令行中运行也产生比IDE更详细的输出。

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.

有很多的在建的/ tmp / {} buildstep附加信息是工具的输出。每个构建步骤将具有显示发送到工具和该工具的分别的输出命令选项的options.txt,并在其output.txt的文件中。

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.

这篇关于你如何看待原始的摇篮构建日志的NDK Android Studio中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆