-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unoptimized APK #25166
Comments
We have the same problem. |
Yes, We are on the same boat 🔢 |
Google Play is generating and optimizing APKs from your Android App Bundle. This may take a few minutes, depending on the size of your app bundle. did you try to upload .aab file!? |
how create .aab react natice v. expo |
gradlew bundleRelease |
I m also facing same issue.. I have upgraded RN 0.55.4 => 0.59.9 I have also set def enableSeparateBuildPerCPUArchitecture = true def enableProguardInReleaseBuilds = true
Here are some snips of my configurations of my project. Any help would be greatly appreciated. |
I am experiencing the same issue, I am using After expo build:android I got a apk of 19MB, But unable to review and publish in google playstore. |
Hello there 👋 this issue doesn't have a repro (which means, a Can anyone look a bit deeper in what causes this error? Maybe in the google play store development portal there may be a doc explaining it? Because of this, we are going to close this issue - but if a repro is shared, we are happy to reopen it 🤗 |
I found one solution. |
@ReactAndrey Could you share the solution to this? |
@ReactAndrey Please let us know so we can proceed further.
|
|
You should just build and upload aab (Android App Bundle) file instead of apk .
aab file will be placed in"/android/app/build/outputs/bundle/release/" |
As a follow up to @eai301 and @NazarK (thank you BTW), you MUST opt-in to the Google Managed App Signing, or else it will not accept your .aab file. I had opted-out and couldn't find a way to change my mind, had to delete the app from my dashboard and start over, which was fine since I was just starting. This whole thing started because my .apk was 'too large' (have a lot of images). Ironically, my .aab file was exactly 30 bytes smaller
|
I just created the .aab file using below command You will find you the .aab file inside android/app/build/outputs/bundle/release |
I want to reduce my APK Size
So how can I solve it, I'm Google it but the issue is still! I think the issue with this file but I don't know how to configure that! proguard-rules.pro
|
Hi sorry for late reply. I am busy for some projects. |
@hosseintoussi problem solved? |
@ReactDevs007 I have the same problem, what should I do? |
React Native version: 0.57.1
Steps To Reproduce
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.
The text was updated successfully, but these errors were encountered: