Skip to content

16KB Page Size Unsupported #1986

@MaxDeh2203

Description

@MaxDeh2203

When building an APK with V3.0.7, I still encounter issues with 16KB page size alignment.

I created an empty project with Unity Version 6000.0.71f1 and let Unity build for Android. The resulting build encounters no errors:

Image

Afterwards, I added the Mapbox package to the project as detailed in the installation description.

First, the build does not succeed due to Gradle issues:

`
What went wrong:

Execution failed for task ":launcher:mergeDebugNativeLibs".

A failure occurred while executing com.android.build.gradle.internal.tasks.MergeNativeLibsTask$MergeNativeLibsTaskWorkAction

2 files found with path "lib/arm64-v8a/libc++_shared.so" from inputs:

  - PROJECTPATH/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/arm64-v8a/libc++_shared.so

  - GRADLEPATH/.gradle/caches/8.13/transforms/2e6a333e48c2db01e073a24617af2b10/transformed/jetified-common-ndk27-24.10.0/jni/arm64-v8a/libc++_shared.so

 If you are using jniLibs and CMake IMPORTED targets, see

 https://developer.android.com/r/tools/jniLibs-vs-imported-targets

`

If I tell Gradle to pick the first version it gets via the "packaging" attribute in the gradle launcher template, the build succeeds, but the resulting APK is not 16KB aligned:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions