wsloth / Index

The Index is a simple Hacker News reader app which is focused on making you read less, by only showing you the top stories of the last 24 hours.
10 stars 9 forks source link

Fix flutter build & github actions build for existing app #22

Closed wsloth closed 1 year ago

wsloth commented 1 year ago

For some reason, when I run the latest version locally using flutter run on the iOS simulator, it works fine. But running flutter build apk fails without a clear reason.

I hope somebody with more knowledge than me could pick this up!

> flutter build apk

💪 Building with sound null safety 💪

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkReleaseAarMetadata'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
   > /Users/wsloth/.gradle/caches/transforms-3/077a98aa3bc24bcff6f6f40c1062628b/transformed/jetified-window-java-1.0.0-beta04/META-INF/com/android/build/gradle/aar-metadata.properties (No such file or directory)

* 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 5s
Running Gradle task 'assembleRelease'...                            7.0s
Gradle task assembleRelease failed with exit code 1
wsloth commented 1 year ago

Solved by https://github.com/wsloth/Index/pull/26