gpt4 book ai didi

java - android studio 3.1 每次rebuild project 看变化

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:33:08 25 4
gpt4 key购买 nike

将我的 android studio 更新到 3.1 版后,我遇到了一个问题:

当我对我的代码进行一些更改时,然后我启动执行,我得到旧的代码执行,直到我重建项目或清理它并重试那是问题吗 ?

PS:这发生在我的旧项目中,我还没有尝试过新项目

最佳答案

我认为你在 android studio 中遇到了一个 BUG,正如谷歌通过 Twitter 所声明的那样。

我引用了他们的 3 条推文:

We've identified an error that affects some users upgrading from AS3.0: source files may not automatically rebuild when running or debugging an application. Please add 'Gradle aware make' to pre-launch steps in the Run Configuration or wait for AS3.1.1 hotfix early next week[1/3]

Also around the time of the release, jCenter (a 3rd party repository which hosts many of the libraries used by Android developers) suffered from an outage (read more on http://status.bintray.com/ ). This caused builds to fail and was an unfortunate coincidence. [2/3]

Even though this was something out of our control, we will try to come up with a way to mitigate this in the future. We apologize for any problems and ask all developers to test your projects on our weekly Canary (and soon Beta) versions of Android Studio and file bugs. [3/3]

附上他们的照片:

enter image description here

来源:https://twitter.com/androidstudio/status/981914636739076097

关于java - android studio 3.1 每次rebuild project 看变化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49701214/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com