Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49260

Ionic cordova run android on windows

$
0
0

@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-tools

I 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

Read full topic


Viewing all articles
Browse latest Browse all 49260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>