Android Tutorial Libraries that do not support 16kb alignment?

Many have gotten the information about their Apps not aligned with the 16KB. Here is how to check which specific libraries are causing the issue

Note: You have to check for each app individually, on your PLAY CONSOLE DASHBOARD


1. Goto your plays console Dashboard,
2. Select your App,
3. Click TEST AND RELEASE
ONLY the apps that have the issue will have the information about Recompile your App.

4. Click READ MORE at the Right

1756455053490.png


Next a popup appear. Select VIEW BUNDLE
5. On the View Bundle Page, goto Memory page size and click SHOW DETAILS
6. The libraries that are affected will be listed as show below. This is showing sqlcipher

Libraries that do not support 16 KB:
base/lib/arm64-v8a/libsqlcipher.so
base/lib/x86_64/libsqlcipher.so



1756454606553.png
 

mcqueccu

Well-Known Member
Licensed User
Longtime User
So far: Libraries that do not support 16 KB:
1. SQlcipher
base/lib/arm64-v8a/libsqlcipher.so
base/lib/x86_64/libsqlcipher.so

2. AxLottie
base/lib/x86_64/libjlottie.so
base/lib/x86_64/libjlz4.so
base/lib/x86_64/librlottie-image-loader.so
base/lib/x86_64/librlottie.so
base/lib/x86_64/librlottie2gif.so

You can add your own in the thread for us to know which libraries to update and which libraries to boycott
 

Alex_197

Well-Known Member
Licensed User
Longtime User
I don't see Memory [age size line

As you can see my app requires to be recompiled to meet 16 KB requirements.
But if I click on View Bundles and scroll it down I don't see Memory Size line.

I'm uploading APK.
 

Attachments

  • screen16.png
    screen16.png
    116.1 KB · Views: 26
  • screen1.png
    screen1.png
    67.4 KB · Views: 27

mcqueccu

Well-Known Member
Licensed User
Longtime User
I don't see Memory [age size line

As you can see my app requires to be recompiled to meet 16 KB requirements.
But if I click on View Bundles and scroll it down I don't see Memory Size line.

I'm uploading APK.
Then I guess you should use the script to check the APK
 

Alex_197

Well-Known Member
Licensed User
Longtime User
In my apk


B4X:
KO: file arm64-v8a non conformi (almeno un PT_LOAD < 16384):
- C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodft2.so
 - C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodpdfium.so
 - C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodpng.so
 - C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libsqlcipher.so

libsqlcipher.so is a SQLCipher -@Erel says to remove it. But what to do with these lines?

B4X:
 - C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodft2.so
 - C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodpdfium.so
 - C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodpng.so

Thanks.
 

MarcoRome

Expert
Licensed User
Longtime User
In my apk


B4X:
KO: file arm64-v8a non conformi (almeno un PT_LOAD < 16384):
- C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodft2.so
 - C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodpdfium.so
 - C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodpng.so
 - C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libsqlcipher.so

libsqlcipher.so is a SQLCipher -@Erel says to remove it. But what to do with these lines?

B4X:
 - C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodft2.so
 - C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodpdfium.so
 - C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodpng.so

Thanks.

The Pdfium.androidx.aar file ( https://github.com/chiragthummar/PdfiumAndroid16KB/blob/master/aar/PdfiumAndroid-2.0.0-release.aar ) contains these libraries compatbile 16kb
1756546897048.png


1756546910037.png


Try replacing the same ones and see if it works.
 

MarcoRome

Expert
Licensed User
Longtime User
Thank you for your help. But replace it with what? Are there any alternative?
You wrote:

"....libsqlcipher.so is a SQLCipher -@Erel says to remove it. But what to do with these lines?

- C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodft2.so
- C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodpdfium.so
- C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodpng.so..."

So, in the Pdfium.androidx.aar file there are these files ( libmodft2.so, libmodpdfium.so, libmodpng.so ) compatible 16kb.
Open the aar file (7zip) and try to overwrite the old ones with these files (basically you have to replace them)
 

Alex_197

Well-Known Member
Licensed User
Longtime User
You wrote:

"....libsqlcipher.so is a SQLCipher -@Erel says to remove it. But what to do with these lines?

- C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodft2.so
- C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodpdfium.so
- C:\Users\alexv\AppData\Local\Temp\check16kb_1211071749\lib\arm64-v8a\libmodpng.so..."

So, in the Pdfium.androidx.aar file there are these files ( libmodft2.so, libmodpdfium.so, libmodpng.so ) compatible 16kb.
Open the aar file (7zip) and try to overwrite the old ones with these files (basically you have to replace them)

Thank you for your reply. Where can get the new so files?

From what I found so far - there is a new version of this aar https://www.b4x.com/android/forum/threads/pdfium-pdfview2.102756/post-1032315

Didn't try it yet.
 
Top