Android SDK installed but not found
I am setting up environment for an Ionic project on Windows 10. I downloaded android studio and installed the SDK in
C:\Users\user\AppData\Local\Android\sdk
My system variable ANDROID_HOME=C:\Users\user\AppData\Local\Android\sdk
Done OK: ionic platform add android
But:
$ ionic run android
Running command: "C:\Program Files\nodejs\node.exe" C:\Users\KGE\SVN\trunk\sagaMobile\hooks\after_prepare\010_add_platform_class.js C:/Users/KGE/SVN/trunk/sagaMobile
add to body class: platform-android
Error: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.
I've been trying to find a solution for 2 days but nothing seems to work. If you have any ideas ...
EDIT: I am using Git bash for input. I have the same thing with CMD, even as an administrator.
EDIT 2: Solved by deleting and reinstalling the whole project
+3
source to share
No one has answered this question yet
Check out similar questions: