I can't build appbundle with error "Execution failed for task ':app:signReleaseBundle'." - android

The error below occurs when I try "flutter build appbundle".
What went wrong:
Execution failed for task ':app:signReleaseBundle'.
A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable
java.lang.NullPointerException (no error message)
I made this project with flutter,
so I made the release key in android studio menu build -> "generate signed bundle(apk)" (to use it, i had opened android module in android studio)
and the below is my code.
app build.gradle
key.properties
my project tree
you can see myreleasekey.jks in android\app,
and key.properties in android.
so I don't know what is the cause ...
thank you.

Related

Generate and upload key to sign flutter app on Intellij?

I'm using Intellij IDE to work on a flutter app.
I need to sign my app.
Everyone give example on how to do so on Android Studio.
How to do it without IDE ? On Intellij IDE ?
Context:
flutter build appbundle --debug-> success Built build/app/outputs/bundle/debug/app-debug.aab.
flutter build appbundle -> crash
* What went wrong:
Execution failed for task ':app:signReleaseBundle'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable
> kotlin.KotlinNullPointerException (no error message)

Task 'assembleDevKernelDebug' not found in project ':app' - Android build using AppCenter

I have recently ejected my expo app using expo eject.
I have now tried to build using AppCenter, it gets about 4 minutes in and then fails with the following error message.
FAILURE: Build failed with an exception.
What went wrong: Task 'assembleDevKernelDebug' not found in project ':app'.
Can anyone point me in the right direction of how to fix this?
My android folder looks like this
My build.gradle looks like this

Jenkins build failed with crashlytics

Trying to build android in Jenkins with crashlytics but every-time the error message is coming in log as
"FAILURE: Build failed with an exception.
Where:
Build file
What went wrong:
A problem occurred evaluating project ':app'.
Failed to apply plugin [id 'io.fabric']
Could not create plugin of type 'CrashlyticsPlugin'.
Could not initialize class com.crashlytics.tools.gradle.CrashlyticsPlugin"
Please help, tried this way also "Android Jenkins build fails with crashlytics"
It did not work.
You have to install Crashlytics jar manuel into Jenkins. From here.
I guess the plug-in is facing some problems when downloading this file from Amazon.
You can check here.

Android Studio 3.0 Beta 2 generate Release build Execution failed for task ':app:processReleaseResource'

I won't able to generate release build in android studio 3.0 Beta 2,
Execution failed with below error
Error:Execution failed for task ':app:processReleaseResources'.
java.io.IOException: Internal error: Symbol file with package cannot be empty.
Issue is resolved in Android studio beta-4
Just update your android studio and related build script.

Gradle error: Execution failed for task ':crashlyticsGenerateSymbolsArmRelease'. > Crashlytics Developer Tools error

I had setup crashlytics to get ndk crashes for my Android app. Crashes are getting recorded in crashlytics but I am not getting the line numbers.
Went through: https://support.crashlytics.com/knowledgebase/articles/605190-missing-line-numbers-in-native-crashes
I am getting the following error on running below command:
./gradlew crashlyticsUploadSymbolsArmRelease
What went wrong:
Execution failed for task ':crashlyticsGenerateSymbolsArmRelease'.
Crashlytics Developer Tools error.
I have tried various solutions but nothing is helping.
In case you are still looking: I had the same problem and found the correct command in the Gradle view:
app->Tasks->other->crashlyticsUploadSymbolsMYAPPVARIANTNAME
You can search the gradle tasks in the gradle window as well by just starting to type:

Categories

Resources