libflutter.so is not included in the "armeabi-v7a" folder when other "armeabi-v7a" libraries are included

libflutter.so is not included in the "armeabi-v7a" folder when other "armeabi-v7a" libraries are included.
Steps to Reproduce

Run flutter create -a java -i objc --androidx reprosteps.

Build the app in debug and look inside the APK (for example using 7-zip).
Notice that libflutter.so is included in "lib\armeabi-v7a", "lib\x86", "lib\x86_64"

Put a .so library in the folder android\app\src\main\jniLibs\armeabi-v7a

Build the app in debug mode and look inside the APK.
Notice that libflutter.so is now gone from the folder "lib\armeabi-v7a"

Flutter doctor
[√] Flutter (Channel stable, v1.17.0, on Microsoft Windows [Version 10.0.17763.1158], locale de-DE)
    • Flutter version 1.17.0 at D:\src\flutter
    • Framework revision e6b34c2b5c (12 days ago), 2020-05-02 11:39:18 -0700
    • Engine revision 540786dd51
    • Dart version 2.8.1

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at D:\src\Android\sdk
    • Platform android-R, build-tools 29.0.3
    • ANDROID_HOME = D:\src\Android\sdk
    • Java binary at: D:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[!] Android Studio (version 3.6)
    • Android Studio at D:\Program Files\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.45.0)
    • VS Code at C:\Users\sad1lo\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.10.1

[√] Proxy Configuration
    • HTTP_PROXY is set
    • NO_PROXY is localhost,*.bosch.com,<IP_ADDRESS>
    • NO_PROXY contains <IP_ADDRESS>
    • NO_PROXY contains localhost

[√] Connected device (1 available)
    • sdk gphone x86 64 arm64 • emulator-5554 • android-x64 • Android 10 (API 29) (emulator)

Hi @micsan13br
I'm not sure what should be the expected behaviour
for the procedure you are following,
could you please provide the source of such a procedure?
Thank you

Hi iapicca,
the expected behavior should be that the APK should contain "lib\armeabi-v7a\libflutter.so" whether other .so libraries are added to it or not.
If libflutter.so isn't included in the ABI required to run, the app crashes right away.
On top of that, the 3rd party .so library (which I want to use with flutter platform channels) is only available for armeabi-v7a.
I've tried both using splits and ndk.abiFilters.
With splits, flutter builds the APK but can't find it when running in debug (gradle changes the APK name automatically). This would probably be another bug and can be fixed with afterEvaluate but I digressed a bit from the original issue.
Anyways, both splits and ndk.abiFilters generate an APK that crashes.
The .so library works because I've been able to build a simple "armeabi-v7a"-only APK with Android Studio that works both on a device (Pixel 3) and emulator (Android 11 API 30, which includes support for ultra fast ARM emulation on x86 / x86_64).

Hi again,
I just wanted to point out that the issue does not happen in the release build but only with the debug build.
When I build the app in release, everything is working properly and libflutter.so / libapp.so are included in the APK using armeabi-v7a filters.
A key detail for the .so library to be found is also is to use the flags:
shrinkResources false
minifyEnabled false
otherwise you'll get an exception "JNI DETECTED ERROR IN APPLICATION".
Of course I'd love to be able to debug the app as well and use hot reload instead of building release APKs only.
This is my full app/build.gradle
`def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 29
// buildToolsVersion "29.0.3"
lintOptions {
    disable 'InvalidPackage'
}

defaultConfig {
    applicationId "com.example.ocedemo"
    minSdkVersion 21
    targetSdkVersion 29
    versionCode flutterVersionCode.toInteger()
    versionName flutterVersionName

    multiDexEnabled true
}

// splits {
//     abi {
//         enable true // enables the ABIs split mechanism
//         reset() // reset the list of ABIs to be included to an empty string
//         include 'armeabi-v7a', 'armeabi' // architectures: 'armeabi-v7a', 'arm64-v8a', 'armeabi', 'x86', 'x86_64'
//         universalApk false
//     }
// }

buildTypes {
    debug {
        shrinkResources false
        minifyEnabled false
        // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'

        // applicationVariants.all { variant ->
        //     variant.outputs.all {
        //         outputFileName = "app-${variant.getName()}.apk"
        //     }
        // }

        ndk {
            abiFilters 'armeabi-v7a' // architectures: 'armeabi-v7a', 'arm64-v8a', 'armeabi', 'x86', 'x86_64'
        }
    }
    release {
        shrinkResources false
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'

        // Signing with the debug keys for now, so `flutter run --release` works.
        signingConfig signingConfigs.debug

        ndk {
            abiFilters 'armeabi-v7a' // architectures: 'armeabi-v7a', 'arm64-v8a', 'armeabi', 'x86', 'x86_64'
        }
    }
}

sourceSets {
    main {
        jniLibs.srcDirs = ['src/main/jniLibs']
    }
}

}
flutter {
source '../..'
}
dependencies {
implementation fileTree(dir: 'libs', include: ['.jar', '.so', '**/*.so'])
}
`

I am facing the same issue.

flutter doctor -v
[√] Flutter (Channel stable, 1.20.1, on Microsoft Windows [Version 10.0.19041.388], locale en-US)
    • Flutter version 1.20.1 at C:\Code\flutter_stable
    • Framework revision 2ae34518b8 (31 hours ago), 2020-08-05 19:53:19 -0700
    • Engine revision c8e3b94853
    • Dart version 2.9.0

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at C:\Code\sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = C:\Code\sdk
    • Java binary at: C:\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Code\android-studio
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.47.3)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.13.2

