While working with Android Studio 1.0.2 (on my Mac OS X 10.10 Operating system) I got the following error!
Unable to establish a connection to ADB.
If this happens, run 'adb devices -l' from the command line and see if it lists your devices. If ADB from the command line works, then please file a bug at http://b.android.com, including the output of the 'adb devices -l' command and your idea.log file (Help | Show Log in Files)
Solution :You need to kill the ADB process that is running, to do so,
1. Go to Spotlight search, open Activity Monitor,
2. Loop for ADB under CPU tag,
3. Now Select it and Force Quit the process.
⚡️ You can kill ADB process through Terminal command too, by simply typing Kill -9 adb
More Posts related to Android,
- Change Android Toast background color
- Maven : java.lang.ClassNotFoundException: Xmx512m
- This class should be public (android.support.v7.internal.widget.ActionBarView.HomeView) Lint Error
- Android Alert Dialog with Checkboxes example
- Android Error Generating Final Archive - Debug Certificate Expired
- How to add Newline to text in Android TextView
- Read Text file from SD Card : Android Programming
- [FIX] AndroidRuntime: FATAL EXCEPTION: main - java.lang.RuntimeException NullPointerException
- ActivityManager Warning: Activity not started, its current task has been brought to the front
- INSTALL_FAILED_INSUFFICIENT_STORAGE Android Error
- Android Developers Bluetooth Tutorial
- java.lang.ClassNotFoundException android.support.v7.widget.Toolbar [Fix]
- Android: Save Data in local Db using Android Room
- Channel 50 SMSes received every few minutes Android Phones
- 21 Useful Android Emulator Short-cut Keyboard Keys
- Changing Android Intent Tittle using java code
- Android : No Launcher activity found! Error
- How to change TextView or EditText Text Color on Focus and on Press
- How to display Toast on Button Click : Android
- Android : Execute some code after back button is pressed
- Stop android adb service from command prompt or terminal
- [Soluiton] You already have the latest version of Android Studio installed
- Create Custom Android AlertDialog
- Android R Cannot Be Resolved To A Variable
- How to make Android EditText not editable
More Posts:
- [Java] Bad return type in lambda expression: int cannot be converted to boolean - Java
- Device not compatible error Android Google Play Store - Android
- Android Wifi WPA2/WPA Connects and Disconnects issue - Android
- Error: Safari quit unexpectedly. Problem Report for Safari - MacOS
- Fix: Cannot contact reCAPTCHA. Check your connection and try again. - Google
- Installing JD Decompiler plugin in Eclipse IDE - Eclipse
- Disable Startup Sound on macOS - MacOS
- Notepad++ select all above or below lines - NotepadPlusPlus