Qt for Android下载Gradle的一些信息提示


  • 网站研运

    以前Qt 5.3还是5.4的时候Qt for Android引入了Gradle,当时就发现Gradle下载非常慢。就产生了一个问题:

    为什么Qt Creator下载Gradle很慢,而我们用浏览器下载Gradle很快?
    我们能不能手动下载Gradle,然后放在Qt Creator可以感知的位置,这样可以省下大量的时间。

    今天我们终于成功地构下载好了Gradle了,以下的输出可能会给我们一点儿启示。目前我们使用的是Qt Creator 4.0。

    19:53:32: 为项目QtDreamMotionEditor_28执行步骤 ...
    19:53:32: 配置没有改变, 跳过 qmake 步骤。
    19:53:32: 正在启动 "/usr/bin/make" 
    
    cd src/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/src.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile 
    make[1]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src'
    cd engine/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/engine/engine.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile 
    make[2]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine'
    cd core/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/engine/core/core.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile 
    make[3]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/core'
    make[3]: Nothing to be done for 'first'.
    make[3]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/core'
    cd io/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/engine/io/io.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile 
    make[3]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/io'
    make[3]: Nothing to be done for 'first'.
    make[3]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/io'
    cd system/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/engine/system/system.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile 
    make[3]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/system'
    make[3]: Nothing to be done for 'first'.
    make[3]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/system'
    cd render/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/engine/render/render.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile 
    make[3]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/render'
    make[3]: Nothing to be done for 'first'.
    make[3]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/render'
    make[2]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine'
    cd plugins/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/plugins/plugins.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile 
    make[2]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/plugins'
    cd motioneditor/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/plugins/motioneditor/motioneditor.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile 
    make[3]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/plugins/motioneditor'
    make[3]: Nothing to be done for 'first'.
    make[3]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/plugins/motioneditor'
    make[2]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/plugins'
    cd app/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/app/app.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile 
    make[2]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/app'
    /home/jiangcaiyang/Develop/AndroidNDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/jiangcaiyang/Develop/AndroidNDK/platforms/android-9/arch-arm/ -Wl,-soname,libQtDreamMotionEditor.so -Wl,-rpath=/home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/lib -Wl,--no-undefined -Wl,-z,noexecstack -shared -o ../../../QtDreamMotionEditor_28/android-gxx-static/bin/libQtDreamMotionEditor.so main.o System.o qrc_Accessory.o qrc_QML.o moc_System.o   -L/home/jiangcaiyang/Develop/AndroidNDK/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/home/jiangcaiyang/Develop/AndroidNDK/platforms/android-9/arch-arm//usr/lib -L/media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/android-gxx-static/lib -L/media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/android-gxx-static/bin -lMotionEditorPlugin -lRenderPlugin -lIOPlugin -lSystemPlugin -lCorePlugin -L/home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/lib -lQt5Quick -lQt5Widgets -lQt5Gui -lQt5Qml -lQt5Network -lQt5AndroidExtras -lQt5Core -lGLESv2 -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc
    make[2]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/app'
    make[1]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src'
    19:53:33: 进程"/usr/bin/make"正常退出。
    19:53:33: 正在启动 "/usr/bin/make" INSTALL_ROOT=/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/android-build install
    
    cd src/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/src.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile install
    make[1]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src'
    cd engine/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/engine/engine.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile install
    make[2]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine'
    cd core/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/engine/core/core.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile install
    make[3]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/core'
    install -m 644 -p ../../../../QtDreamMotionEditor_28/android-gxx-static/lib/libCorePlugin.a /media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/android-build/libs/armeabi-v7a/libCorePlugin.a
    /home/jiangcaiyang/Develop/AndroidNDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib /media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/android-build/libs/armeabi-v7a/libCorePlugin.a
    make[3]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/core'
    cd io/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/engine/io/io.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile install
    make[3]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/io'
    install -m 644 -p ../../../../QtDreamMotionEditor_28/android-gxx-static/lib/libIOPlugin.a /media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/android-build/libs/armeabi-v7a/libIOPlugin.a
    /home/jiangcaiyang/Develop/AndroidNDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib /media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/android-build/libs/armeabi-v7a/libIOPlugin.a
    make[3]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/io'
    cd system/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/engine/system/system.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile install
    make[3]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/system'
    install -m 644 -p ../../../../QtDreamMotionEditor_28/android-gxx-static/lib/libSystemPlugin.a /media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/android-build/libs/armeabi-v7a/libSystemPlugin.a
    /home/jiangcaiyang/Develop/AndroidNDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib /media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/android-build/libs/armeabi-v7a/libSystemPlugin.a
    make[3]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/system'
    cd render/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/engine/render/render.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile install
    make[3]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/render'
    install -m 644 -p ../../../../QtDreamMotionEditor_28/android-gxx-static/lib/libRenderPlugin.a /media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/android-build/libs/armeabi-v7a/libRenderPlugin.a
    /home/jiangcaiyang/Develop/AndroidNDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib /media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/android-build/libs/armeabi-v7a/libRenderPlugin.a
    make[3]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine/render'
    make[2]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/engine'
    cd plugins/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/plugins/plugins.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile install
    make[2]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/plugins'
    cd motioneditor/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/plugins/motioneditor/motioneditor.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile install
    make[3]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/plugins/motioneditor'
    install -m 644 -p ../../../../QtDreamMotionEditor_28/android-gxx-static/lib/libMotionEditorPlugin.a /media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/android-build/libs/armeabi-v7a/libMotionEditorPlugin.a
    /home/jiangcaiyang/Develop/AndroidNDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib /media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/android-build/libs/armeabi-v7a/libMotionEditorPlugin.a
    make[3]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/plugins/motioneditor'
    make[2]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/plugins'
    cd app/ && ( test -e Makefile || /home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/qmake /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/src/app/app.pro -spec android-g++ -o Makefile ) && /usr/bin/make -f Makefile install
    make[2]: Entering directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/app'
    install -m 755 -p ../../../QtDreamMotionEditor_28/android-gxx-static/bin/libQtDreamMotionEditor.so /media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/android-build/libs/armeabi-v7a/libQtDreamMotionEditor.so
    make[2]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/app'
    make[1]: Leaving directory '/media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src'
    19:53:34: 进程"/usr/bin/make"正常退出。
    19:53:34: 正在启动 "/home/jiangcaiyang/Develop/Qt5.6.0/5.6/android_armv7/bin/androiddeployqt" --input /media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/app/android-libQtDreamMotionEditor.so-deployment-settings.json --output /media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/android-build --deployment bundled --android-platform android-23 --jdk /usr/lib/jvm/java-8-openjdk-amd64 --gradle
    Generating Android Package
      Input file: /media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/src/app/android-libQtDreamMotionEditor.so-deployment-settings.json
      Output directory: /media/jiangcaiyang/我的软件盘/QtProject/build-QtDreamMotionEditor_28-Android_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/android-build/
      Application binary: /media/jiangcaiyang/我的软件盘/QtProject/QtDreamMotionEditor_28/android-gxx-static/bin/libQtDreamMotionEditor.so
      Android build platform: android-23
      Install to device: No
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
    Downloading https://services.gradle.org/distributions/gradle-2.2.1-all.zip
    ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    Unzipping /home/jiangcaiyang/.gradle/wrapper/dists/gradle-2.2.1-all/6dibv5rcnnqlfbq9klf8imrndn/gradle-2.2.1-all.zip to /home/jiangcaiyang/.gradle/wrapper/dists/gradle-2.2.1-all/6dibv5rcnnqlfbq9klf8imrndn
    Set executable permissions for: /home/jiangcaiyang/.gradle/wrapper/dists/gradle-2.2.1-all/6dibv5rcnnqlfbq9klf8imrndn/gradle-2.2.1/bin/gradle
    Download https://jcenter.bintray.com/com/android/tools/build/gradle/1.1.0/gradle-1.1.0.pom
    Download https://jcenter.bintray.com/com/android/tools/build/gradle-core/1.1.0/gradle-core-1.1.0.pom
    Download https://jcenter.bintray.com/com/android/tools/build/builder/1.1.0/builder-1.1.0.pom
    Download https://jcenter.bintray.com/com/android/tools/lint/lint/24.1.0/lint-24.1.0.pom
    Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/5.1/proguard-gradle-5.1.pom
    Download https://jcenter.bintray.com/net/sf/proguard/proguard-parent/5.1/proguard-parent-5.1.pom
    Download https://jcenter.bintray.com/com/android/tools/build/builder-model/1.1.0/builder-model-1.1.0.pom
    Download https://jcenter.bintray.com/com/android/tools/build/builder-test-api/1.1.0/builder-test-api-1.1.0.pom
    Download https://jcenter.bintray.com/com/android/tools/sdklib/24.1.0/sdklib-24.1.0.pom
    Download https://jcenter.bintray.com/com/android/tools/sdk-common/24.1.0/sdk-common-24.1.0.pom
    Download https://jcenter.bintray.com/com/android/tools/common/24.1.0/common-24.1.0.pom
    Download https://jcenter.bintray.com/com/android/tools/build/manifest-merger/24.1.0/manifest-merger-24.1.0.pom
    Download https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/24.1.0/ddmlib-24.1.0.pom
    Download https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.pom
    Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
    Download https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48.pom
    Download https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.pom
    Download https://jcenter.bintray.com/org/ow2/asm/asm/5.0.3/asm-5.0.3.pom
    Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/5.0.3/asm-parent-5.0.3.pom
    Download https://jcenter.bintray.com/org/ow2/ow2/1.3/ow2-1.3.pom
    Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.pom
    Download https://jcenter.bintray.com/com/android/tools/lint/lint-checks/24.1.0/lint-checks-24.1.0.pom
    Download https://jcenter.bintray.com/org/eclipse/jdt/core/compiler/ecj/4.4/ecj-4.4.pom
    Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/5.1/proguard-base-5.1.pom
    Download https://jcenter.bintray.com/com/android/tools/annotations/24.1.0/annotations-24.1.0.pom
    Download https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/24.1.0/layoutlib-api-24.1.0.pom
    Download https://jcenter.bintray.com/com/android/tools/dvlib/24.1.0/dvlib-24.1.0.pom
    Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.pom
    Download https://jcenter.bintray.com/org/apache/commons/commons-parent/33/commons-parent-33.pom
    Download https://jcenter.bintray.com/org/apache/apache/13/apache-13.pom
    Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.1.1/httpclient-4.1.1.pom
    Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.1.1/httpcomponents-client-4.1.1.pom
    Download https://jcenter.bintray.com/org/apache/httpcomponents/project/4.1.1/project-4.1.1.pom
    Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.pom
    Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.1/httpcomponents-client-4.1.pom
    Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom
    Download https://jcenter.bintray.com/com/google/guava/guava/17.0/guava-17.0.pom
    Download https://jcenter.bintray.com/com/google/guava/guava-parent/17.0/guava-parent-17.0.pom
    Download https://jcenter.bintray.com/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom
    Download https://jcenter.bintray.com/com/android/tools/lint/lint-api/24.1.0/lint-api-24.1.0.pom
    Download https://jcenter.bintray.com/org/ow2/asm/asm-analysis/5.0.3/asm-analysis-5.0.3.pom
    Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.1/httpcore-4.1.pom
    Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-core/4.1/httpcomponents-core-4.1.pom
    Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
    Download https://jcenter.bintray.com/org/apache/commons/commons-parent/5/commons-parent-5.pom
    Download https://jcenter.bintray.com/org/apache/apache/4/apache-4.pom
    Download https://jcenter.bintray.com/commons-codec/commons-codec/1.4/commons-codec-1.4.pom
    Download https://jcenter.bintray.com/org/apache/commons/commons-parent/11/commons-parent-11.pom
    Download https://jcenter.bintray.com/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.pom
    Download https://jcenter.bintray.com/com/android/tools/build/gradle/1.1.0/gradle-1.1.0.jar
    

    以后或许我们可以利用这些提示来解决一些问题呢。


 

