Android Studio Error 2022 – Android Studio. Building signed APK. Get Key Failed
Error Question : Android Studio. Building signed APK. Get Key Failed
I’ve been building release versions of my app for months, and now all of a sudden I get this error.
Failed to read key ******** from store ***** Get Key Failed. Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
This is beyond frustrating.
What I’ve done so far
- Read every post on this error and tried every solution
- Verified my passwords are correct
- Checked and unchecked “save passwords”
- Verified my keystore location is correct
If you get error like
block not properly padded,
bad key or
PKCS12 when signing the App Bundle or APK, try using the same password for the key and the keystore file, it works for me.
Recently, Android Studio started to show a message: “Warning: Different store and key passwords not supported for PKCS12 KeyStores. Ignoring user-specified -keypass value. in Android Studio” – so, first of all, store and key passwords should be the same, like other people said.
Besides, after getting this error even using the same password, I realized that we can’t use characters like @ or $ on the passwords.
- Wallpaper Android App- CLICK HERE
- All IN ONE Status Saver App – CLICK HERE
- Photo Video Maker Android App – CLICK HERE
- Video Downloader Android App – CLICK HERE
- College Student Portal System App – CLICK HERE
- Call Recorder Android App – CLICK HERE
- PDF App with firebase – CLICK HERE
- BarChart Graph App – CLICK HERE
- PDF Reader App with firebase – CLICK HERE
- ShareIt Clone App – CLICK HERE
- Material Design SignUp Form – CLICK HERE
- Ludo Game App – CLICK HERE
- Text on Photo Android App – CLICK HERE
- 3D Text Maker App – CLICK HERE
- Convert website to Android app
- WhatsApp Status Saver & Cleaner App
- Create Wallpaper app with android studio
- Create VPN Android App
- create Education Book app
- Stylish text Fonts App
- create Video Saver app
- QR Scanner & Bar Code Scanner app
- MTech eBook Android App
- Create PDF Scanner, OCR app
- Workout – Men and Women Fitness app
- How to Create Cam Scanner app
Android Game App
- Block Puzzle Game Android App
- Jungle Shot | zumbla delux game App
- How to Create Snake game app
- Maze Goal Best Entertaining Game
- Create Ludo Game app
- Knife fruit cutting Game app
- Bubble Shooter android Game app
- Blocks Match 3 game app
- Number sliding Puzzle game app
If you found this post useful, don’t forget to share this with your friends, and if you have any query feel free to comment it in the comment section.
Thank you 🙂 Keep Learning !