1
This error persists,searched the Instant run in several places in the Android Studio configuration.
Using the search inside File-> Settings I found only this: Java | Threading issues | Instantiating a Thread with default 'run()' method (disabled).
Of course it doesn’t seem to be the right place. But even the search can’t find the menu "Instant run".
Things I’ve done.
- I went to the emulator and changed the Internal Storage to 1800 MB. It also didn’t work.
- I tried to change the Boot option from Quick boot to Cold boot. I can’t run my app either.
- I’ve done "Invalid caches/Restart..."
- Clean Project
- I deleted C: Users Fabiano.android Avd Lollipop_5.0_API_21.Avd
- I deleted C: Users Fabiano.android Avd Lollipop_5.1_API_22.Avd
- Download new emulator Android 5.0 Lollipop
- Download new emulator Android 5.1.1 Lollipop
The emulator has little space warning in the status bar, that storage icon. No matter if I increase the Internal Storage it shows that it has little space! The SD card has 512 MB I left as is.
My app works well on all other emulators: 19,23,24,25,26,27,28,29; What’s wrong with Lollipop 22 and 21 ?
Detail, the notice says to uninstall the existent application, only that there is an existing application because I just downloaded the new emulator.
The device might have stale dexed jars that don't match the current version
(dexopt error).
In order to proceed, you will have to uninstall the existing application
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?
Dear Fabiano I just downloaded the Lollipop (we recommended the ADT) in x86, it worked normally... Which version of Lollip you downloaded: x86 without Google API, x86_64 without Google API, x86 cpm Google API, x86_64 with Google API? Or downloaded the Lollipop with ARM? Your ADT is updated?
– Guilherme Nascimento
Name: Lollipop_5.0_API_21 CPU/ABI: Google Apis Intel Atom (x86) Name: Lollipop_5.1_API_22 CPU/ABI: Google Apis Intel Atom (x86) image.androidVersion.api: 22 tag.id: google_apis.
– user65509
I have solved. I have set the emulator’s internal memory to 5000 MB. Now the program runs.
– user65509
It worked once or twice. Then I had to increase the internal memory. Already with 8000 MB and still insufficient space problem. Reinstalled with 1600 MB which is the double that comes in the installation, and even so of the space problem!
– user65509