Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Android 16 KB page size support on 64-bit devices#56

Open
pletoss wants to merge 1 commit intoLofelt:mainfrom
pletoss:upgradle/agp7
Open

Android 16 KB page size support on 64-bit devices#56
pletoss wants to merge 1 commit intoLofelt:mainfrom
pletoss:upgradle/agp7

Conversation

@pletoss
Copy link
Copy Markdown

@pletoss pletoss commented Aug 12, 2025

Improvement

Starting November 1st, 2025, all new apps and updates to existing apps submitted to Google Play and targeting Android 15+ devices must support 16 KB page sizes on 64-bit devices.

Solution Description

TLDR: Upgrades to gradle7, agp7, compilesdk 34, NDK 29 in order to support 16 KB Page Sizes.

Long AI-Generated description:

This pull request updates the build configuration for the Android LofeltHaptics plugin to support newer versions of Gradle, Android SDK, and related dependencies. The changes modernize the build setup, improve compatibility, and update dependency management for both Gradle and the Rust plugin integration.

Build system and dependency updates:

  • Upgraded Gradle wrapper from version 6.7.1 to 7.6.4 in gradle-wrapper.properties, enabling use of newer Gradle features and improved compatibility.
  • Updated build.gradle to use com.android.tools.build:gradle version 7.4.2 and org.mozilla.rust-android-gradle:plugin version 0.9.6, and switched repository from explicit Maven URL to gradlePluginPortal().

Android SDK and NDK configuration:

  • Increased compileSdkVersion and targetSdkVersion from 31 to 34 in LofeltHaptics/build.gradle, aligning with recent Android platform requirements. [1] [2]
  • Updated NDK version from 21.3.6528147 to 29.0.13846066 for improved Rust plugin compatibility.

Gradle tasks and build process improvements:

  • Refactored Gradle task dependencies to more robustly link asset generation and packaging tasks to Rust build tasks, and added logic to ensure merge and bundle tasks depend on Rust build outputs.
  • Changed the clean task definition to use the modern tasks.register API instead of the deprecated task syntax.

Tasks

  • Updated/Added Unit tests
  • Updated/Added integration tests
  • Updated/Added documentation

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Impacted areas of Nice Vibrations

This enables using the library on android-16 on 64-bit devices after Google locks it down in november 2025.

@meta-cla meta-cla Bot added the cla signed label Aug 12, 2025
@pletoss pletoss changed the title 16 KB page size support on 64-bit devices Android 16 KB page size support on 64-bit devices Aug 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant