'Unable to locate sdkmanager.bat. Did you run Android Studio and install cmdline-tools after installing?
i was trying to make use of unreal engine 4 template for AR but i got this error. This step kinda connect android studio with unreal but i just don't work.
Solution 1:[1]
Ran into the same issue and fixed it by editing the SetupAndroid.bat file.
Not sure why it doesnt set the location of the SDKManager after it fails the first one. But manually replacing the first location works.
Solution 2:[2]
if you encountered this issue when running "SetupAndroid.bat", the reason might be simple. If you check the "SetupAndroid.bat"(right click, edit. Or turn it into a txt), the default sdkmanager path might be different from the actual location.
You might need to search "sdkmanager" from the Android Studio SDK root folder manually(it suppose to display on the cmd interface), find the actual directory and correct the "SetupAndroid.bat", then try it again.
Solution 3:[3]
the same here, i tried to search "sdkmanager" at both of my Drive and couldn't find any. couldn't find any cmdline-tools drive as well.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | user18734439 |
Solution 2 | Septim |
Solution 3 | wandy |