How to downgrade Android Emulator
Google support said I could download old Android Emulator versions as follows:
http://dl.google.com/android/repository/emulator-darwin-4266726.zip (for Mac)
http://dl.google.com/android/repository/emulator-windows-4266726.zip
http://dl.google.com/android/repository/emulator-linux-4266726.zip
Basically, just put the # (the one in major.minor.patch-#) along with darwin/windows/linux if you'd like to download any previous build.
To install on my Mac computer, I did as follows:
Download http://dl.google.com/android/repository/emulator-darwin-4266726.zip via Chrome into ~/Downloads
Backup the main emulator directory:
mv ~/Library/Android/sdk/emulator ~/Downloads/emulator-backup
Replace the main emulator directory:
mv ~/Downloads/emulator ~/Library/Android/sdk/
Restart Android Studio
After that, the Android Emulator version was downgraded to 26.1.4-4266726.
How to Download/Downgrade Android emulator manually
You can download 28.0.25 here:
- Windows: https://dl.google.com/android/repository/emulator-windows-5395263.zip
- Mac: https://dl.google.com/android/repository/emulator-darwin-5395263.zip
- Linux: https://dl.google.com/android/repository/emulator-linux-5395263.zip
Android AVD - The emulator process for AVD emulator_name has terminated
I made it work...
Apparently, the Android Emulator updated to the latest version was the problem. Apparently many conflicts with vulkan.dll and other emulation process stopped working with this new version (at least for me in my computer).
I downloaded an old version of the android emulator based on this answer and then it started working again...
Issue running Android Studio emulator: git set up launches and tries to downgrade
I see that error message in git-for-windows/build-extra
installer/install.iss
It pops up just after querying the Windows registry:
HKEY_LOCAL_MACHINE,
'Software\GitForWindows',
'CurrentVersion',
PreviousGitForWindowsVersion
And when the IsDowngrade(CurrentVersion:String):Boolean somehow return true because the current version from the registry is different from the current one.
Forcing the previous version to be empty would side-step this issue.
Android Emulator: Installation error: INSTALL_FAILED_VERSION_DOWNGRADE
It means you're trying to install an app with the same packageName as an app that's already installed on the emulator, but the one you're trying to install has a lower versionCode (integer value for your version number).
You might have installed from a separate copy of the code where the version number was higher than the copy you're working with right now. In either case, either:
uninstall the currently installed copy
or open up your phone's Settings > Application Manager to determine the version number for the installed app, and increment your
<manifest android:versionCode
to be higher in the AndroidManifest.or https://stackoverflow.com/a/13772620/632951
How to downgrade my SDK Version?
Anyway, for those who want to downgrade Android SDK Tools to a previous version, it can be possible following these steps:
- Find your Android SDK folder
- Locate the "tools" subfolder and rename it to "tools1" (just to keep a backup copy of the original tools folder)
- Likewise, rename platform-tools to platform-tools1
- Download from google repository the SDK Tool version you want to downgrade to (for instance: http://dl-ssl.google.com/android/repository/tools_r22.6.2-macosx.zip) and unpack it.
- The ZIP file you downloaded contains a tools folder that has to be moved to your Android SDK folder.
- Likewise, download the platform tools (for instance: http://dl-ssl.google.com/android/repository/platform-tools_r19.0.1-macosx.zip), and extract it in your SDK folder.
That's it.
Related Topics
How to Create a Resizable Rectangle with User Touch Events on Android
Location Needs to Be Enabled for Bluetooth Low Energy Scanning on Android 6.0
Restore Logcat Window Within Android Studio
Android Java Lang Runtimeexception Fail to Connect to Camera Service
How to Share Same Data Between Multiple Activities
Android Spanned, Spannedstring, Spannable, Spannablestring and Charsequence
What Is the Class R in Android
How to Print PDF Using Android 4.4 Printing Framework
Activenetworkinfo.Type Is Deprecated in API Level 28
How to Add Footer to Navigationview - Android Support Design Library
What Will Happen to the Sharedpreferences on Update an Android App
Error: Status{Statuscode=Developer_Error, Resolution=Null}
First Launch Take Long Time (Classloader Referenced Unknown Path)
How to Use Adb in Android Studio to View an SQLite Db
Android Studio, Suddenly Got Gpu Driver Issue When Running Emulator