I'm trying to build an apk
to upload to Firebase App Distribution.
When I run ./gradlew assembleRelease appDistributionUploadRelease
I get this error:
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':app:appDistributionUploadRelease'.
Missing app id. Please check that it was passed in and try again
The app ID is specified in [my project]/android/app/build.gradle
.
How can I fix this error?
edit: I found that I can just upload the apk
file manually to Firebase App Distribution
but the warning said that I would need to fix the problem before I could use Codemagic
.