@proiertti wrote:
I run ionic cordova run android but I obtain the following error:
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. [ERROR] An error occurred while running cordova run android (exit code 1).
Now It could be clear, but I installed Android Studio and my android sdk is placed under
C:\Users\Utente\AppData\Local\Android\Sdk
I set my ANDROID_HOME environment variable and I added I added also on my PATH variable.
C:\Users\Utente\AppData\Local\Android\Sdk\tools
C:\Users\Utente\AppData\Local\Android\Sdk\platform-toolsI don’t understand why I continue to obtain the error above. If I type android or if I type echo %ANDROID_HOME% from cmd, all seems correct!
Please, anyone have a solution?
Posts: 1
Participants: 1