question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React Native version: 0.57.1

Steps To Reproduce

  1. gradlew assembleRelease

Describe what you expected to happen: I had issue with android, they alert: my app is “Unoptimized APK” and not accept for my app although they still accept prev version my app.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:19

github_iconTop GitHub Comments

19reactions
ReactDevs007commented, Jul 6, 2019

I found one solution. Please reply me if someone interested in this.

15reactions
NazarKcommented, Jul 11, 2019

You should just build and upload aab (Android App Bundle) file instead of apk .

cd android
./gradlew bundleRelease
cd ..

aab file will be placed in"/android/app/build/outputs/bundle/release/"

Read more comments on GitHub >

github_iconTop Results From Across the Web

unoptimized apk error - OutSystems
"Can I download the source code of my app developed in outsystem and then import to Android Studio to optimize the app?" The...
Read more >
[Solved] Unoptimized APK How To fix this issue
Warning: This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android...
Read more >
Unoptimized APK warning - Mobile Developer Answers & Best ...
Unoptimized APK warning ... Hello,. I am getting the following warning message when publishing the APK file on google play console;. I was...
Read more >
Unoptimized APK Warning - Mobiroller Knowledge Base
After the recent changes made by Google, you will see an “Unoptimized APK” warning for apps made with MobiRoller in the Google Play...
Read more >
Android Export - "Unoptimized APK"? - Defold Forum
This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android App...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found