Closed invalidtruck closed 7 months ago
HI David,
Your Android Studio installation cannot be found by the Extension.
If you have not installed Android Studio yet then please install it from here. If you have it installed it you may need to update it to the latest.
If it is installed but the extension still shows an error trying to run adb
(Android Debug Bridge which is installed with Android Studio) then you must have a custom place you installed Android Studio and need to specify where adb
is installed. You can do this by clicking Settings
> Advanced
and specifying the path to the adb
file.
I had the same issue. I didn't have a custom install of android studio but still this issue was present. Tested if I can run adb
in terminal, and the command was not recognized.
For my windows machine I fixed it by adding C:\Users\USER\AppData\Local\Android\Sdk\platform-tools
to environment path. This folder is where the adb
cli tool resides. Restarted VS code and voila it worked.
Thank you @dtarnawsky for the helpful comment.
On Windows, it extension should try to start %ANDROID_HOME%\platform-tools\adb.exe
or ANDROID_SDK_ROOT\platform-tools\adb.exe
.
Unfortunately it's environment variables are not expanded and you have to set full path in extension settings.
@piotr-cz Version 1.83 added a fix to find adb. This should now be working.
Hi, i have this problem
there's no debug!
after generate build for android , i lose debug option and each click on debug section this toast appear
i reinstalled the extension but this not fix the problem
sorry for my bad english