[√] Connected device (1 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

• No issues found!

logs
[ +151 ms] executing: [C:\Code\flutter_stable/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +62 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 2ae34518b87dd891355ed6c6ea8cb68c4d52bb9d
[   +1 ms] executing: [C:\Code\flutter_stable/] git tag --contains HEAD
[ +210 ms] Exit code 0 from: git tag --contains HEAD
[   +2 ms] 1.20.1
[  +16 ms] executing: [C:\Code\flutter_stable/] git rev-parse --abbrev-ref --symbolic @{u}
[  +41 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/stable
[        ] executing: [C:\Code\flutter_stable/] git ls-remote --get-url origin
[  +39 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[  +84 ms] executing: [C:\Code\flutter_stable/] git rev-parse --abbrev-ref HEAD
[  +32 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +79 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +7 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +9 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[  +14 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +7 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +89 ms] executing: C:\Code\sdk\platform-tools\adb.exe devices -l
[  +50 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86
           transport_id:1
[  +12 ms] C:\Code\sdk\platform-tools\adb.exe -s emulator-5554 shell getprop
[  +47 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +6 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +9 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +9 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +521 ms] Generating
C:\Users\Taha\AndroidStudioProjects\stable_flutter\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +42 ms] ro.hardware = ranchu
[  +39 ms] Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling
software
           rendering with "--enable-software-rendering".
[  +39 ms] Starting incremental build...
[   +4 ms] Initializing file store
[  +10 ms] Skipping target: gen_localizations
[  +10 ms] complete
[   +5 ms] Launching lib\main.dart on Android SDK built for x86 in debug mode...
[   +7 ms] C:\Code\flutter_stable\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Code\flutter_stable\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Code\flutter_stable\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter
--debugger-module-names -Ddart.developer.causal_async_stacks=true --output-dill
C:\Users\Taha\AppData\Local\Temp\flutter_tools.c7d2ba06\flutter_tool.a454e636\app.dill --packages .packages
-Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build\cache.dill.track.dill
[  +24 ms] executing: C:\Code\sdk\build-tools\30.0.1\aapt dump xmltree
C:\Users\Taha\AndroidStudioProjects\stable_flutter\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +72 ms] Exit code 0 from: C:\Code\sdk\build-tools\30.0.1\aapt dump xmltree
C:\Users\Taha\AndroidStudioProjects\stable_flutter\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[   +1 ms] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.stable_flutter" (Raw: "com.example.stable_flutter")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="stable_flutter" (Raw: "stable_flutter")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
                 "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.stable_flutter.MainActivity" (Raw:
                   "com.example.stable_flutter.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
                     "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw:
                     "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[ +317 ms] executing: C:\Code\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[  +76 ms] Exit code 0 from: C:\Code\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[   +1 ms] --------- beginning of main
           08-07 15:32:39.900 I/MicroDetectionWorker( 3752): #onError(false)
[   +3 ms] executing: C:\Code\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[  +67 ms] Exit code 0 from: C:\Code\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[   +1 ms] --------- beginning of main
           08-07 15:32:39.900 I/MicroDetectionWorker( 3752): #onError(false)
[  +24 ms] <- compile package:stable_flutter/main.dart
[  +53 ms] executing: C:\Code\sdk\platform-tools\adb.exe version
[  +54 ms] Android Debug Bridge version 1.0.41
           Version 30.0.4-6686687
           Installed as C:\Code\sdk\platform-tools\adb.exe
[   +7 ms] executing: C:\Code\sdk\platform-tools\adb.exe start-server
[  +53 ms] Building APK
[  +22 ms] Running Gradle task 'assembleDebug'...
[   +2 ms] gradle.properties already sets `android.enableR8`
[   +4 ms] Using gradle from C:\Users\Taha\AndroidStudioProjects\stable_flutter\android\gradlew.bat.
[  +16 ms] C:\Users\Taha\AndroidStudioProjects\stable_flutter\android\gradlew.bat mode: 33279 rwxrwxrwx.
[  +19 ms] executing: C:\Code\android-studio\jre\bin\java -version
[ +192 ms] Exit code 0 from: C:\Code\android-studio\jre\bin\java -version
[   +1 ms] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
           OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[   +5 ms] executing: [C:\Users\Taha\AndroidStudioProjects\stable_flutter\android/]
C:\Users\Taha\AndroidStudioProjects\stable_flutter\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-x86
-Ptarget=C:\Users\Taha\AndroidStudioProjects\stable_flutter\lib\main.dart -Ptrack-widget-creation=true
-Pfilesystem-scheme=org-dartlang-root assembleDebug
[+10231 ms] > Task :app:compileFlutterBuildDebug
[   +1 ms] [ +142 ms] executing: [C:\Code\flutter_stable/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [  +64 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +9 ms] [        ] 2ae34518b87dd891355ed6c6ea8cb68c4d52bb9d
[   +1 ms] [        ] executing: [C:\Code\flutter_stable/] git tag --contains HEAD
[  +21 ms] [ +252 ms] Exit code 0 from: git tag --contains HEAD
[   +2 ms] [        ] 1.20.1
[   +1 ms] [   +9 ms] executing: [C:\Code\flutter_stable/] git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] [  +37 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] [        ] origin/stable
[   +1 ms] [        ] executing: [C:\Code\flutter_stable/] git ls-remote --get-url origin
[   +1 ms] [  +28 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] [        ] https://github.com/flutter/flutter.git
[   +1 ms] [  +69 ms] executing: [C:\Code\flutter_stable/] git rev-parse --abbrev-ref HEAD
[   +1 ms] [  +31 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] [        ] stable
[   +9 ms] [  +41 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[  +21 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] [   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[  +11 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +11 ms] [  +21 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[  +13 ms] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +9 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +10 ms] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +9 ms] [   +5 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +17 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[  +10 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[   +1 ms] [  +85 ms] Initializing file store
[   +9 ms] [  +19 ms] Skipping target: gen_localizations
[   +1 ms] [   +8 ms] kernel_snapshot: Starting due to {}
[   +1 ms] [  +39 ms] C:\Code\flutter_stable\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Code\flutter_stable\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Code\flutter_stable\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter
-Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --no-link-platform --packages
C:\Users\Taha\AndroidStudioProjects\stable_flutter\.packages --output-dill
C:\Users\Taha\AndroidStudioProjects\stable_flutter\.dart_tool\flutter_build\559b633703a04e5b0fa02ac47453f27e\app.dill --depfileC:\Users\Taha\AndroidStudioProjects\stable_flutter\.dart_tool\flutter_build\559b633703a04e5b0fa02ac47453f27e\kernel_snapshot.d
package:stable_flutter/main.dart
[+6156 ms] [+6758 ms] kernel_snapshot: Complete
[ +703 ms] [ +718 ms] debug_android_application: Starting due to {}
[ +497 ms] [ +421 ms] debug_android_application: Complete
[ +698 ms] [ +701 ms] Persisting file store
[   +1 ms] [  +19 ms] Done persisting file store
[   +1 ms] [  +19 ms] build succeeded.
[   +8 ms] [  +19 ms] "flutter assemble" took 8,856ms.
[   +1 ms] [   +4 ms] ensureAnalyticsSent: 0ms
[   +1 ms] [   +1 ms] Running shutdown hooks
[  +19 ms] [        ] Shutdown hooks complete
[   +1 ms] [        ] exiting with code 0
[ +166 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[   +2 ms] > Task :app:preBuild UP-TO-DATE
[  +14 ms] > Task :app:preDebugBuild UP-TO-DATE
[   +2 ms] > Task :app:compileDebugAidl NO-SOURCE
[   +1 ms] > Task :app:checkDebugManifest UP-TO-DATE
[  +12 ms] > Task :app:compileDebugRenderscript NO-SOURCE
[   +8 ms] > Task :app:generateDebugBuildConfig UP-TO-DATE
[  +67 ms] > Task :app:cleanMergeDebugAssets
[   +1 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[   +1 ms] > Task :app:compileDebugShaders UP-TO-DATE
[   +5 ms] > Task :app:generateDebugAssets UP-TO-DATE
[   +1 ms] > Task :app:mergeDebugAssets
[ +282 ms] > Task :app:copyFlutterAssetsDebug
[   +1 ms] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[   +6 ms] > Task :app:generateDebugResValues UP-TO-DATE
[   +1 ms] > Task :app:generateDebugResources UP-TO-DATE
[   +1 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[  +81 ms] > Task :app:mergeDebugResources UP-TO-DATE
[   +2 ms] > Task :app:processDebugManifest UP-TO-DATE
[   +2 ms] > Task :app:processDebugResources UP-TO-DATE
[ +402 ms] > Task :app:compileDebugKotlin
[   +1 ms] > Task :app:processDebugJavaRes NO-SOURCE
[ +401 ms] > Task :app:checkDebugDuplicateClasses
[   +1 ms] > Task :app:javaPreCompileDebug
[   +8 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[   +2 ms] > Task :app:compileDebugSources UP-TO-DATE
[ +789 ms] > Task :app:transformClassesWithDexBuilderForDebug
[   +1 ms] > Task :app:mergeDebugJavaResource
[   +7 ms] > Task :app:validateSigningDebug UP-TO-DATE
[   +1 ms] > Task :app:signingConfigWriterDebug UP-TO-DATE
[   +1 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[  +80 ms] > Task :app:desugarDebugFileDependencies
[   +1 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[   +1 ms] > Task :app:mergeDexDebug UP-TO-DATE
[ +103 ms] > Task :app:mergeDebugNativeLibs
[  +92 ms] > Task :app:stripDebugDebugSymbols
[   +1 ms] Compatible side by side NDK version was not found.
[   +1 ms] Unable to strip library
'C:\Users\Taha\AndroidStudioProjects\stable_flutter\build\app\intermediates\merged_native_libs\debug\out\lib\x86\libflutter.so'due to missing strip tool for ABI 'X86'. Packaging it as is.
[   +8 ms] Unable to strip library
'C:\Users\Taha\AndroidStudioProjects\stable_flutter\build\app\intermediates\merged_native_libs\debug\out\lib\x86_64\libflutter.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
[ +286 ms] > Task :app:packageDebug
[  +54 ms] > Task :app:assembleDebug
[   +1 ms] BUILD SUCCESSFUL in 21s
[   +1 ms] 31 actionable tasks: 14 executed, 17 up-to-date
[ +556 ms] Running Gradle task 'assembleDebug'... (completed in 22.3s)
[  +19 ms] calculateSha: LocalDirectory:
'C:\Users\Taha\AndroidStudioProjects\stable_flutter\build\app\outputs\flutter-apk'/app.apk
[  +14 ms] calculateSha: reading file took 12us
[ +195 ms] calculateSha: computing sha took 187us
[  +12 ms] ✓ Built build\app\outputs\flutter-apk\app-debug.apk.
[   +4 ms] executing: C:\Code\sdk\build-tools\30.0.1\aapt dump xmltree
C:\Users\Taha\AndroidStudioProjects\stable_flutter\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +22 ms] Exit code 0 from: C:\Code\sdk\build-tools\30.0.1\aapt dump xmltree
C:\Users\Taha\AndroidStudioProjects\stable_flutter\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +60 ms] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x

cc @blasten

\cc @xster

Hi @TahaTesser @mchlsndrn
Without the lib/x86 folder , isn't lib/armeabi-v7a ment to work on x86 device without failing?. Because using unity to export apk with just lib/armeabi-v7a works well on emulator. Emulator like NoxPlayer is said to support ARM emulation so the apk is meant to work.

@kings2000 "Without the lib/x86 folder ..."
It's been a while since I reported this but I think It was the other way around.
It's libflutter.so for armeabi-v7a that's missing, only for debug builds.

@mchlsndrn
okay, because in my case the file was present, i use apk analyzer to check but still crashed on run. I think its a comparability issue though.

@kings2000 Just to make sure: the file "libflutter.so" for "armeabi-v7a" was present in the DEBUG build when including 3rd party .so libraries for "armeabi-v7a"?
I haven't tested with the latest flutter though.

I can't reproduce. Tentatively closing. Feel free to reopen if you have more details. A minimal reproduction project on github would be helpful.

I can't reproduce. Tentatively closing. Feel free to reopen if you have more details. A minimal reproduction project on github would be helpful.

Please check out this repo I created for my issue.
https://github.com/kings2000/flutterApp

This also works with my repro test (using latest VS code and latest flutter) when building the APK using:
flutter build apk --debug --target-platform android-arm
It crashes though when using only:
flutter run
to test quickly in the emulator or when starting from VS code 'F5' which in turn calls the command above (I think).

When you build with just flutter run the .so file will be missing. The other command will build just for armeabiv7a with .so present, but crashes on emulator like Noxplayerand Ldplayer which is not the expected behaviour.

I understand.
I don't use Noxplayerand Ldplayer so I can't say anything about this.
I'm curious to know if it's possible to build and run a debug APK from the IDE (for example in VS code) with a target ARM platform, in order to work using hot-reload ...
Is it possible to specify the flag --target-platform android-arm somehow with gradle files?

Hi @micsan13br
Can you please provide code repository with .so library included?  as https://github.com/flutter/flutter/issues/57237#issuecomment-673286315 request
Thank you

@TahaTesser : here's the test repo https://github.com/micsan13br/reprosteps-57237
Running "flutter pub get" in reprosteps...
Launching lib\main.dart on sdk gphone x86 64 in debug mode...
Parameter format not correct -
✓ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...
E/FlutterLoader( 8334): Flutter initialization failed.
E/FlutterLoader( 8334): java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found
E/FlutterLoader( 8334): 	at java.util.concurrent.FutureTask.report(FutureTask.java:123)
E/FlutterLoader( 8334): 	at java.util.concurrent.FutureTask.get(FutureTask.java:193)
E/FlutterLoader( 8334): 	at io.flutter.embedding.engine.loader.FlutterLoader.ensureInitializationComplete(FlutterLoader.java:193)
E/FlutterLoader( 8334): 	at io.flutter.embedding.engine.FlutterEngine.<init>(FlutterEngine.java:284)
E/FlutterLoader( 8334): 	at io.flutter.embedding.engine.FlutterEngine.<init>(FlutterEngine.java:190)
E/FlutterLoader( 8334): 	at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.setupFlutterEngine(FlutterActivityAndFragmentDelegate.java:233)
E/FlutterLoader( 8334): 	at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach(FlutterActivityAndFragmentDelegate.java:153)
E/FlutterLoader( 8334): 	at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:411)
E/FlutterLoader( 8334): 	at android.app.Activity.performCreate(Activity.java:8000)
E/FlutterLoader( 8334): 	at android.app.Activity.performCreate(Activity.java:7984)
E/FlutterLoader( 8334): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
E/FlutterLoader( 8334): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3422)
E/FlutterLoader( 8334): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)
E/FlutterLoader( 8334): 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
E/FlutterLoader( 8334): 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
E/FlutterLoader( 8334): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/FlutterLoader( 8334): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
E/FlutterLoader( 8334): 	at android.os.Handler.dispatchMessage(Handler.java:106)
E/FlutterLoader( 8334): 	at android.os.Looper.loop(Looper.java:223)
E/FlutterLoader( 8334): 	at android.app.ActivityThread.main(ActivityThread.java:7656)
E/FlutterLoader( 8334): 	at java.lang.reflect.Method.invoke(Native Method)
E/FlutterLoader( 8334): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/FlutterLoader( 8334): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
E/FlutterLoader( 8334): Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found
E/FlutterLoader( 8334): 	at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
E/FlutterLoader( 8334): 	at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
E/FlutterLoader( 8334): 	at java.lang.System.loadLibrary(System.java:1664)
E/FlutterLoader( 8334): 	at io.flutter.embedding.engine.loader.FlutterLoader$1.call(FlutterLoader.java:145)
E/FlutterLoader( 8334): 	at io.flutter.embedding.engine.loader.FlutterLoader$1.call(FlutterLoader.java:140)
E/FlutterLoader( 8334): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/FlutterLoader( 8334): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/FlutterLoader( 8334): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/FlutterLoader( 8334): 	at java.lang.Thread.run(Thread.java:923)
Error waiting for a debug connection: The log reader stopped unexpectedly
Error launching application on sdk gphone x86 64.
Exited (sigterm)

Thanks for creating a repro project. It's very helpful. Though it seems to work ok for me. We released a new stable release yesterday, could you try on that version?

I just tested it with flutter_windows_1.20.2-stable
Same exact problem.
Are you testing in VS Code and using RUN > START DEBUGGING (F5) ?
I am aware that it's possible to build a working APK via command line but this does not help when designing / debugging if hot reload cannot be used in VS Code.

same as you

Can reproduce this on 1.20.2 stable version.

One workaround for this is to add the following in android -> app -> build.gradle
ndk {
    abiFilters 'armeabi-v7a', 'arm64-v8a'
}

But this will only fix it if you're building a release APK and not for app bundle.
Moreover, these lines need to be commented out if you're debugging on an x86 emulator as it'll throw the Flutter Initialization error. The error referenced multiple times in this issue ( library "libflutter.so" not found )
This is a temporary fix until and unless Flutter has some solution to this or migrate from the third party library you are using that's causing this issue.
This has been tested with a release application on PlayStore and seems to work just fine. But the hassle of commenting the above-mentioned lines while debugging and uncommenting them while building the release APK is a bit of hassle.
Hope this temporary solution solves the problem

Thanks for the suggestion but building a release APK was never the problem, as mentioned multiple times starting from the 4th post.
The problem is that debugging on emulators will not be possible in this scenario, so no way to use hot-reload as well during debug.

same as you
[√] Flutter (Channel master, 1.22.0-10.0.pre.88, on Microsoft Windows [Version 10.0.19041.388], locale zh-CN)
• Flutter version 1.22.0-10.0.pre.88 at F:\flutterSDK\flutter_windows_v1.12.13+hotfix.8-stable\flutter
• Framework revision e10bdbbd9d (9 hours ago), 2020-09-07 11:40:03 -0700
• Engine revision ac8b9c4c52
• Dart version 2.10.0 (build 2.10.0-86.0.dev)
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at F:\androidsdk\android-sdk-windows
• Platform android-29, build-tools 29.0.3
• ANDROID_HOME = F:\androidsdk\android-sdk-windows
• Java binary at: C:\Program Files\Java\jdk1.8.0_191\bin\java
• Java version Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.2)
• Visual Studio at F:\vs
• Visual Studio Community 2019 version 16.7.30413.136
• Windows 10 SDK version 10.0.18362.0
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
[√] IntelliJ IDEA Ultimate Edition (version 2019.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.3
• Flutter plugin version 45.0.3-dev.3
• Dart plugin version 193.6911.31
[!] VS Code (version 1.47.2)
• VS Code at C:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code
X Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected device (4 available)
• Samsung (mobile)  • <IP_ADDRESS>:5555 • android-x86    • Android 8.0.0 (API 26)
• Windows (desktop) • windows              • windows-x64    • Microsoft Windows [Version 10.0.19041.388]
• Web Server (web)  • web-server           • web-javascript • Flutter Tools
• Chrome (web)      • chrome               • web-javascript • Google Chrome 79.0.3945.130
! Doctor found issues in 2 categories.
√ Built build\app\outputs\flutter-apk\app-debug.apk.
E/FlutterLoader( 4014): Flutter initialization failed.
E/FlutterLoader( 4014): java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.smtjsb.sjxl-RpxtN_J1PmjLZ4JxXkrfXQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.smtjsb.sjxl-RpxtN_J1PmjLZ4JxXkrfXQ==/lib/arm, /data/app/com.smtjsb.sjxl-RpxtN_J1PmjLZ4JxXkrfXQ==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]] couldn't find "libflutter.so"
E/FlutterLoader( 4014): 	at java.util.concurrent.FutureTask.report(FutureTask.java:123)
E/FlutterLoader( 4014): 	at java.util.concurrent.FutureTask.get(FutureTask.java:193)
E/FlutterLoader( 4014): 	at io.flutter.embedding.engine.loader.FlutterLoader.ensureInitializationComplete(FlutterLoader.java:178)
E/FlutterLoader( 4014): 	at io.flutter.embedding.engine.FlutterEngine.(FlutterEngine.java:289)
E/FlutterLoader( 4014): 	at io.flutter.embedding.engine.FlutterEngine.(FlutterEngine.java:192)
E/FlutterLoader( 4014): 	at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.setupFlutterEngine(FlutterActivityAndFragmentDelegate.java:233)
E/FlutterLoader( 4014): 	at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach(FlutterActivityAndFragmentDelegate.java:153)
E/FlutterLoader( 4014): 	at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:411)
E/FlutterLoader( 4014): 	at android.app.Activity.performCreate(Activity.java:6975)
E/FlutterLoader( 4014): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1213)
E/FlutterLoader( 4014): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2770)
E/FlutterLoader( 4014): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
E/FlutterLoader( 4014): 	at android.app.ActivityThread.-wrap11(Unknown Source:0)
E/FlutterLoader( 4014): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
E/FlutterLoader( 4014): 	at android.os.Handler.dispatchMessage(Handler.java:105)
E/FlutterLoader( 4014): 	at android.os.Looper.loop(Looper.java:164)
E/FlutterLoader( 4014): 	at android.app.ActivityThread.main(ActivityThread.java:6541)
E/FlutterLoader( 4014): 	at java.lang.reflect.Method.invoke(Native Method)
E/FlutterLoader( 4014): 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
E/FlutterLoader( 4014): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
E/FlutterLoader( 4014): Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.smtjsb.sjxl-RpxtN_J1PmjLZ4JxXkrfXQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.smtjsb.sjxl-RpxtN_J1PmjLZ4JxXkrfXQ==/lib/arm, /data/app/com.smtjsb.sjxl-RpxtN_J1PmjLZ4JxXkrfXQ==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]] couldn't find "libflutter.so"
E/FlutterLoader( 4014): 	at java.lang.Runtime.loadLibrary0(Runtime.java:1011)
E/FlutterLoader( 4014): 	at java.lang.System.loadLibrary(System.java:1657)
E/FlutterLoader( 4014): 	at io.flutter.embedding.engine.loader.FlutterLoader$1.call(FlutterLoader.java:129)
E/FlutterLoader( 4014): 	at io.flutter.embedding.engine.loader.FlutterLoader$1.call(FlutterLoader.java:123)
E/FlutterLoader( 4014): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/FlutterLoader( 4014): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
E/FlutterLoader( 4014): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
E/FlutterLoader( 4014): 	at java.lang.Thread.run(Thread.java:764)
debug

release

any update?  flutter 1.20.3
Caused by java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/kw.ltd.barcodeapp-tjJ90wNVR4smicOUZ2Fzkw==/base.apk"],nativeLibraryDirectories=[/data/app/kw.ltd.barcodeapp-tjJ90wNVR4smicOUZ2Fzkw==/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libflutter.so"
at io.flutter.embedding.engine.loader.FlutterLoader.ensureInitializationComplete(FlutterLoader.java:258)
at io.flutter.embedding.engine.FlutterEngine.(FlutterEngine.java:284)
at io.flutter.embedding.engine.FlutterEngine.(FlutterEngine.java:190)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.setupFlutterEngine(FlutterActivityAndFragmentDelegate.java:233)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach(FlutterActivityAndFragmentDelegate.java:153)
at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:411)
at android.app.Activity.performCreate(Activity.java:7009)
at android.app.Activity.performCreate(Activity.java:7000)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11()
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

abandon "flutter run --release" command, use new command "flutter build appbundle"

I can't.
I need to produce separate APKs because our enterprise system (incapptic) does not support appbundles.

 You can search both those keywords in this thread (above)

Thanks for the suggestion but building a release APK was never the problem, as mentioned multiple times starting from the 4th post.
The problem is that debugging on emulators will not be possible in this scenario, so no way to use hot-reload as well during debug.

Create you emulator with x86_64 architecture.

Flutter 1.22.6 (Mac version) still crashes when I click the [Run] button.
I work on an NDK project. App build.gradle is below.
defaultConfig {
applicationId 'xxx.flutter'
minSdkVersion rootProject.hasProperty("minSdkVersion") ? rootProject.minSdkVersion : 21
targetSdkVersion rootProject.hasProperty("targetSdkVersion") ? rootProject.targetSdkVersion : 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    **ndk { abiFilters "armeabi-v7a" }**
    **externalNativeBuild { cmake { arguments '-DANDROID_STL=c++_shared' } }**
}

**externalNativeBuild {
    cmake {
        path 'src/main/cpp/CMakeLists.txt'
        version '3.10.2'
    }**
}

Same issue HERE !!!
I tried ndk { abiFilters 'x86', 'armeabi-v7a' }, flutter clean, uninstall the app and flutter upgrade and nothing change please provide some help

Okay In my case I solved this issue by adding ndk code in default config =>  ndk { abiFilters 'x86', 'armeabi-v7a','arm64-v8a' }

facing the same issue with flutter stable 2.0.5 (also tried downgrading to 1.22.6)

Log
2021-04-20 09:58:24.300 6866-6866/? E/FlutterLoader: Flutter initialization failed.
    java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found
        at java.util.concurrent.FutureTask.report(FutureTask.java:123)
        at java.util.concurrent.FutureTask.get(FutureTask.java:193)
        at io.flutter.embedding.engine.g.c.c(Unknown Source:23)
        at io.flutter.embedding.engine.a.<init>(Unknown Source:202)
        at io.flutter.embedding.engine.a.<init>(Unknown Source:16)
        at io.flutter.embedding.android.f.B(Unknown Source:106)
        at io.flutter.embedding.android.f.k(Unknown Source:7)
        at io.flutter.embedding.android.e.onCreate(Unknown Source:13)
        at com.myExampleApp.MainActivity.onCreate(Unknown Source:0)
        at android.app.Activity.performCreate(Activity.java:8000)
        at android.app.Activity.performCreate(Activity.java:7984)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3422)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:223)
        at android.app.ActivityThread.main(ActivityThread.java:7656)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
     Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found
        at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
        at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
        at java.lang.System.loadLibrary(System.java:1664)
        at io.flutter.embedding.engine.FlutterJNI.loadLibrary(Unknown Source:13)
        at io.flutter.embedding.engine.g.c$a.a(Unknown Source:14)
        at io.flutter.embedding.engine.g.c$a.call(Unknown Source:0)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:923)
2021-04-20 09:58:24.300 6866-6866/? D/AndroidRuntime: Shutting down VM

    --------- beginning of crash
2021-04-20 09:58:24.301 6866-6866/? E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.myExampleApp, PID: 6866
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myExampleApp/com.myExampleApp.MainActivity}: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3449)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:223)
        at android.app.ActivityThread.main(ActivityThread.java:7656)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
     Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found
        at io.flutter.embedding.engine.g.c.c(Unknown Source:367)
        at io.flutter.embedding.engine.a.<init>(Unknown Source:202)
        at io.flutter.embedding.engine.a.<init>(Unknown Source:16)
        at io.flutter.embedding.android.f.B(Unknown Source:106)
        at io.flutter.embedding.android.f.k(Unknown Source:7)
        at io.flutter.embedding.android.e.onCreate(Unknown Source:13)
        at com.myExampleApp.MainActivity.onCreate(Unknown Source:0)
        at android.app.Activity.performCreate(Activity.java:8000)
        at android.app.Activity.performCreate(Activity.java:7984)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3422)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:223)
        at android.app.ActivityThread.main(ActivityThread.java:7656)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
     Caused by: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found
        at java.util.concurrent.FutureTask.report(FutureTask.java:123)
        at java.util.concurrent.FutureTask.get(FutureTask.java:193)
        at io.flutter.embedding.engine.g.c.c(Unknown Source:23)
        at io.flutter.embedding.engine.a.<init>(Unknown Source:202)
        at io.flutter.embedding.engine.a.<init>(Unknown Source:16)
        at io.flutter.embedding.android.f.B(Unknown Source:106)
        at io.flutter.embedding.android.f.k(Unknown Source:7)
        at io.flutter.embedding.android.e.onCreate(Unknown Source:13)
        at com.myExampleApp.MainActivity.onCreate(Unknown Source:0)
        at android.app.Activity.performCreate(Activity.java:8000)
        at android.app.Activity.performCreate(Activity.java:7984)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3422)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:223)
        at android.app.ActivityThread.main(ActivityThread.java:7656)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
     Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found
        at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
        at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
        at java.lang.System.loadLibrary(System.java:1664)
        at io.flutter.embedding.engine.FlutterJNI.loadLibrary(Unknown Source:13)
        at io.flutter.embedding.engine.g.c$a.a(Unknown Source:14)
        at io.flutter.embedding.engine.g.c$a.call(Unknown Source:0)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:923)
2021-04-20 09:58:24.308 519-5643/? W/ActivityTaskManager:   Force finishing activity com.myExampleApp/.MainActivity
2021-04-20 09:58:24.309 306-306/? W/EmuHWC2: validate: layer 37 CompositionType 1, fallback

flutter doctor -v
```
[√] Flutter (Channel stable, 2.0.5, on Microsoft Windows [Version 10.0.19041.928], locale
    en-US)
    • Flutter version 2.0.5 at C:\Users\adnan\flutter
    • Framework revision adc687823a (3 days ago), 2021-04-16 09:40:20 -0700
    • Engine revision b09f014e96
    • Dart version 2.12.3
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\adnan\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.55.2)
• VS Code at C:\Users\adnan\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.21.0
[√] Connected device (3 available)
• sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30)
(emulator)
• Chrome (web)            • chrome        • web-javascript • Google Chrome 89.0.4389.128
• Edge (web)              • edge          • web-javascript • Microsoft Edge 89.0.774.57
• No issues found!
</details>

Issue persists with flutter 2.8.1

facing the same issue with flutter 3.0.5

@Faisalalali
app module build.gradle
defaultConfig{
        ndk {
            abiFilters 'armeabi-v7a', 'arm64-v8a'
        }
}

and adding
gradle.beforeProject({ project->  // flutter的bug,如果指定armv7和arm64,armv7不会打包libflutter.so 的动态库,导致在32位手机上会崩溃
//    if(project.status == "debug"){}
    project.setProperty("target-platform", "android-arm,android-arm64")
})

above settings.gradle apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
libflutter.so will be packaged into the apk file

Any fix for this? I get 3 or 4 crashes on Crashlytics, right now Pixel 4a, Nexus 5X and Galaxy A3

Facing the same issue with Flutter 3.3.2
The problem seems occured only on Google TV, it runs fine on mobile.
 buildTypes {
        release {
            ndk {
                abiFilters "arm64-v8a", "armeabi-v7a", "x86", "x86_64"
            }
    }

10-14 13:14:38.124  7972  7972 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.nassimus.NavipTv/org.nassimus.naviptv.MainActivity}: java.lang.
RuntimeException: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3686)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3823)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2306)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:106)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:201)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:288)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7886)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
10-14 13:14:38.124  7972  7972 E AndroidRuntime: Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dlopen failed: library
 "libflutter.so" not found
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at io.flutter.embedding.engine.loader.FlutterLoader.ensureInitializationComplete(Unknown Source:475)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at io.flutter.embedding.engine.FlutterEngine.<init>(Unknown Source:184)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at io.flutter.embedding.engine.FlutterEngine.<init>(Unknown Source:12)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.setupFlutterEngine(Unknown Source:106)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach(Unknown Source:7)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at io.flutter.embedding.android.FlutterActivity.onCreate(Unknown Source:13)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at android.app.Activity.performCreate(Activity.java:8268)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at android.app.Activity.performCreate(Activity.java:8247)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1371)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3667)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        ... 12 more
10-14 13:14:38.124  7972  7972 E AndroidRuntime: Caused by: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at java.util.concurrent.FutureTask.get(FutureTask.java:191)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at io.flutter.embedding.engine.loader.FlutterLoader.ensureInitializationComplete(Unknown Source:28)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        ... 21 more
10-14 13:14:38.124  7972  7972 E AndroidRuntime: Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at java.lang.Runtime.loadLibrary0(Runtime.java:998)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at java.lang.System.loadLibrary(System.java:1656)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at io.flutter.embedding.engine.FlutterJNI.loadLibrary(Unknown Source:13)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at io.flutter.embedding.engine.loader.FlutterLoader$1.call(Unknown Source:19)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at io.flutter.embedding.engine.loader.FlutterLoader$1.call(Unknown Source:0)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at java.util.concurrent.FutureTask.run(FutureTask.java:264)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
10-14 13:14:38.124  7972  7972 E AndroidRuntime:        at java.lang.Thread.run(Thread.java:1012)

PS C:\Users\cd_bo\StudioProjects\dart_vlc\example> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.2, on Microsoft Windows [version 10.0.19044.2130], locale fr-FR)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.6)
[√] Android Studio (version 2021.2)
[√] IntelliJ IDEA Community Edition (version 2019.3)
[√] IntelliJ IDEA Ultimate Edition (version 2018.3)
[√] IntelliJ IDEA Community Edition (version 2021.3)
[√] VS Code (version 1.67.2)
[√] Connected device (4 available)
[√] HTTP Host Availability

• No issues found!

It seems the 86x was missing, It should be fixed with this solution :
https://github.com/flutter/flutter/issues/73943

i had the same issue 'flutter run ' does not include the libflutter.so for  "armeabi-v7a"  architecture only in debug mode probably because i was using some other native libraries,
so fixed the issue by generating the release apk then i copies ``libflutter.so` of the missing architecture to besides other libraries i used i my project and it worked

gradle.beforeProject({ project->  // flutter的bug,如果指定armv7和arm64,armv7不会打包libflutter.so 的动态库,导致在32位手机上会崩溃
//    if(project.status == "debug"){}
project.setProperty("target-platform", "android-arm,android-arm64")
})

thank u so much this helped me

Had this issue for a flutter platform plugin, where DexClassLoader.loadClass() would crash with a couldn't find mylibrary.so. I'm building to a Chinese device, running Android 7.1.
My .so files were originally placed in src/main/jniLibs/armeabi, which seemed to be wrong.
Solved it by putting the .so files into src/main/jniLibs/armeabi-v7a instead, and then adding this to the plugin's build.gradle:
android {
    splits {
        abi {
            enable true
            reset()
            include 'armeabi-v7a'
        }
    }
}

I gather it's because bundling 32 and 64bit files wasn't possible, and this Chinese device is apparently 32bit.
Hope this helps someone.

i still get the same issue even after @larssn "solution"

this device

@GeylanKalafMohe My solution is 32bit, yours is 64bit. You can see the various architectures here: https://developer.android.com/ndk/guides/abis
You can try and put your .so files in an arm64-v8a folder instead of armeabi-v7a.

@larssn Ok thanks. But why do we even have to define which we want to support. Why does my app not support all by default.

Had this issue for a flutter platform plugin, where DexClassLoader.loadClass() would crash with a couldn't find mylibrary.so. I'm building to a Chinese device, running Android 7.1.
My .so files were originally placed in src/main/jniLibs/armeabi, which seemed to be wrong.
Solved it by putting the .so files into src/main/jniLibs/armeabi-v7a instead, and then adding this to the plugin's build.gradle:
android {
    splits {
        abi {
            enable true
            reset()
            include 'armeabi-v7a'
        }
    }
}

I gather it's because bundling 32 and 64bit files wasn't possible, and this Chinese device is apparently 32bit.
Hope this helps someone.

I'm still getting the same error even trying this solution
Launching lib/main.dart on E700 in debug mode...
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
E/FlutterLoader( 4258): Flutter initialization failed.
E/FlutterLoader( 4258): java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/app.cash.grip-2/base.apk"],nativeLibraryDirectories=[/data/app/app.cash.grip-2/lib/arm, /data/app/app.cash.grip-2/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn't find "libflutter.so"
E/FlutterLoader( 4258): 	at java.util.concurrent.FutureTask.report(FutureTask.java:94)
E/FlutterLoader( 4258): 	at java.util.concurrent.FutureTask.get(FutureTask.java:164)
E/FlutterLoader( 4258): 	at io.flutter.embedding.engine.loader.FlutterLoader.ensureInitializationComplete(FlutterLoader.java:239)
E/FlutterLoader( 4258): 	at io.flutter.embedding.engine.FlutterEngine.<init>(FlutterEngine.java:327)
E/FlutterLoader( 4258): 	at io.flutter.embedding.engine.FlutterEngine.<init>(FlutterEngine.java:207)
E/FlutterLoader( 4258): 	at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.setupFlutterEngine(FlutterActivityAndFragmentDelegate.java:272)
E/FlutterLoader( 4258): 	at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach(FlutterActivityAndFragmentDelegate.java:181)
E/FlutterLoader( 4258): 	at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:495)
E/FlutterLoader( 4258): 	at android.app.Activity.performCreate(Activity.java:6682)
E/FlutterLoader( 4258): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
E/FlutterLoader( 4258): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2621)
E/FlutterLoader( 4258): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2729)
E/FlutterLoader( 4258): 	at android.app.ActivityThread.-wrap12(ActivityThread.java)
E/FlutterLoader( 4258): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1480)
E/FlutterLoader( 4258): 	at android.os.Handler.dispatchMessage(Handler.java:102)
E/FlutterLoader( 4258): 	at android.os.Looper.loop(Looper.java:154)
E/FlutterLoader( 4258): 	at android.app.ActivityThread.main(ActivityThread.java:6127)
E/FlutterLoader( 4258): 	at java.lang.reflect.Method.invoke(Native Method)
E/FlutterLoader( 4258): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
E/FlutterLoader( 4258): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
E/FlutterLoader( 4258): Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/app.cash.grip-2/base.apk"],nativeLibraryDirectories=[/data/app/app.cash.grip-2/lib/arm, /data/app/app.cash.grip-2/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn't find "libflutter.so"
E/FlutterLoader( 4258): 	at java.lang.Runtime.loadLibrary0(Runtime.java:984)
E/FlutterLoader( 4258): 	at java.lang.System.loadLibrary(System.java:1562)
E/FlutterLoader( 4258): 	at io.flutter.embedding.engine.FlutterJNI.loadLibrary(FlutterJNI.java:141)
E/FlutterLoader( 4258): 	at io.flutter.embedding.engine.loader.FlutterLoader$1.call(FlutterLoader.java:189)
E/FlutterLoader( 4258): 	at io.flutter.embedding.engine.loader.FlutterLoader$1.call(FlutterLoader.java:182)
E/FlutterLoader( 4258): 	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
E/FlutterLoader( 4258): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
E/FlutterLoader( 4258): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
E/FlutterLoader( 4258): 	at java.lang.Thread.run(Thread.java:761)
Exited (sigint)

