Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Package "Android Emulator" with revision at least 28.1.9 not available

I am trying to add Android Q using AVD manager but it says: "Package "Android Emulator" with revision at least 28.1.9 not available." Has anyone tried this before? what should I do now to resolve this.

enter image description here

like image 837
MnkDude Avatar asked Apr 03 '19 21:04

MnkDude


3 Answers

Thanks to @JulianC I also set the emulator. I tried to download it standalone from the official site, but couldn't. Then switched to Canary Channel. I pressed Tools > SDK Manager, then Updates label and changed channel. Also pressed Check Now button and dismissed a dialog (Remind Me Later).

enter image description here

Then switch to Android SDK and updated needed emulators.

enter image description here enter image description here

Then reverted back to Stable Channel.

After several days of work I faced some visual bugs in the emulator. Sometimes I have to restart virtual devices from AVD Manager with Cold Boot Now:

enter image description here

Sometimes I recreate virtual devices in AVD Manager.

like image 197
CoolMind Avatar answered Oct 18 '22 07:10

CoolMind


Based on https://developer.android.com/preview/release-notes:

Note: If you try to download the Android Q Beta 2 emulator system images from within the emulator, you will be prompted to download the latest version of the emulator. If you are on the stable channel of Android Studio releases, then you might need to switch to the canary channel to be able to download this latest version of the emulator. You do not need to download all of Android Studio from the canary channel—you can download only the emulator from the canary channel from within the SDK Manager.

You have to use the Android Studio Canary build to get an updated emulator. This worked for me

like image 34
Julian C Avatar answered Oct 18 '22 06:10

Julian C


As stated in the other answers, installing the update from the canary channel solves this problem. However, if you don't want to install Android Studio from canary channel, you can just use the sdkmanager tool. Just run this in the terminal:

sdkmanager --update --channel=3
like image 43
Miloš Černilovský Avatar answered Oct 18 '22 06:10

Miloš Černilovský