Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter initialization failed. #7

Open
aleonnet opened this issue Mar 21, 2021 · 2 comments
Open

Flutter initialization failed. #7

aleonnet opened this issue Mar 21, 2021 · 2 comments

Comments

@aleonnet
Copy link

Hi @AndreasSchacherbauerWikitude @pnagele @ChrisWiki

I'm having a problema building in VS Code despite ndk filter. Flutter doctor -v shows no error.
<<
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
E/FlutterLoader( 5145): Flutter initialization failed.
E/FlutterLoader( 5145): java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found

I'd like to try wikitude on flutter, could you help me please?

Thanks,
Alessandro

@it-sam
Copy link

it-sam commented Apr 14, 2021

if you are developing for Android with Visual Studio Code the abiFilter has to be removed.
So try removing this.

ndk {
    abiFilters 'armeabi-v7a'
}

@georgiaTsi
Copy link

Change android/app/build.gradle
ndk { abiFilters 'armeabi-v7a' }

to
ndk { abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'mips', 'mips64', 'arm64-v8a' }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants