Android Emulator - "Encryption unsuccessful"

Viewed 28694

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

5 Answers

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

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

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!

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

Related