简体   繁体   English

Intellij IDEA 14 - 运行未更新的应用程序

[英]Intellij IDEA 14 - Running unupdated app

I've been using IntelliJ IDEA for several month already and today I faced the problem: IDEA was running the previous version of my project. 我已经使用IntelliJ IDEA几个月了,今天我遇到了问题:IDEA正在运行我项目的先前版本。

I've made some changes (added TextView) in my layout file and checked everything. 我在布局文件中做了一些更改(添加了TextView)并检查了所有内容。 Then I've run the project on emulator (Genymotion) and it was screen without TextView. 然后我在模拟器(Genymotion)上运行项目,它是没有TextView的屏幕。 I've checked every line one more time to make sure the error was not there. 我已经多次检查每一行,以确保错误不存在。 Then I've connected my phone throw USB and run the project on the phone: the same. 然后我连接我的手机扔USB并在手机上运行项目:相同。 Then I've generatend APK file and placed it to the phone. 然后我生成了APK文件并将其放入手机中。 !!After running the TextView was there!!. !!运行后,TextView就在那里!!

I've decided to rebuild the project and IDEA said: Compilation completed with 0 errors and 0 warnings in 0 sec 我决定重建项目,IDEA说: 编译在0秒内完成0错误和0警告

So the questions: What is the reason? 那么问题:原因是什么? & How to make everything work? 以及如何使一切工作?

PS Reinstalling and cleaning cashes do not help. PS重新安装和清洁现金无济于事。 IntelliJ IDEA version: 14.0.3 IntelliJ IDEA版本:14.0.3

As @petey said I've changed the version but everything were the same. 正如@petey所说,我已经改变了版本,但一切都是一样的。 Then reload my computer and updated IDEA to 14.0.3. 然后重新加载我的计算机并将IDEA更新到14.0.3。 Now everything works perfectly. 现在一切都很完美。 I think it was just a bug 我认为这只是一个错误

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM