shekohex / flutterust

Flutter + Rust = :heart:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

note: ld: error: unable to find library -lgcc

mlg-hub opened this issue · comments

Am trying to run the project on Ubuntu 20 and i am stuck at this error, when running cargo make:
note: ld: error: unable to find library -lgcc
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)

I had your problem today.
I think is related to your Android SDK

Schermata da 2021-08-20 16-49-34

Thanks. let me try it and close this issue once it works.
did it work for you?

The error is due toNDK version. The solution that worked for me was to downgrade the NDK version to 20.0.*