在Android Studio中输出时速度低(Low speed when the output in Android Studio)

编程入门 行业动态 更新时间:2024-10-28 14:22:37
在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.

更多推荐

本文发布于:2023-07-23 01:17:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1225555.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:时速   Studio   Android   speed   output

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!