You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 9, 2023. It is now read-only.
I getting the following error while running the npm run android:dev script with the default repository version:
> cordova run android
Running command: /media/romulo/16267BFB267BD9E7/Workspace/ionicboilerplate2/ionic-boilerplate/hooks/after_prepare/020_remove_sass_from_platforms.js /media/romulo/16267BFB267BD9E7/Workspace/ionicboilerplate2/ionic-boilerplate
ANDROID_HOME=/usr/lib/android-sdk
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
:wrapper
BUILD SUCCESSFUL
in 5s
1 actionable task: 1 executed
Subproject Path: CordovaLib
[21:49:41] lint finished in 9.95 s
null
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_ao2c3spu577l8timdplm70egs.run(/media/romulo/16267BFB267BD9E7/Workspace/ionicboilerplate2/ionic-boilerplate/platforms/android/build.gradle:142)
org.xwalk:xwalk_core_library:22+
Configuration 'compile' in project ':' is deprecated. Use 'implementation' instead.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com/r/tools/flavorDimensions-missing-error-message.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 4s
Error: /media/romulo/16267BFB267BD9E7/Workspace/ionicboilerplate2/ionic-boilerplate/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com/r/tools/flavorDimensions-missing-error-message.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 4s
[ERROR] An error occurred while running cordova run android (exit code 1).
I ran a fresh generated Ionic project and didn't get an error with Gradle or Android Studio, so this could be related to this project.
Does anyone know what could this be?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
rombernardino
changed the title
Can't run o Android with
Can't run on Android with npm run android:dev
Apr 24, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello!
I getting the following error while running the
npm run android:dev
script with the default repository version:I ran a fresh generated Ionic project and didn't get an error with Gradle or Android Studio, so this could be related to this project.
Does anyone know what could this be?
Thanks in advance!
The text was updated successfully, but these errors were encountered: