flutter报错: library “libflutter.so“ not found

修改android/app/build.gradle

defaultConfig {
   
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
   
applicationId "cn.rentsoft.flutter.openim.consumer"
    // You can update the following values to match your application needs.
    // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
    minSdkVersion 21
    targetSdkVersion 30
    versionCode flutterVersionCode.toInteger()
    versionName flutterVersionName

    multiDexEnabled true

    ndk {
       
abiFilters "x86_64"// "arm64-v8a"//, "armeabi-v7a", "armeabi", "x86", "x86_64", "mips", "mips64"
    }

你可能感兴趣的:(flutter)