简体   繁体   中英

flutter build apk --split-per-abi doesnt create three APK files

after running command in terminal, Gradle is completed unreasonably quick with a successful build result only for app-armeabi-v7a-release.apk, however, when checking the flutter-apk folder I see that only the files bellow were built and had their time stamp updated

app-debug.apk,

app.apk,

app.apk.sha1

but other files were not changed and still had an old time stamp (two weeks ago)

app-arm64-v8a-release.apk,

app-armeabi-v7a-release.apk,

app-x86_64-release.apk

• output message of flutter build apk --split-per-abi command
============================================================
Project_Path> flutter build apk --split-per-abi

Running Gradle task 'assembleRelease'...

Running Gradle task 'assembleRelease'... Done                      12.5s

√  Built build\app\outputs\flutter-apk\app-armeabi-v7a-release.apk (7.8MB).


• steps taken so far
=============================
run flutter doctor 
•• No issues found!

run flutter clean 
•• 
Deleting build...                                                  863ms

Deleting .dart_tool...                                               6ms

Deleting .packages...                                                0ms

Deleting Generated.xcconfig...                                       0ms

Deleting flutter_export_environment.sh...                            0ms

Deleting .flutter-plugins-dependencies...                            0ms

Deleting .flutter-plugins...                                         0ms

在此处输入图像描述 OUTPUT APK FILES

Try removing the contents of build/app/outputs/apk then retry the commands.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM