Skip to content

bug: Recompile your app with 16 KB native library alignment #613

@merbin2012

Description

@merbin2012

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
  • Torch
  • Zip

Version

7.0.2

Platform(s)

  • 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

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

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions