Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I'm using MacOS 11.5.1 and Android Studio Artic Fox 2020.3.1.

It finds an update.

enter image description here

But when I try to update it shows Error Resolving Packages

Package "Android Emulator" with revision at least 30.8.2 not available.

enter image description here

like image 346
Stefano Sansone Avatar asked Aug 13 '21 12:08

Stefano Sansone


People also ask

How do you enable a microphone input in the Android Emulator?

hi try by enabling the audio recording support while creating the virtual device in emulator... While creating device go to hardware part and select new button. A dialog will appear in which select the property combo and select "Audio Recording Support" and give k and apply... Hope it helps...

How can I change my Android Emulator version?

Launch the emulator, tap "..." on the right-hand side panel, click Help > About. Go to Android Studio > Preferences, search for "Android SDK", click "SDK Tools", and then scroll to Android Emulator. On Mac, go to Terminal and run ~/Library/Android/sdk/emulator/emulator -version.

How do I update my emulator version?

Open the Preferences window by clicking File > Settings (on Mac, Android Studio > Preferences). In the left panel, click Appearance & Behavior > System Settings > Updates. Be sure that Automatically check for updates is checked, then select a channel from the drop-down list (see figure 1). Click Apply or OK.

What version of Android emulator is not available?

Package "Android Emulator" with revision at least 30.8.2 not available. You have to use the Android Studio Canary build to get an updated emulator. Package "Android Emulator" with revision at least 28.1.9 not available

How to fix Android emulator not working?

I pressed Tools > SDK Manager, then Updates label and changed channel. Also pressed Check Now button and dismissed a dialog ( Remind Me Later ). Then switch to Android SDK and updated needed emulators. Then reverted back to Stable Channel. After several days of work I faced some visual bugs in the emulator.

What's new in the Android emulator for Linux?

The Linux version of the Android Emulator is now built using a modern Clang C++ toolchain. This change fixes the issue of the emulator failing to start due to libGL and libstdc++ errors. Fixed several causes of crashes and hangs.

What's new in the latest emulator update?

This update includes several new features, improvements to existing features, and bug fixes. The emulator now uses less RAM overall, especially when using system images with API level 28 or higher. These system images include improved memory usage for guest-side graphics drivers.


1 Answers

You have to use the Android Studio Canary build to get an updated emulator. Package "Android Emulator" with revision at least 28.1.9 not available

This got our emulators started from command line

#update sdkmanager from canary
yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses
$ANDROID_HOME/tools/bin/sdkmanager --update --channel=3

Had to accept the licenses: Automatically accept all SDK licences

sdkmanager --list [options]
[--channel=channel_id] // Channels: 0 (stable), 1 (beta), 2 (dev), or 3 (canary)

I'm sure it's only a matter of time before the fix in canary is brought to stable, until then Good luck.

--Update--

This seems to now be resolved with the latest update. android emulator 30.8.4

Going back to stable build.

Noticing some directory changes to the avd files, '.avd' was added to the avd file name .android/avd/emulatorName.avd

like image 152
Adam Schultz Avatar answered Nov 10 '22 16:11

Adam Schultz