Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio - failed to start adb

I recently started learning android programming using android studio but every time I open the emulator and drag an apk to the emulator it says:

failed to start adb - Check settings to verify your chosen adb path is valid

as shown in the link below.

How can I fix this?

PS: Sorry for my English.

android failed to start adb image

like image 698
João Filipe Cachinho Avatar asked Dec 26 '16 23:12

João Filipe Cachinho


2 Answers

Step1 : Goto your Emulator settings Settings screenshot

Step2 : General -> "Use detected ADB location" option , disable this option and select folder path for adb.exe which is ideally (windows) is c:\users"loginuser"\AppData\Local\Android\sdk\platform-tools\

This option worked for me !!

like image 174
Gurpreet Singh Avatar answered Sep 19 '22 08:09

Gurpreet Singh


I got the same error, and for me, it occured because I was trying to install an APK built for ARMv7 on the emulator, which requires an x86 build. Does your build process create separate builds as well? If so, just check if you're installing the APK meant for the correct architecture!

like image 43
Ankit Wadhawan Avatar answered Sep 18 '22 08:09

Ankit Wadhawan