Cristiana Dumitru
Cristiana Dumitru

Reputation: 415

Android Emulator - "Encryption unsuccessful"

Almost every time I try to open the emulator is giving me this error after a long loading pause.

I have tried to fix it by reinstalling the SDK, but no luck.

Note: I must say that I am new to Android.

enter image description here

Upvotes: 39

Views: 31816

Answers (5)

luchin
luchin

Reputation: 52

In recent Android Studio versions, you can achieve the same results with this

AVD Manager -> Select device -> Cooled Boot Now

or this

AVD Manager -> Select device -> Edit -> Advanced -> Boot option: Cool Boot

Upvotes: 0

Richard Ogujawa
Richard Ogujawa

Reputation: 81

I'm sure you've already figured it out at this point, but one thing that helped me was simply right-clicking it in the Android Device Manager, and then clicking on 'Start with Factory Default.'

enter image description here

it's grayed out in mine because I've already done it Hope this helps!

Upvotes: 1

kayleeFrye_onDeck
kayleeFrye_onDeck

Reputation: 6958

My problem was two-fold. It turned out that I only needed to apply one set of fixes to address both of them!

Laptop had the OP's error, with the added "Gboard stopped" message superimposed on top of it

Dev-rig's Android Emulator was just a black screen that never changed!

How to fix

  1. Go to Tools -> Android -> Android SDK Manager
  2. Run all the pre-selected updates
  3. Go to the Tools tab
  4. Expand "Android SDK Tools" and select the latest available, or v26.x.
  5. Expand "Android SDK Build Tools" and make sure you have the ability to actually build whatever you just selected in #4
  6. Run those updates
  7. ... and Bob's your uncle!

enter image description here

Upvotes: 2

emert117
emert117

Reputation: 1488

Android Device Manager > Stop your device and right click > Factory Reset

Upvotes: 11

maresmar
maresmar

Reputation: 1460

Wiping data in Android Virtual Device Manager helped me in my case.

Tools -> Android -> AVD Manager -> Actions (triangle down) -> Wipe Data

Android Virtual Device Manager

There is also Advanced settings in virtual device's configuration (the pencil) where is a configuration of SD card and internal storage, but I didn't have to change it.

Upvotes: 47

Related Questions