Ich versuche, natives Projekt auf Ubuntu 16.04 zu reagieren.Das SDK-Verzeichnis existiert nicht (ubuntu 16.04) (reagiere nativ)
Der $ PATH ist gemäß der Dokumentation korrekt.
wenn ich echo $PATH
, wird wie folgt dargestellt:
/home/yash/bin:/home/yash/.local/bin:/usr/local/sbin:/usr/local/bin:/ usr/sbin:/usr/bin:/sbin:/bin:/usr/Spiele:/usr/local/Spiele:/snap/bin: /home/yash/.config/composer/vendor/bin:/home/yash /.config/composer/vendor/bin:/root/Android/Sdk/tools:/root/Android/Sdk/platform-tools
Der Fehler wird angezeigt, wenn react-native run-android
ausgeführt wird:
* What went wrong:
A problem occurred configuring project ':app'.
> The SDK directory '/root/Android/Sdk' does not exist.
Haben Sie ANDROID_HOME exportiert? –
@ArnoldGandarillasCastillo ja –