I have a major issue with Android development on Windows 7. I was working with some Nativescript app for about a month, until Android studio performed some routine update, few days ago. Since then, i'm unable to get the environment running: Every time i open the Emulator, adb.exe "stops working" after the phone loads. I tried following the steps recommended here: How to completely uninstall Android Studio from windows(v10)?
No success. I reinstalled Android studio and android SDK multiple times. I tried also different emulator images- same result.
I will mention, that my SDK was installed initially using choco, as instructed in the Nativescript docs:
choco install android-sdk -y
Now, every time i want to reinstall it, i need to add the --force flag.
Bottom line: How can i completely reset my system to the state before any Android development environment was installed, in order to rectify this situation? Following the steps in the above link didn't help. There's probably something interfering.
Any ideas? I cant develop anything...
Had the same issue recently, adb.exe just started and kept crashing after installation of some updates offered by Android Studio.
What helped was manual re-installation of platform-tools, back to version 28.
So steps:
1) https://dl.google.com/android/repository/platform-tools_r28.0.0-windows.zip - download previous version of platform tools;
2) navigate to %AppData%\..\Local\Android\Sdk\platform-tools;
3) replace all files inside this folder with files from zip archive of version 28 downloaded in step 1.
Other steps I've tried before: full re-installation of Android Studio, SDK, emulators and so on, but I believe the actual fix was reverting back to platform-tools version 28.
After that my emulators (API 28, Android 9.0) went back to life.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With