OsArts / stack

Using or seeking for stack techologies.
0 stars 1 forks source link

Cordova unstable paths #72

Open vovs03 opened 5 years ago

vovs03 commented 5 years ago

Why after reboot settings isn't accepting?

➜ nunnu npm i npm WARN com.osarts.nunnu@1.0.0 No repository field.

audited 91 packages in 1.729s found 0 vulnerabilities

nunnu cordova requirements Android Studio project detected

Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: not installed 
Failed to find 'ANDROID_HOME' environment variable. Try setting it manually.
Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory.
Android target: not installed 
android: Command failed with exit code ENOENT
Gradle: not installed 
Could not find gradle wrapper within Android SDK. Could not find Android SDK directory.
Might need to install Android SDK or set up 'ANDROID_HOME' env variable.
Some of requirements check failed

nunnu cordova prepare android Android Studio project detected ➜ nunnu cordova build android --debug Android Studio project detected Failed to find 'ANDROID_HOME' environment variable. Try setting it manually. Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory.

Solved for once run (seance)

:green_heart:

export ANDROID_HOME=/home/keyjoo/Android/Sdk export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools

➜ nunnu cordova build android --debug

Android Studio project detected
ANDROID_HOME=/home/keyjoo/Android/Sdk
JAVA_HOME=/usr/lib/jvm/java-8-oracle
studio
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
:wrapper

BUILD SUCCESSFUL