【1】SDK Manager无法更新
Android SDK安装后需要运行SDK Manager下载安装包,默认从google网站下载,但被GWF和谐了,感谢一位网友提供的镜像站点。具体步骤是:运行SDK Manager,在菜单Tools->Options中将HTTP Proxy Server设置为mirrors.neusoft.edu.cn,勾上Force https://... source to be fetched using ....
【2】mkdir.exe系统错误:缺少cygintl-2.dll
重装win32-openssh
【3】build.xml出错
将android-sdk\build-tools下的23.0.3/aidl.exe复制到24.0.0-preview文件夹下
【4】cp -f libmyandroid.so E:/QtProject/build-myandroid-Android_for_armeabi_v7a_GCC_4_8_Qt_5_6_1-Debug/android-build/libs/armeabi-v7a/libmyandroid.so
makefile:746: recipe for target ‘install_target‘ failed
process_begin: CreateProcess(NULL, cp -f libmyandroid.so E:/QtProject/build-myandroid-Android_for_armeabi_v7a_GCC_4_8_Qt_5_6_1-Debug/android-build/libs/armeabi-v7a/libmyandroid.so, ...) failed.
make (e=2): 系统找不到指定的文件。
mingw32-make: [install_target] Error 2 (ignored)
【原因】cp命令缺失
【解决】将cygwin64/bin下cp.exe复制到Qt5.6.1\Tools\mingw492_32\bin下或者在环境变量中设置path路径
另外需要安装VS2013运行环境,vcredist_x64(Visual C++ Redistributable Packages for Visual Studio 2013).exe
http://www.qtcn.org/bbs/apps.php?q=diary&a=detail&did=2194&uid=164520