在Android Studio中输出时速度低(Low speed when the output in Android Studio)
在Android Studio中单击运行应用程序到手机或模拟器时,我应该等待15分钟或更长时间!
我没有这个问题,并在1分钟内在手机/模拟器中运行应用程序! 但现在在手机/模拟器中运行应用程序时,我应该等待15分钟或更Gradle来构建Gradle !
如何解决这个问题并更快地构建Gradle ?
When click on run application to phone or emulator in Android Studio, i should wait 15 min or up !
I have't this problem before and running application in phone / emulator on 1 min! but now when running application in phone / emulator i should wait 15 min or up to build Gradle !!!
How can i fix this problem and faster to build Gradle ?
最满意答案
我遇到了同样的问题。尝试以下步骤使速度更快的构建速度提高3倍:
确保没有不必要的gradle依赖项 在设置中转到编译器检查并行组合独立模块 在设置中转到gradle然后单击离线模式。(这将导致您的gradle在构建项目时不使用Internet,如果要添加任何新依赖项,请不要使用此项)谢谢,希望它会有所帮助。
I encountered the same issue.Try these steps to make faster builds upto 3x faster:
Make sure you don't have unnecessary gradle dependencies In the settings go to compiler-check combine independent modules parallel In the settings go to gradle and then click on offline mode.(This will cause your gradle to not to use internet while building project,dont use this if you are adding any new dependency)Thanks,hope it'll help.
更多推荐
发布评论