DeviceLens icon indicating copy to clipboard operation
DeviceLens copied to clipboard

ADB command not found on selected SDK?

Open SARTrack opened this issue 1 year ago • 2 comments

Using Delphi 12.

ADB command not found on selected SDK. When I then select the directory of the used SDK, which contains the file adb.exe , it does not accept this. As a result I cannot do anything at all.

What does it mean 'Selected SDK'... Selected where? What does it mean 'ADB command': I do assume it is the 'adb.exe' file?

Thanks, [email protected]

SARTrack avatar Aug 18 '24 05:08 SARTrack

When I then select the directory of the used SDK, which contains the file adb.exe

What is the exact name of the folder you selected? It should be the *root the of the Android SDK, i.e. the folder that contains the subfolders:

build-tools
cmdline-tools
platforms

etc

What does it mean 'ADB command': I do assume it is the 'adb.exe' file?

Yes, it means 'adb.exe', which is in the platform-tools folder, but Device Lens requires you select the SDK root folder.

DelphiWorlds avatar Aug 18 '24 10:08 DelphiWorlds

That worked, thanks. Please update the text in a next update, as it is totally unclear...

SARTrack avatar Aug 18 '24 17:08 SARTrack

the selector could verify that those subfolders exist and if not prompt the user to check for that when picking the folder

birbilis avatar Oct 18 '24 16:10 birbilis

the selector could verify that those subfolders exist and if not prompt the user to check for that when picking the folder

The code already checks for that

DelphiWorlds avatar Oct 18 '24 18:10 DelphiWorlds