Hi, I just installed an Android development environment. Unfortunately deploying an app to Android devices (physical or virtual) fails. Here are some details:
1. Building, deploying and running a simple "Hello World" project (including some C++ code) from Android studio works for both virtual device on emulator with X86 code and physical ARM device connected via USB. 2. Installation in QtCreator 4.4.0 looks reasonable: I entered JDK location (/usr/lib/jvm/java-8-openjdk-amd64), SDK location (/home/jochen/Android/Sdk) and NDK location (/home/jochen/Android/Sdk/ndk-bundle). 12 toolchains were found and two kits created. The virtual device is displayed (7_WSVGA_Tablet_API_17). Issue 1: AVD Manager cannot be started from QtCreator. Error message is: AVD manager UI tool is not available in the installed SDK tools (version 26.1.1). Use the command line tool "avdmanager" for advanced AVD management. This is not a problem because I can use Android Studio to create virtual devices and I can start the virtual device from QtCreator. 3. Building example "calqlatr" works for both Android kits. 4. Issue 2: Deploying the example fails: Cannot find the android build step. Error while building/deploying project calqlatr (kit: Android for x86 GCC 4.9, Qt 5.9.0 for Android x86)) When executing step "Deploy to Android device" (Same error message for ARM kit). When I look into Projects / Run Settings the deployment step "Deploy to Android device" exists. There is nothing filled into the Run configuration (only empty "Custom Executable" is shown) but I assume that is correct for Android devices, isn't it? Any hints? BTW, is it possible that the QtCreator documentation is wrong? In "Deploying Applications to Android Devices" an Ui element "Projects > Build Android APK > Details" is mentioned. I cannot find it and also the screenshot of the details looks completely different from mine which lists "Uninstall previous package", "Reset Default Devices", "Clean Temporary Libraries Directory on Device" and "Install Ministro from APK" only. Issue 3: When I press the button "Clean Temporary Libraries Directory on Device" QtCreator crashes immediately. Regards, Jochen _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
