Closed linonetwo closed 8 months ago
I encounter this when upload aab to the google play store. The ci is https://github.com/tiddly-gittly/TidGi-Mobile/blob/master/.github/workflows/build-f-droid-apk.yml
- name: Build AAB run: | cd android # ./gradlew clean ./gradlew bundleRelease --no-daemon --warning-mode all - name: Sign AAB id: sign_app_aab uses: r0adkll/sign-android-release@v1 with: releaseDirectory: android/app/build/outputs/bundle/release signingKeyBase64: ${{ secrets.ANDROID_SIGNING_KEY }} alias: ${{ secrets.ANDROID_ALIAS }} keyStorePassword: ${{ secrets.ANDROID_KEY_STORE_PASSWORD }} keyPassword: ${{ secrets.ANDROID_KEY_PASSWORD }} env: BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOLS_VERSION }} - name: Build APK run: | cd android ./gradlew clean ./gradlew assembleRelease --no-daemon --warning-mode all ## sign generated apk - name: Sign APK id: sign_app_apk uses: r0adkll/sign-android-release@v1 with: releaseDirectory: android/app/build/outputs/apk/release signingKeyBase64: ${{ secrets.ANDROID_SIGNING_KEY }} alias: ${{ secrets.ANDROID_ALIAS }} keyStorePassword: ${{ secrets.ANDROID_KEY_STORE_PASSWORD }} keyPassword: ${{ secrets.ANDROID_KEY_PASSWORD }} env: BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOLS_VERSION }} - name: Show artifacts run: | ls android/app/build/outputs/apk/release/ ls android/app/build/outputs/bundle/release/ - name: Create Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: draft: true generate_release_notes: true files: | android/app/build/outputs/apk/release/app-release-signed.apk android/app/build/outputs/bundle/release/app-release.aab env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
same here, Could you solve this issue ?
@cmontoya-leantech solved, it is due to the default debug sign, remove it solves it.
https://github.com/tiddly-gittly/TidGi-Mobile/blob/1853f2fab99174799847c48e88f9905209d6b8e2/scripts/removeDebugSigningConfigs.mjs
https://github.com/tiddly-gittly/TidGi-Mobile/blob/1853f2fab99174799847c48e88f9905209d6b8e2/.github/workflows/build-aab.yml#L86-L111
I encounter this when upload aab to the google play store. The ci is https://github.com/tiddly-gittly/TidGi-Mobile/blob/master/.github/workflows/build-f-droid-apk.yml