FlutterTaoBaoKe / flutter_alibc

flutter版本的阿里百川插件
MIT License
125 stars 46 forks source link

Android 端编译时报了很多 so 文件格式问题? #39

Closed lolo2019qq closed 4 years ago

lolo2019qq commented 4 years ago

包含此插件时 flutter 项目编译、运行在安卓端时会出现下面的红字,最后 app 能跑起来,不过下面是什么意思呢?

/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/armeabi-v7a/libsgsgmiddletier.so: File format not recognized

/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/armeabi-v7a/libsgavmp.so: File format not recognized

/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/armeabi-v7a/libsgsecuritybody.so: File format not recognized

/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/armeabi-v7a/libsgmain.so: File format not recognized

/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/x86-4.9/prebuilt/darwin-x86_64/bin/i686-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/x86/libsgsgmiddletier.so: File format not recognized

/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/x86-4.9/prebuilt/darwin-x86_64/bin/i686-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/x86/libsgavmp.so: File format not recognized

/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/x86-4.9/prebuilt/darwin-x86_64/bin/i686-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/x86/libsgsecuritybody.so: File format not recognized

/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/x86-4.9/prebuilt/darwin-x86_64/bin/i686-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/x86/libsgmain.so: File format not recognized

/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/arm64-v8a/libsgsgmiddletier.so: File format not recognized

/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/arm64-v8a/libsgavmp.so: File format not recognized

/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/arm64-v8a/libsgsecuritybody.so: File format not recognized

/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/arm64-v8a/libsgmain.so: File format not recognized

✓ Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...
Syncing files to device ELE AL00...
flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.1 19B88, locale zh-Hans-CN)
    • Flutter version 1.12.13+hotfix.5 at /Users/yang_s_mb/Downloads/flutter
    • Framework revision 27321ebbad (3 weeks ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/yang_s_mb/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • ANDROID_HOME = /Users/yang_s_mb/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version openjdk version "1.8.0_202-release"
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version openjdk version "1.8.0_202-release"

[✓] VS Code (version 1.40.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.7.1
lolo2019qq commented 4 years ago

少了个配置