The only solution that works for me it's when i added abiFilters
        ndk {
            abiFilters "armeabi-v7a"
        }

Then i built the app and install it manually
the app works fine
flutter build apk

but the problem i need to build the app everytime to test new things because when i run the debug it show the previous error message

I guess I face the same issues, I provide an ABI folder but when I build a fat APK for release, armeabi-v7a is missing libflutter.so. Interestingly, the app was accepted to the play store but rejected for Android TV.
buildTypes {
       release {
           signingConfig signingConfigs.release
           ndk {
               abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64'
           }
       }
   }

Hello, I apologize for the inconvenience. If you have followed the steps mentioned but your Flutter application still crashes during debugging

Hello everyone,
It solved for me when I put like that:
android {
    defaultConfig {
        ndk.abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64', 'x86'
    }
}

I hope it helps someone.

Hello everyone,
It solved for me when I put like that:
android {
    defaultConfig {
        ndk.abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64', 'x86'
    }
}

I hope it helps someone.

Hey, this works if your app can run on all of these architectures. I'm using an SDK that only works on abiFilters arm64-v8a , so I'm not allowed to add other architectures.
The problem is only when debugging and not when building (see here why)
Before version v1.7.x I was able to run with --target-platform=android-arm but after it, this flag was removed (No idea why)
So for now there is only 2 ways of working around this issue:
1:
flutter build apk --debug --target-platform=android-arm
 flutter run --use-application-binary=build/app/outputs/apk/debug/app-debug.apk```
(This one workers well but you loose the debug feature of your IDE - so not great)

2: (this is the workournd that I use)
Add on your `settings.gradle` on the end of the file this code:]

gradle.beforeProject({ project->
project.setProperty("target-platform", "android-arm")
})```
The problem here is that when you sync the gradle you get an error, so you need to comment this code every time you need to sync the gradle and uncomment when you need to debug it.
I hope this helps someone.
Any idea when this issue should be fixed?

For anyone wondering how to add libflutter.so to specific folders. Please use the following guide, especially Adding DLLs paragraph. For me, it worked just fine. If your project doesn't see flutterEngine just add your version of this library io.flutter:flutter_embedding_release like String. In my case, it was version "1.0.0-235db911ba279722f5e685f38b0ed30fa7e8570a"
In this guide, you also can find where to find the latest version of this library
https://blog.mytiki.com/p/how-to-package-dart-for-use-as-a
https://github.com/tiki-archive/publish-sdk-android/tree/main


Update opensearch version to 1.3.7 in chef-server.

Signed-off-by: sreepuramsudheer<EMAIL_ADDRESS>Description
[Please describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves, or any Discourse or
StackOverflow discussions that are relevant]
Check List

[ ] New functionality includes tests
[ ] All buildkite tests pass
[ ] Full omnibus build and tests in buildkite pass
[ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/main/CONTRIBUTING.md#developer-certification-of-origin-dco
[ ] PR title is a worthy inclusion in the CHANGELOG

Adhoc build: https://buildkite.com/chef/chef-chef-server-main-omnibus-adhoc/builds/5318


[aes/dv/aes_model_dpi] Add DPI call to encrypt/decrypt entire messages

This PR adds a new DPI call to encrypt entire messages potentially consisting of multiple blocks.
At the moment, only OpenSSL/BoringSSL can be used. For the C model an additional wrapper will be required as it supports ECB only.

@rasmus-madsen please note that the format of the IV (4x 32-bit as it is written to the registers via TL-UL) different from the data (now we get an open array of bytes).
If desirable, I could change the IV to also be an unpacked array of bytes. I don't know what is better for you.

Thanks @imphil for your review and the input!


Further flesh out Search Core strategy

Some folks have asked me for more details around our decision to de-prioritize 5.5M as a goal. I'd like to just be able to point to the handbook page to service this request.

FYI @jjeffwarner @jyavorska. No new information here, just a bit more detail 🙂

Excellent update, thank you


Current NuGet (2.0.0-clinteastwood) is a Debug build on net452

Could you upload a Release build package?

One on myget looks good (I think)

Yeah, I just checked the net452 DLL in https://myget.org/feed/nancyfx/package/nuget/Nancy/2.0.0-pre1909, which is the build of #2898, and it looks to be JIT optimized:

https://github.com/TechEmpower/FrameworkBenchmarks/pull/3771 :)

Hehe 😝 Are they still taking patches for round 16?


feat: adjust _openJsonFileHandler as a local variable to support the …

registration of multiple swagger files
modified:   kratos.go
JIRA:
REVIWER:
BREAKING CHANGE: none

I have several swagger files (>10) in my projects,  I found handler with overrided  when I registed more than one swagger


S3 bucket ACL bug

This issue can cause policy to miss S3 buckets using FULL_CONTROL policy
PR for the fix:
https://github.com/capitalone/cloud-custodian/pull/2874

Thanks for reporting and fixing


Split the lexer from the parser and put them in classes.

In anticipation of the parser getting more complex with logic
for improved error messaging, split out the lexer to keep parser.py
cleaner.
Move the lexer and the parser into their own classes. This makes it
easier and cleaner to keep a references to lexer / parser instances
which are needed to do better error messaging when a syntax error comes
up.
Issue: #2
Test: stl/parser_test.py

This is just a refactor, should not have any behaviour changes. This will make doing the error messaging easier in a follow up CL

Would you please add class comments in a following CL which describe what public attributes are available?


Username highlight in name color broken

Describe your issue
The name colors on one of the most recent nightly builds  (commit 9b3fe6604) no longer show up.
Type the name of a user who has sent a message in the channel, and their name is typically highlighted in their name color (with my settings).
Screenshots

Before (commit 6732b25f3)

After (commit 9b3fe6604)

OS and Chatterino Version
Windows 10, Chatterino Nightly 7.3.2 (commit 9b3fe6604)

Disclaimer: I dont know if this is something that changed when 7tv added something, or if it was from upstream.

This is an upstream issue, it's being tracked in #2822


Feature/add pnpm package manager support

Context
pnpm is an increasingly popular package manager with several benefits over npm which results in extremely quick installations of dependencies. https://pnpm.io/
Why
When I tried running pnpm create playwright, the installation failed.

Implemented

Added PackageManager type
Refactor some existing code; added support for pnpm

I think it's failing because pnpm is not installed, you need to add it inside the gha workflow.


Python extension fails to connect to jupyter notebook

Issue Type: Bug
Interactive python console is not working with stable vscode app on ubuntu OS and upstream Python extension in Anaconda enviornment.
Extension version: 2019.9.34911
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:30:08.229Z)
OS version: Linux x64 4.15.0-62-generic

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU           X5660  @ 2.80GHz (24 x 2511)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: unavailable_offviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
2, 1, 1

Memory (System)
94.39GB (80.40GB free)

Process Argv

Screen Reader
no

VM
0%

me too

@huaji1992 	do you have any more information? For example, what happens if you start the anaconda prompt and run this 'python -m jupyter notebook --version'

@rchiodo I'm running jupyter 5.7.4 in my venv. Here is console log.

@ktavabi 	It looks like you didn't start running any cells. There's no indication that a server was attempted to be started.
What does the UI show?

Unless there is some other sorta magic to run a cell I am 100% I tried executing a cell and opted to set a KB combo as default keypress to execute code in ipython. The UI just hangs with msg "starting jupyter server" and IIRC eturn a msg indicating a failed connection.

This is what a successful connection looks like...

