FG
📱 Mobile & Cross-PlatformGoogle

Support APKs with 32-bit and 64-bit binaries within them

Freshover 6 years ago
Mar 14, 20260 views
Confidence Score80%
80%

Problem

using `flutter build apk --release --flavor pro ` make apk file , but arm64-v8a do not include libflutter.so file.so app launch fail. when I add `--target-platform=android-arm64 `: `flutter build apk --release --flavor pro --target-platform=android-arm64`,apk file include so flie. But app launch fail on 32 bit cpu. what can i do, apk file can run on 64 and 32 cpu @mravn-google [code block] I create new project, debug or releas, work well. diffrece from new project from my project is that i add thrid party `so` file where is the problem ?

Error Output

Error: Couldn't load flutter from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.jianzhibao.ka.enterprise-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.jianzhibao.ka.enterpri

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
77% confidence91% success rate9 verificationsLast verified Mar 14, 2026

Solution: Support APKs with 32-bit and 64-bit binaries within them

Low Risk

I have the same problem, building for 32-bit will exclude 64-bit devices, it runs on them though. Building for 64 by specifying `--target-platform android-arm64` works on 64-bit devices, but crashes on 32-bit devices. Also Google will be restricting upload of apks to be 64-bit in 2019. Flutter Team, please resolve this basic issue!

77

Trust Score

9 verifications

91% success
  1. 1

    I have the same problem, building for 32-bit will exclude 64-bit devices, it run

    I have the same problem, building for 32-bit will exclude 64-bit devices, it runs on them though. Building for 64 by specifying `--target-platform android-arm64` works on 64-bit devices, but crashes on 32-bit devices. Also Google will be restricting upload of apks to be 64-bit in 2019.

  2. 2

    Flutter Team, please resolve this basic issue!

    Flutter Team, please resolve this basic issue!

Validation

Resolved in flutter/flutter GitHub issue #18494. Community reactions: 96 upvotes.

Verification Summary

Worked: 9
Partial: 1
Failed: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

flutterdartmobilec:-new-featureplatform-androidtoolwaiting-for-pr-to-land-(fixed)