Problem signing aap
See original GitHub issueI get an error in my github actions:
Preparing to sign key @ android/app/build/outputs/bundle/release with signing key
/usr/bin/jarsigner -keystore android/app/build/outputs/bundle/release/signingKey.jks -storepass *** -keypass *** android/app/build/outputs/bundle/release/app-release.aab ***
jarsigner: unable to sign jar: java.util.zip.ZipException: invalid entry compressed size (expected 54105 but got 55476 bytes)
I found this answer:
But it does not make any sense to me. How can it be already signed?
I found related issue: #31
however, it does not say how to solve the issue (at least I did not understand the solution)
My configuration file:
on: workflow_dispatch
name: Release to Google Play Store
jobs:
beta-distribution:
runs-on: ubuntu-latest
name: Beta Distribution
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@master
- uses: c-hive/gha-yarn-cache@v1
- name: Install node modules
run: |
yarn install
- name: Cache Gradle Wrapper
uses: actions/cache@v2
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- name: Cache Gradle Dependencies
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-caches-
- name: Make Gradlew Executable
run: cd android && chmod +x ./gradlew
- name: Build Android App Bundle
run: |
cd android && ./gradlew bundleRelease --no-daemon
- name: Sign App Bundle
id: sign_app
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: android/app/build/outputs/bundle/release
signingKeyBase64: ${{ secrets.ANDROID_SIGNING_KEY }}
alias: ${{ secrets.ANDROID_SIGNING_ALIAS }}
keyStorePassword: ${{ secrets.ANDROID_SIGNING_STORE_PASSWORD }}
keyPassword: ${{ secrets.ANDROID_SIGNING_KEY_PASSWORD }}
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: Signed App Bundle
path: ${{steps.sign_app.outputs.signedReleaseFile}}
- name: Deploy to Play Store (BETA)
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.ANDROID_SERVICE_ACCOUNT }}
packageName: com.wmsappbare
releaseFile: a${{steps.sign_app.outputs.signedReleaseFile}}
track: beta
inAppUpdatePriority: 3
userFraction: 0.5
whatsNewDirectory: android/release-notes/
# mappingFile: android/app/build/outputs/mapping/release/mapping.txt
@r0adkll might you give me some leads how to debug this issue?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
I am unable to login to my AAP account/Subscription
I am unable to login to my AAP account/Subscription ... The primary email address on your account will be used as the username...
Read more >Fix an installed Android app that isn't working - Google Support
Try the following steps if an app installed on your phone has any of these problems: Crashing. Won't open. Won't respond. Isn't working...
Read more >Why? There was a problem signing in to your ... - YouTube
When i open youtube app in Android mobile, it says There was a problem signing in to your account. Also, i cannot able...
Read more >Application Signing | Android Open Source Project
Application signing allows developers to identify the author of the application ... To address these issues, Android 7.0 introduced APK Signature Scheme v2....
Read more >Resolve app installation errors in Google Play Store
If clearing the cache and data doesn't resolve the issue, remove your Google account, restart your device, and then add your Google account...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I ran in to this issue, the fix was to remove the
signingConfig signingConfigs.debug
line from withinbuildTypes
->release
in build.gradle@ArshanKhanifar posted a stackoverflow question here: https://stackoverflow.com/questions/67604963/unable-to-sign-jar-invalid-entry-compressed-size