最近的回复

  • Qt for Python终于发布了!
    以前的我,可能接触了一点Python,但是都没有坚持下来,现在Python水平还很弱呢。不过我基本语法还是了解一点的。所以我打算借着Qt for Python的东风,来尝试一下Python的开发。

    1、去Python 官网安装Python。地址是:

    https://www.python.org/downloads/mac-osx
    0_1529422911935_1.png
    我下载的版本是3.6.5

    2、双击pkg安装包进行安装,按照提示安装即可,不必做什么设置。
    0_1529422932496_2.png
    3、安装pip。pip是一个类似npm的快速安装器,非常适合python安装。由于Mac的安全策略,这个时候要输入的命令以sudo开始:

    sudo python get-pip.py

    4、需要安装Qt官网提供的python安装包。Qt的Python安装包并没有放入Pypi的地址,因为Qt库本身就偏大。
    但是依然能够通过pip安装。只是安装的命令稍微长:

    sudo pip install --index-url=https://download.qt.io/official_releases/QtForPython/ pyside2

    然后输出的结果是:
    daxiongtekiMacBook-Air:~ jiangcaiyang$ sudo pip install --index-url=https://download.qt.io/official_releases/QtForPython/ pyside2
    Password:
    The directory '/Users/jiangcaiyang/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
    The directory '/Users/jiangcaiyang/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
    Looking in indexes: https://download.qt.io/official_releases/QtForPython/
    Collecting pyside2
    Downloading https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.11.0-5.11.0-cp27-cp27m-macosx_10_11_intel.whl (125.7MB)
    100% |████████████████████████████████| 125.7MB 1.0MB/s
    matplotlib 1.3.1 requires nose, which is not installed.
    matplotlib 1.3.1 requires tornado, which is not installed.
    Installing collected packages: pyside2
    Successfully installed pyside2-5.11.0
    安装成功。

    5、安装成功了,开始写一个测试的程序吧!
    最简单的,当然是Hello Qt for Python啦。很简单,使用Qt Creator,很方便地可以创建这样的Python脚本,使用方法也和C++版本的Qt应用相同:

    #!/usr/bin/env python # -*- coding: utf-8 -*- from PySide2.QtWidgets import QApplication, QLabel app = QApplication( [ ] ) label = QLabel( "您好 Qt for Python!" ) label.show( ) app.exec_( )

    0_1529422962008_4.jpg
    其中第一行表示用/usr/bin/python 来解析,大家可以在命令提示符输入“which python”来看结果:
    第二行则是在Python 3.x下不用写了,设定的是utf-8编码格式。大家最好也是使用这样的格式,因为这样遇到编码的坑最少。
    因为Python没有main()函数的说法,所以直接从上往下运行就可以了。Python是弱语言,所以不用声明类型,这里还有一点不一样,就是
    app.exec_( ),和C++版本不同的是,添加上了一个下划线。可能和Python内置的函数冲突了?我还需要再调查一下。

    接下来我就仿照例子写了一个更加复杂的Python程序,大致是这样的:

    #!/usr/bin/env python # -*- coding: utf-8 -*- import sys import random from PySide2.QtCore import Qt from PySide2.QtWidgets import (QApplication, QWidget, QPushButton, QLabel, QVBoxLayout ) class MyWidget( QWidget ): def __init__( self ): QWidget.__init__( self ) self.hello = [ "Hallo welt!", "Ciao mondo", "Hei maailma", "Hola mundo", "Hei verden!" ] self.button = QPushButton( "Click me!" ) self.text = QLabel( "Hello World" ) self.text.setAlignment( Qt.AlignCenter ) self.layout = QVBoxLayout( ) self.layout.addWidget( self.text ) self.layout.addWidget( self.button ) self.setLayout( self.layout ) self.button.clicked.connect( self.magic ) def magic( self ): self.text.setText( random.choice( self.hello ) ) if __name__ == "__main__": app = QApplication( sys.argv ) widget = MyWidget( ) widget.resize( 640, 480 ) widget.show( ) sys.exit( app.exec_( ) )

    程序运行起来还行吧!
    0_1529422988117_5.png

    阅读更多
  • @jiangcaiyang 如果需要自动化测试,也用的上

    阅读更多
  • @青山白云 这个可能有点用,但是可能更多局限于爬虫领域吧。

    阅读更多
  • https://blog.csdn.net/huilan_same/article/details/51896672

    python制作爬虫时候使用selenium进行自动化
    使用chromedriver时候需要对应版本

    chromedriver版本 支持的Chrome版本 v2.39 v66-68 v2.38 v65-67 v2.37 v64-66 v2.36 v63-65 v2.35 v62-64 v2.34 v61-63 v2.33 v60-62 v2.32 v59-61 v2.31 v58-60 v2.30 v58-60 v2.29 v56-58 v2.28 v55-57 v2.27 v54-56 v2.26 v53-55 v2.25 v53-55 v2.24 v52-54 v2.23 v51-53 v2.22 v49-52 v2.21 v46-50 v2.20 v43-48 v2.19 v43-47 v2.18 v43-46 v2.17 v42-43 v2.13 v42-45 v2.15 v40-43 v2.14 v39-42 v2.13 v38-41 v2.12 v36-40 v2.11 v36-40 v2.10 v33-36 v2.9 v31-34 v2.8 v30-33 v2.7 v30-33 v2.6 v29-32 v2.5 v29-32 v2.4 v29-32 查谷歌浏览器版本

    地址栏输入chrome://settings/help

    0_1528459921154_16bbaf4d-0e8e-42cd-9e52-f8fc43932871-image.png

    所有chromedriver均可在下面链接中下载到:

    http://chromedriver.storage.googleapis.com/index.html

    阅读更多

关注我们

微博
QQ群











召唤伊斯特瓦尔