Android Studio 1.5 upgrade to 2.0 or 2.1 error

Source: Internet
Author: User

A week ago, things were finally down, nothing. Upgrade to the new version, there are 1.5 upgrades to 2.0.

After the upgrade is finished installing, the code that would have been able to run well in Android Studio 1.5, after the upgrade, through Clean->make->run,

The application actually collapsed and collapsed ... Crying Me out ... Good code unexpectedly upgraded version after the crash ...

Then look at the crash log and find this:



Probably the error is the Welcome interface XML layout 7th line error ...



Look at the specific, incredibly is in the Iamgeview ID, scared the baby, clean, made no error, incredibly still can not find the ID? You know, I believe it or not?

The previous 1.5 versions were good and there were no errors. Positive version of the problem ...

Then Baidu Ah, Google Ah ... It seems that everyone does not have this problem ... Finally, isn't there a website for Android studio? There's something wrong with Android studio,

It must be in my charge!

Then finally found a "similar" problem, although the problem of 108,000, but the intuition tells me that this new feature is caused!



Remove all the instant run inside the check box !!!

Clean-make-run ... Everything's fine.

Hey, toss the dead man! This is the reason, record, remind the later!


"Similar" error found on Android Studio:http://ask.android-studio.org/?/question/1066,



Although I have not met for the moment, but still record it.


Collect the team and continue to optimize the code.


Android Studio 1.5 upgrade to 2.0 or 2.1 error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.