capacitor-plugins icon indicating copy to clipboard operation
capacitor-plugins copied to clipboard

bug: Recompile your app with 16 KB native library alignment

Open merbin2012 opened this issue 3 months ago • 1 comments

Plugin(s)

  • [ ] Accelerometer
  • [ ] Android Battery Optimization
  • [ ] Android Dark Mode Support
  • [ ] Android Edge-to-Edge Support
  • [ ] Android Foreground Service
  • [ ] App Review
  • [ ] App Shortcuts
  • [ ] App Update
  • [ ] Asset Manager
  • [ ] Audio Recorder
  • [ ] Background Task
  • [ ] Badge
  • [ ] Barometer
  • [ ] Bluetooth Low Energy
  • [ ] Cloudinary
  • [ ] Contacts
  • [ ] Datetime Picker
  • [ ] File Compressor
  • [ ] File Opener
  • [ ] File Picker
  • [ ] Live Update
  • [ ] Managed Configurations
  • [ ] NFC
  • [ ] Pedometer
  • [ ] Photo Editor
  • [ ] Posthog
  • [ ] Printer
  • [ ] Screen Orientation
  • [ ] Screenshot
  • [ ] Speech Recognition
  • [ ] Speech Synthesis
  • [ ] SQLite
  • [x] Torch
  • [ ] Zip

Version

7.0.2

Platform(s)

  • [x] Android
  • [ ] iOS
  • [ ] Web

Current behavior

`Recompile your app with 16 KB native library alignment Your app uses native libraries that are not aligned to support devices with 16 KB memory page sizes. These devices may not be able to install or start your app, or your app may start and then crash.

There are new app bundles in this release that do not support 16 KB.

Android 15 supports devices with 16 KB memory page sizes, which can improve your app's performance. We recommend recompiling your app when you migrate to Android 15, and testing your app in a 16 KB environment to avoid issues for users.`

After uninstall this plugin only this problem was solved.

Image

Expected behavior

This .so file should not created and it must support 16KB

Reproduction

https://github.com/capawesome-team/capacitor-plugins/tree/main/packages/torch

Steps to reproduce

Image

Other information

No response

Capacitor doctor

npx cap doctor Capacitor Doctor

Latest Dependencies:

@capacitor/cli: 7.4.3 @capacitor/core: 7.4.3 @capacitor/android: 7.4.3 @capacitor/ios: 7.4.3

Installed Dependencies:

@capacitor/ios: 7.4.3 @capacitor/cli: 7.4.3 @capacitor/android: 7.4.3 @capacitor/core: 7.4.3

[success] Android looking great! �

Before submitting

  • [x] I have read and followed the bug report guidelines.
  • [x] I have attached links to possibly related issues and discussions.
  • [x] I understand that incomplete issues (e.g. without reproduction) are closed.

merbin2012 avatar Sep 18 '25 14:09 merbin2012

We will fix this with the next major update since we need to publish a breaking change. For now, you can just bump the Android variable for camerax to 1.5.0, see https://capawesome.io/plugins/torch/#variables.

robingenz avatar Sep 18 '25 15:09 robingenz