hey24sheep / azure-flutter-tasks

Easily build and deploy with latest Flutter build tasks for Azure DevOps Pipelines Tasks
https://marketplace.visualstudio.com/items?itemName=Hey24sheep.flutter
MIT License
89 stars 22 forks source link

Flutter build aab missing key properties parameters #112

Closed Gufdoor closed 9 months ago

Gufdoor commented 9 months ago

Hi mates!

I'm having an issue while trying to build an aab since apparently I can't specify the key.properties file or 'tis attributes and ends crashing. Is there any way to solve this?

2024-02-07T17:16:27.6535332Z FAILURE: Build failed with an exception.
2024-02-07T17:16:27.6537761Z 
2024-02-07T17:16:27.6540703Z * What went wrong:
2024-02-07T17:16:27.6543864Z Execution failed for task ':app:signProductionReleaseBundle'.
2024-02-07T17:16:27.6545787Z > A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable
2024-02-07T17:16:27.6548390Z    > java.lang.NullPointerException (no error message)
vlad-buhaescu-qoob commented 9 months ago

Hi, you are missing the jks and the properties file app/android, depending on your CI CD setup they need to be added, integrated and downloaded in the pipeline file

hey24sheep commented 9 months ago

key.properties is the issue here, you can refer to this article

Gufdoor commented 9 months ago

Thanks for the answers!

I managed to complete this process, just had to move the requested files to build aab to the right directories inside Azure stack.

I'll close this issue.