Updated my flutter to flutter 3.0.5 and I tried torun flutter build when I got the following error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':firebase_auth:compileReleaseJavaWithJavac'.
> Could not resolve all files for configuration ':firebase_auth:releaseCompileClasspath'.
> Failed to transform firebase-auth-21.0.6.aar (com.google.firebase:firebase-auth:21.0.6) to match attributes {artifactType=android-classes-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api}.
> zip END header not found
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 6m 5s
Running Gradle task 'assembleRelease'... 368.0s
Gradle task assembleRelease failed with exit code 1
Im exporting this gradle project im working on by using ./gradlew build but it gives me an error.
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
> Could not create service of type PluginResolutionStrategyInternal using BuildScopeServices.createPluginResolutionStrategy().
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
Does anyone know the problem here?
I am trying to follow directions on how to build the necessary jars on https://github.com/kaleido-io/kaleido-corda-samples/blob/master/README.md but I am met with the following messages:
C:\Windows\System32>d:
D:\>cd D:\gradle-6.7.1
D:\gradle-6.7.1>Gradle buildAll
FAILURE: Build failed with an exception.
* What went wrong:
Task 'buildAll' not found in root project 'gradle-6.7.1'.
* Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 791ms
"D:\gradle-6.7.1" is the directory of my Gradle folder.
If I understand correctly, I need to create a root project first but I don't know how to do that.
I'm new with ionic frameworks. i'm try to to build android with command sudo build --release android and get error as below
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:lintVitalRelease'.
> This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled. Set this property to true in the gradle.properties file and retry.
The following AndroidX dependencies are detected: androidx.appcompat:appcompat:1.0.0, androidx.versionedparcelable:versionedparcelable:1.0.0, androidx.fragment:fragment:1.0.0, androidx.slidingpanelayout:slidingpanelayout:1.0.0, androidx.core:core:1.0.0, androidx.customview:customview:1.0.0, androidx.swiperefreshlayout:swiperefreshlayout:1.0.0, androidx.interpolator:interpolator:1.0.0, androidx.loader:loader:1.0.0, androidx.drawerlayout:drawerlayout:1.0.0, androidx.viewpager:viewpager:1.0.0, androidx.collection:collection:1.0.0, androidx.localbroadcastmanager:localbroadcastmanager:1.0.0, androidx.lifecycle:lifecycle-common:2.0.0, androidx.arch.core:core-common:2.0.0, androidx.annotation:annotation:1.0.0, androidx.lifecycle:lifecycle-livedata:2.0.0, androidx.legacy:legacy-support-core-ui:1.0.0, androidx.lifecycle:lifecycle-viewmodel:2.0.0, androidx.lifecycle:lifecycle-livedata-core:2.0.0, androidx.arch.core:core-runtime:2.0.0, androidx.legacy:legacy-support-core-utils:1.0.0, androidx.documentfile:documentfile:1.0.0, androidx.vectordrawable:vectordrawable-animated:1.0.0, androidx.cursoradapter:cursoradapter:1.0.0, androidx.vectordrawable:vectordrawable:1.0.0, androidx.lifecycle:lifecycle-runtime:2.0.0, androidx.coordinatorlayout:coordinatorlayout:1.0.0, androidx.asynclayoutinflater:asynclayoutinflater:1.0.0, androidx.print:print:1.0.0
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 16s
Command failed with exit code 1: /Users/Muhamadkhairuldin/Google Drive/SifuApps/Apps/usahaone5/platforms/android/gradlew cdvBuildRelease -b /Users/Muhamadkhairuldin/Google Drive/SifuApps/Apps/usahaone5/platforms/android/build.gradle
[ERROR] An error occurred while running subprocess cordova.
cordova build android --release exited with exit code 1.
can anybody help me how to solve this?
I updated my Android Studio to 3.1 and then I changed the package name of my app from "jake.stackitupreimported" to "basic.games". Once that was completed, I clicked "gradle" to the right >>root>>tasks>>build>>assemble; then I got this failure notification below. Can anyone tell me how to fix this so I can assemble my app? Thanks!!!
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:lintVitalRelease'.
> Could not resolve all files for configuration ':app:lintClassPath'.
> Could not find com.android.tools.lint:lint-gradle:26.1.1.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.