cannot find -lc++ when building android app
-
Hi,
I'm on Pop!_OS (ubuntu based distro) running Qt creator 4.9.2 with Qt 5.13.0 and am currently trying to build an app for android. When I try to build my app for desktop I have no error, but when I try to build it for Android the Make command returns a error: cannot find -lc++.
I also tried running one of the basics Qt example but I got the same response.I use the SDK 26.1.1 and the NDK 20.0.5594570.
Any idea what I need to do to make it run?
-
You should read
https://forum.qt.io/topic/103713/error-cannot-find-lc-qt-5-12-android
and
https://forum.qt.io/topic/104325/error-cannot-find-lc-error-during-compilation-on-android
for possible solutions.
-
I had same problem so NDK(v20) . I downloaded NDK older version (v19c) from https://developer.android.com/ndk/downloads/older_releases.html. It is solved this.