Okay I think you sent the wrong console log somehow. Your screenshot is showing much more in the log. It looks like it starts jupyter but jupyter never responds.
Jupyter has been known to be flakey in the past (especially at this point where you're hitting the problem), you might try upgrading Jupyter in your virtual env.
Additionally, if you wait long enough does it eventually connect? Your screenshot is showing us in our waitForIdle loop while trying to communicate with Jupyter. That should eventually timeout, kill jupyter, and try again.

Jupyter has been known to be flakey in the past (especially at this point where you're hitting the problem), you might try upgrading Jupyter in your virtual env.
That makes little sense as jupyter notebook works as expected.

Additionally, if you wait long enough does it eventually connect? Your screenshot is showing us in our waitForIdle loop while trying to communicate with Jupyter. That should eventually timeout, kill jupyter, and try again.
It doesn't seem to ever timeout. It's fine I don't really need VS to work on this system, taking up too much effort.

I don't know if jupyter notebook uses the same jupyterlab API for communicating with its UI as we do, but that's the flakey part I'm talking about. We have consistent issues attempting to communicate with the Tornado server that a jupyter notebook starts. That's where your session was stuck.

I see.
FWIW it seems to be stuck with...

~/miniconda3/envs/mne/bin/python -m jupyter notebook --no-browser --notebook-dir=/tmp/1c964bcc-c084-488f-8022-d1d901cf4cd9 --config=/tmp/1c964bcc-c084-488f-8022-d1d901cf4cd9/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
~/miniconda3/envs/mne/bin/python ~/.vscode/extensions/ms-python.python-2019.9.34911/pythonFiles/datascience/getServerInfo.py
~/miniconda3/envs/mne/bin/python ~/.vscode/extensions/ms-python.python-2019.9.34911/pythonFiles/datascience/getServerInfo.py
~/miniconda3/envs/mne/bin/python -m jupyter kernelspec list
~/miniconda3/envs/mne/bin/python -m jupyter kernelspec list

which is presumably what you're referring to.


codicon.css and codicon-modifiers.css are shipped as files

I am not sure why they appear as individual files in our build:

I would assume they are inlined into our main CSS due to this:

But maybe I am missing something?

This got fixed as part of ESM work.


Import Error: cannot import name augmenters

I'm getting this error:

Import Error: cannot import name augmenters

Whenever I try to:
from imgaug import augmenters as iaa
-I'm running windows 7
-Anaconda with python 2
-Installed imgaug using this line:
pip install git+https://github.com/aleju/imgaug
-Running the script using visual studio 2015

The library uses standard routines for installation. If that fails, it is probably down to your system configuration and not the library.
Make sure that there was no error during installation, that visual studio really uses you anaconda python and that your pip really points towards your anaconda's pip (and not some other pip that doesn't install into your anaconda directory).

Faced this problem too. (Arch Linux, in jupyter which is run from python2_venv. The library was successfully installed in venv) I suppose that the problem only in jupyter imports, because I can simply run python from venv and such import works fine.

Faced this problem too.
but the file name was wrong.
i made imgaug.py file ,so i changed the file name.
mv imgaug.py imgaug_work.py
In my case I moved with this.

Meet this problem too . I cloned the code and installed in Ubuntu, by this:
"python setup.py sdist
pip install dist/imgaug-0.2.5.tar.gz"

I met this problem,too. But I find, my problem was caused by another file named imgaug.py , which is my own file. After changing the name of this file, the problem is resolved. Thx

I met the same problem, the problem is resolved. I just change the name of the file that I have created.thx


Extend 1Password secret provider to return the entire entry as JSON

Currently a single field must be specified as op://<vault>/<entry>/<field>, which is always treated as a single JSON string.
But sometimes we want a composite value. A proposal @mistermoe and I came up with is that if the reference is to the entry itself, eg. op://<vault>/<entry>, FTL would retrieve all fields as a JSON object.
eg. Given the following entry as JSON:
{
  "id": "xyz",
  "title": "JSON",
  "tags": ["json"],
  "version": 2,
  "vault": {
    "id": "xyz",
    "name": "Personal"
  },
  "category": "LOGIN",
  "last_edited_by": "xyz",
  "created_at": "2024-05-15T19:12:04Z",
  "updated_at": "2024-05-15T19:19:54Z",
  "additional_information": "test",
  "fields": [
    {
      "id": "password",
      "type": "CONCEALED",
      "purpose": "PASSWORD",
      "label": "password",
      "value": "aSecretPassword",
      "reference": "op://Personal/JSON/password",
      "password_details": {
        "strength": "VERY_GOOD"
      }
    },
    {
      "id": "username",
      "type": "STRING",
      "purpose": "USERNAME",
      "label": "username",
      "value": "test",
      "reference": "op://Personal/JSON/username"
    },
    {
      "id": "notesPlain",
      "type": "STRING",
      "purpose": "NOTES",
      "label": "notesPlain",
      "reference": "op://Personal/JSON/notesPlain"
    }
  ]
}

If the secret reference was op://Personal/JSON/password we would return the JSON string quoted value "aSecretPassword".
If the secret reference was op://Personal/JSON we would retrieve the JSON object {"password": "aSecretPassword", "username": "test"}. Note that notesPlain would be omitted because it has no value.
Unfortunately we'll need to manually parse the op:// reference in order to pass the individual values to op item get --json, because it doesn't support op:// references directly. We'll then need to unmarshal the JSON into an intermediate structure in order to retrieve the fields.

This will resolve #1494

@gak thank you!


add functions to initiate a view context from an existing go context

for people who don't InitiateView directly but create the view.Context first, this PR creates the opportunity to pass a go context. This is useful for tracing a request through the process.

test with token sdk succeeds: https://github.com/hyperledger-labs/fabric-token-sdk/pull/762


Error/corrupted files duplicating on redaction app while filtering the flags

Describe the bug in current situation
When a error file is included in the records package , then its duplicating while filtering the flags each time
Link bug to the User Story
Impact of this bug
Describe the impact, i.e. what the impact is, and number of users impacted.
Chance of Occurring (high/medium/low/very low)
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
Test-marshal
Steps to Reproduce
Steps to reproduce the behavior:

Login as Ministry user
Try to upload few records including error/corrupted files
Then go to IAO login
Go to redaction app and try to filter flags
Each time when we try to filter flags, error file duplicates

Actual/ observed behaviour/ results
Expected behaviour
A clear and concise description of what you expected to happen. Use the gherking language.
Screenshots/ Visual Reference/ Source
If applicable, add screenshots to help explain your problem. You an use screengrab.

Note: error files should not be appearing in the doc reviewer anyways, which may be the crux of this bug

NOTE - we will need to add release label before close

@nkan-aot Please let me know once portfolio issue fix pushed to test-marshal. Record upload is not working on test-marshal now

It is working as expected so closing


The outline's "Follow Cursor" option doesn't highlight parent symbol when children hidden.

Version: 1.57.0-insider (user setup)
Commit: 4fd4e10e99eff9eb77408b71c7f58b7ed7458ee5
Date: 2021-05-21T05:13:41.097Z
Electron: 12.0.7
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19041

Steps to reproduce:

Set Outline ... "Follow Cursor" in the explorer
Unset Outline: Show Variables in settings
With the Following JS file:

class MyClass {
    myMethod() {
        var test = "";
    }
}

Put the cursor on the test variable

Expected
Highlighting of the myMethod symbol in the outline.
Saw
No highlighting whatsoever in the outline.

Also applies to other symbols hiding (non-exhaustive).

/verified


v0.5 - Check meow_u16/32 to see if they can be removed

They may no longer be necessary defines.
- Casey

I'm leaving the meow_u32 in because it is used throughout the code, but I have moved it to the test.h.  The meow_u16 was never used so it was removed.
- Casey


Directory structure for images/documents

I have a Wagtail travel blog with 1000+ images and counting. Of course, with this number of images selecting an image becomes quite a tricky business if it isn't one of the newly uploaded. Image tags are a bit of a help but it still does not work perfectly.
What I suggest is to extend Images UI with a possibility to categorize images into a directory structure (e.g., I would appreciate if I can organize my images in something like "Trips/Chile/2017-01-01"). Note that this could also affect the location where the physical files are stored (I am not super-happy with flat /media directory with tons of files) but this isn't that important

@ppershing have you tried the collections feature for images?

@Proper-Job I think Collections is just for organization / permission in UI.
What I understand is that @ppershing wants to organize the physical files into directories. [1], [2], [3]

@luizboaretto @ppershing IMHO collections address the use case @ppershing is describing exactly.  You can create a new collection called "Trips/Chile/2017-01-01" and add the images you like to that collection.
IMHO maintaining a (dynamic) directory structure in the file system is a recipe for disaster.  Imagine you moved an image from one folder to another: you'd have to mirror that move in the filesystem.  That simple use case could go wrong in so many ways.

Yes, I think this is covered by the collections feature.


invoice.upcoming is not supported

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

I've checked the above - but this is a bug report about the Stripe Sync Engine not Supabase...
Describe the bug
In the README, invoice.upcoming is marked as an event that is handled and supported. It is not. When an invoice.upcoming event is sent, a 500 is returned with the following error:
{
  "statusCode": 500,
  "code": "23502",
  "error": "Internal Server Error",
  "message": "null value in column "id" of relation "invoices" violates not-null constraint",
}

To Reproduce
Receive an invoice.upcoming event from Stripe.
Expected behavior
No errors.
System information
Using Docker version: supabase/stripe-sync-engine:v0.32.2

I see - as the id is the primary key of the invoices table, we cannot re-use the invoices table for upcoming invoices without a larger breaking change. Upcoming invoices could technically be written to a new table, but given it has no id an upsert wouldn't work unless there is another unique identifier.
If you don't rely on the event, you can simply opt to not send the event to the sync engine to avoid any errors.


Error installing Library | git+https://github.com/sodascience/metasynth.git

Hi  ,
I tried to reinstall using the link , I am getting the following error.
"
Installing build dependencies: started
Installing build dependencies: finished with status 'error'
sys:1: ResourceWarning: unclosed socket <zmq.Socket(zmq.PUSH) at 0x21872940400>
ResourceWarning: Enable tracemalloc to get the object allocation traceback
sys:1: ResourceWarning: unclosed socket <zmq.Socket(zmq.PUSH) at 0x21872941c00>
ResourceWarning: Enable tracemalloc to get the object allocation traceback
"

This seems like a general python install issue, or something with how you are running python.
It will require some debugging from your side! Some questions to get you started:

can you install other packages using the same installation method? e.g., git+https://github.com/J535D165/scitree.git
is there something strange about your environment? Conda? WSL?

Closing, because likely unrelated to metasynth.


Updated guide.md with local config clarification

See also https://github.com/rust-lang/cargo/issues/1614

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @steveklabnik (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

@bors: r+ 09edeb8591f8b74972238e4eccd851d60982ba0f
Thanks!

:hourglass: Testing commit 09edeb8 with merge 90422d6...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-64


DPR-674: Use map transformation for validation

This uses a map function instead of a UDF for the Json validation.
To avoid serialization errors, a static class JsonValidatorStatic is used.

Since the JsonValidator class in the uk.gov.justice.digital.job.ud package is not used now, can we deleted it?

Good catch. The class must have resurfaced after the rebase on main branch.
I've deleted it now. Thanks


Been a while, time for a release?

Hiya,
It has been 80 commits since the last release. Can we please have a new release? :)

Yeah!

+1 for the a new release

Anything blocking release I can help with?

Anything blocking release I can help with?

I'd be happy to contribute as well, if it could help get a new release minted.

Just released 2.8.0.rc1 that includes Ruby 3.x support - please test and let us know.


[youtube] match-filters: 'mark watched' should be skipped

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Russia
Provide a description that is worded well enough to be understood
I download a large playlist, for example :ytrec
Case one: live broadcasts (there is !is_live in the filter). All live broadcasts that are in ytrec are marked as viewed, but the download is skipped.
Case two: some random videos (2 out of 275 in my case).
First, yt-dlp receives information about the video, marks it as viewed, and then it turns out that the video does not match the filter.
[youtube] Extracting URL:
[youtube] xxx: Marking watched
[youtube] xxx: Marking fully watched
[download] xxx does not pass filter xxx, skipping ..

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[download] 【OP】じょしらく/「お後がよろしくって…よ!」 does not pass filter (!is_live & duration < 333 & title ~= (?i)штефанов) | (!is_live & duration < 333 & description ~= (?i)штефанов), skipping ..
[download] Downloading item 90 of 275
[youtube] Extracting URL: https://www.youtube.com/watch?v=jOfyRCRXWhM
[youtube] jOfyRCRXWhM: Downloading webpage
[youtube] jOfyRCRXWhM: Downloading ios player API JSON
[youtube] jOfyRCRXWhM: Downloading mweb player API JSON
[youtube] jOfyRCRXWhM: Downloading m3u8 information
[youtube] jOfyRCRXWhM: Marking watched
[youtube] jOfyRCRXWhM: Marking fully watched
[MetadataParser] Parsed meta_title from '%(title)s': 'Влюбился в девушку, которая на самом деле мужик #anime #аниме'
[download] Влюбился в девушку, которая на самом деле мужик #anime #аниме does not pass filter (!is_live & duration < 333 & title ~= (?i)штефанов) | (!is_live & duration < 333 & description ~= (?i)штефанов), skipping ..
...
[download] Downloading item 156 of 275
[youtube] Extracting URL: https://www.youtube.com/watch?v=gP5wpOLpr7A
[youtube] gP5wpOLpr7A: Downloading webpage
[youtube] gP5wpOLpr7A: Downloading ios player API JSON
[youtube] gP5wpOLpr7A: Downloading mweb player API JSON
[youtube] gP5wpOLpr7A: Downloading m3u8 information
[youtube] gP5wpOLpr7A: Marking watched
[youtube] gP5wpOLpr7A: Marking fully watched
[MetadataParser] Parsed meta_title from '%(title)s': 'He want Save Her Girlfriend At The Past But it will be causing time paradox'
[download] He want Save Her Girlfriend At The Past But it will be causing time paradox does not pass filter (!is_live & duration < 333 & title ~= (?i)штефанов) | (!is_live & duration < 333 & description ~= (?i)штефанов), skipping ..

Fixed in 2024.11.04?
After this update, at least it does not mark live broadcasts as watched.

yt-dlp --print is_live wxgaWVjMaDQ
True

yt-dlp --match-filters !is_live wxgaWVjMaDQ
[youtube] oauth: Refreshing access token
WARNING: [youtube] Preferring "ru" translated fields. Note that some metadata extraction may fail or be incorrect.
[youtube] Extracting URL: wxgaWVjMaDQ
[youtube] wxgaWVjMaDQ: Downloading webpage
[youtube] wxgaWVjMaDQ: Downloading ios player API JSON
[youtube] wxgaWVjMaDQ: Downloading mweb player API JSON
[youtube] wxgaWVjMaDQ: Downloading m3u8 information
[youtube] wxgaWVjMaDQ: Downloading m3u8 information
[youtube] wxgaWVjMaDQ: Marking watched
[youtube] wxgaWVjMaDQ: Marking fully watched
[MetadataParser] Parsed meta_title from '%(title)s': 'Молдова выбрала президента, Гугл сдал военные объекты, Айова за Харрис. Ганапольский, Сиркели 2024-11-04 10:21'
[download] Молдова выбрала президента, Гугл сдал военные объекты, Айова за Харрис. Ганапольский, Сиркели 2024-11-04 10:21 does not pass filter (!is_live), skipping ..


Broken Link

The link on Custom RPCs RpcExtensionBuilder trait API doc.

Do you have an older bookmark?
The updated doc here:
https://docs.substrate.io/main-docs/build/custom-rpc/
Uses the updated path:
https://paritytech.github.io/substrate/master/sc_service/trait.RpcExtensionBuilder.html
Any link/bookmark with rustdocs/v3.0.0 in the path will give you a 404, but the good news is that you will always be directed to a single source of truth instead of a snapshot like was used in the old location.


[Feature] Capability for natural language detection in a given document

Search before asking

[X] I searched the issues and found no similar issues.

Component
Transforms/Other
Feature
Identify language of each text with confidence score.
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Duplicate


fix copyright date error

Ⅰ. Describe what this PR does
This pr is to add or normalize license information in the file ./pkg/ddc/base/operation_lock_test.go.The time of Copyright is wrong.(2022->2023)
Ⅱ. Does this pull request fix one issue?
NONE

/lgtm


Ip address configuration issue with vagrant

When I try to run
vagrant up

I have the following message:
The IP address configured for the host-only network is not within the
allowed ranges. Please update the address used to be within the allowed
ranges and run the command again.

  Address: <IP_ADDRESS>
  Ranges: <IP_ADDRESS>/21

Valid ranges can be modified in the /etc/vbox/networks.conf file. For
more information including valid format see:

  https://www.virtualbox.org/manual/ch06.html#network_hostonly

OS: Pop!_os 22.04 LTS x86_64
VirtualBox version: 7.0.10

I found this solution which seems to work:
if not exists create the file /etc/vbox/network.conf
then in this file add:
* <IP_ADDRESS>/8 <IP_ADDRESS>/16
* 2001::/64

This solution where found on stack-overflow