-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot build android with new f7-cli #101
Comments
Please read your log and take action before open an issue ... first one: you need both environment variable defined...
second
Please install JDK 1.8 and have the JAVA_HOME points to it. |
I have the same error, when run the command 'npm run build-prod-cordova-android --release, npm run build-prod-cordova-android, npm run build-prod-cordova-android - --release' , none of these commands worked for me it sends me error stacktrace. I can only compile the application when I use the command 'npm run build-dev-cordova-android' which is for development mode, but for release mode it gives me an error. any solution please? My Pc. |
Command line build designed DEV use only at this point. might be community might have any suggestions ... |
After i updated the cli, i got the following error . This not happen when using old version, my friends also has these problems.
How can we fix this?? Thank you so much.
hecking Java JDK and Android SDK versions ANDROID_SDK_ROOT=undefined (recommended setting) ANDROID_HOME=C:\Users\cyruschan\AppData\Local\Android\sdk (DEPRECATED) Requirements check failed for JDK 8 ('1.8.*')! Detected version: 11.0.8 Check your ANDROID_SDK_ROOT / JAVA_HOME / PATH environment variables. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] build-dev-cordova:
cross-env TARGET=cordova cross-env NODE_ENV=development node ./build/build.js && cd cordova && cordova buildnpm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] build-dev-cordova script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above
The text was updated successfully, but these errors were encountered: