Unsolved Can't find stdlib.h included in cstdlib.
-
@jsulm
the SDK Manager pops a window:Fetching http://dl-ssl.google.com/android/repository/addons_list-2.xml
Fetched Add-ons List successfully
Fetching URL: http://dl-ssl.google.com/android/repository/repository-10.xml
Done loading packages.
Fetching http://dl-ssl.google.com/android/repository/addons_list-2.xml
Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connection to http://dl-ssl.google.com refused
Fetched Add-ons List successfully
Fetching URL: http://dl-ssl.google.com/android/repository/repository-10.xml -
I manually changed the INCLUDEPATH, Qt found the headers but said:
cannot open crtbegin_so.o: No such file or directory
cannot open crtend_so.o: No such file or directoryfollowed by many other errors.
-
@jsulm
I set the INCLUDEPATH,
make links of many files.
and it works...
But there must be something wrong:why these paths goes wrong.that's what I did:
xiaodan@xiaodan-G41M-ES2L:~/qtproj/build-test_android-Android_for_armeabi_GCC_4_9_Qt_5_5_0-Debug$ ll lrwxrwxrwx 1 xiaodan xiaodan 85 7月 19 17:52 crtbegin_so.o -> /home/xiaodan/libs/android-ndk-r10/platforms/android-L/arch-arm/usr/lib/crtbegin_so.o lrwxrwxrwx 1 xiaodan xiaodan 83 7月 19 17:52 crtend_so.o -> /home/xiaodan/libs/android-ndk-r10/platforms/android-L/arch-arm/usr/lib/crtend_so.o xiaodan@xiaodan-G41M-ES2L:~/libs/android-ndk-r10/prebuilt$ ll lrwxrwxrwx 1 xiaodan xiaodan 14 7月 19 17:58 android-arm -> android-arm64//
-
@egg.nut Did you configure QtCreator properly? Last time I did something for Android everything was working just fine after setting up SDK/NDK/QtCreator (and Qt for Android).
This one looks strange: android-arm -> android-arm64
Are you trying to build for arm64? -
-
@jsulm
I've seen a warning in Android Setting:
Qt versions for 3 architectures are missing.
Does this matters? -
@egg.nut If you have Qt for the architecture you want to use then you can ignore all the other
-
@jsulm
Not knowing what exactly is going wrong, it works.
Thanks a lot for your help.
I hope you could do me a hand again when other error occurs. -
@egg.nut Sure, I will help if I can
-
@egg.nut I met the same question,how do you solve it?