2017-12-22 5 views
-1

ionic cordova build androidIonic Projekt Buildfehler

bekam ich diesen Fehler

ERROR running one or more of the platforms: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable. You may not have the required environment or OS to run this project

ich die ANDROID_HOME Umgebungsvariable in den richtigen Pfad hatte.

Meine cordova Version 6.0.0

Meine Android-SDK-Tools Version 26.1.1

Dank

+0

Mögliche Duplikat [ionic2 : Fehler: Android SDK wurde nicht gefunden. Stellen Sie sicher, dass es installiert ist. Wenn es sich nicht am Standardspeicherort befindet, legen Sie die Umgebungsvariable ANDROID \ _HOME fest (https://stackoverflow.com/questions/45835539/ionic2-error-android-sdk-not-found-make-sure-that-it- ist-installiert-wenn-es-ist-n) – core114

Antwort

0

Sie benötigen ANDROID_HOME einstellen Umwelt

export ANDROID_HOME=$HOME/Android/Sdk //for linux