Some time ago, there was a project that needed to package an aab package and upload it to the Google platform. After the aab package was packaged and installed on the device, I found that the screen went black when I opened the app.
Solution:
step 1
Find AndroidManifest.xml in the project
Add android:extractNativeLibs="true" to the application tag
android:extractNativeLibs="true"
Step 2
Find the gradle.properties file in the project
Add android.bundle.enableUncompressedNativeLibs=false
android.bundle.enableUncompressedNativeLibs=false
Follow the steps and repack to solve this problem!
This article refers to the article of this boss:Installation package aab format conversion apk opens the APP blank
Click to jump to the original blogger's article Watch! ! !
How to deploy and install the aab package to Android devices, please read my article:[Android] Test the aab package on a real machine and deploy and install the aab package to Android devices a>
The above is all the content of this article. This is a personal study record. If there is any mistake in the writing, please point it out. Thank you. I hope it will be helpful to all readers!