You can use GUI to add these gradle command line flags from
File > Settings > Build, Execution, Deployment > Compiler
For MacOS user, it's here
Android Studio > Preferences > Build, Execution, Deployment > Compiler
like this (add --stacktrace
or --debug
)
Note that the screenshot is from before 0.8.10, the option is no longer in the Compiler > Gradle
section, it's now in a separate section named Compiler (Gradle-based Android Project)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…