Forums

OverviewFelgo 2 Support (Qt 5) › Error while building sample project on device.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #22724

    Josh

    Hi Felgo devs, for some weeks now, I have been trying to fix the problem, since I installed Felgo I haven’t been able to build any project. I have installed all the tools for Android using Android Studio and even successfully built a project in Android (Kotlin). On Felgo, here is the error I get, any help will be appreciated.

     

    Initializing deployment to Android device/simulator

    Deploying to 1842c48e

    18:50:19: Running steps for project BasicApp…

    18:50:19: Configuration unchanged, skipping qmake step.

    18:50:19: Starting: “/home/projosh/Android/android-ndk-r20b/prebuilt/linux-x86_64/bin/make” -j2

    make: Nothing to be done for `first’.

    18:50:20: The process “/home/projosh/Android/android-ndk-r20b/prebuilt/linux-x86_64/bin/make” exited normally.

    18:50:20: Removing directory /home/projosh/Felgo/Examples/Felgo/appdemos/build-BasicApp-Android_for_arm64_v8a_Clang_Qt_5_13_2_for_Android_ARM64_v8a-Debug/android-build/assets

    18:50:20: Removing directory /home/projosh/Felgo/Examples/Felgo/appdemos/build-BasicApp-Android_for_arm64_v8a_Clang_Qt_5_13_2_for_Android_ARM64_v8a-Debug/android-build/libs

    18:50:20: Starting: “/home/projosh/Android/android-ndk-r20b/prebuilt/linux-x86_64/bin/make” INSTALL_ROOT=/home/projosh/Felgo/Examples/Felgo/appdemos/build-BasicApp-Android_for_arm64_v8a_Clang_Qt_5_13_2_for_Android_ARM64_v8a-Debug/android-build install

    /home/projosh/Felgo/Felgo/android_arm64_v8a/bin/qmake -install qinstall /home/projosh/Felgo/Examples/Felgo/appdemos/basicapp/qml /home/projosh/Felgo/Examples/Felgo/appdemos/build-BasicApp-Android_for_arm64_v8a_Clang_Qt_5_13_2_for_Android_ARM64_v8a-Debug/android-build/assets/qml

    /home/projosh/Felgo/Felgo/android_arm64_v8a/bin/qmake -install qinstall /home/projosh/Felgo/Examples/Felgo/appdemos/basicapp/assets /home/projosh/Felgo/Examples/Felgo/appdemos/build-BasicApp-Android_for_arm64_v8a_Clang_Qt_5_13_2_for_Android_ARM64_v8a-Debug/android-build/assets/assets

    /home/projosh/Felgo/Felgo/android_arm64_v8a/bin/qmake -install qinstall -exe libBasicApp.so /home/projosh/Felgo/Examples/Felgo/appdemos/build-BasicApp-Android_for_arm64_v8a_Clang_Qt_5_13_2_for_Android_ARM64_v8a-Debug/android-build/libs/arm64-v8a/libBasicApp.so

    18:50:21: The process “/home/projosh/Android/android-ndk-r20b/prebuilt/linux-x86_64/bin/make” exited normally.

    18:50:21: Starting: “/home/projosh/Felgo/Felgo/android_arm64_v8a/bin/androiddeployqt” –input /home/projosh/Felgo/Examples/Felgo/appdemos/build-BasicApp-Android_for_arm64_v8a_Clang_Qt_5_13_2_for_Android_ARM64_v8a-Debug/android-libBasicApp.so-deployment-settings.json –output /home/projosh/Felgo/Examples/Felgo/appdemos/build-BasicApp-Android_for_arm64_v8a_Clang_Qt_5_13_2_for_Android_ARM64_v8a-Debug/android-build –android-platform android-28 –jdk /usr/local/java/jdk1.8.0_121 –gradle

    Generating Android Package

    Input file: /home/projosh/Felgo/Examples/Felgo/appdemos/build-BasicApp-Android_for_arm64_v8a_Clang_Qt_5_13_2_for_Android_ARM64_v8a-Debug/android-libBasicApp.so-deployment-settings.json

    Output directory: /home/projosh/Felgo/Examples/Felgo/appdemos/build-BasicApp-Android_for_arm64_v8a_Clang_Qt_5_13_2_for_Android_ARM64_v8a-Debug/android-build/

    Application binary: /home/projosh/Felgo/Examples/Felgo/appdemos/build-BasicApp-Android_for_arm64_v8a_Clang_Qt_5_13_2_for_Android_ARM64_v8a-Debug/libBasicApp.so

    Android build platform: android-28

    Install to device: No

    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

    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Fusion.impl

    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl

    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl

    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Material.impl

    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Imagine.impl

    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Imagine.impl

    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Universal.impl

    FAILURE: Build failed with an exception.

    * What went wrong:

    A problem occurred configuring root project ‘android-build’.

    > Could not resolve all artifacts for configuration ‘:classpath’.

    > Could not find com.android.tools.build:gradle:3.3.1.

    Searched in the following locations:

    https://jcenter.bintray.com/com/android/tools/build/gradle/3.3.1/gradle-3.3.1.pom

    https://jcenter.bintray.com/com/android/tools/build/gradle/3.3.1/gradle-3.3.1.jar

    Required by:

    project :

    * Try:

    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights.

    * Get more help at https://help.gradle.org

    BUILD FAILED in 51s

    Building the android package failed!

    — For more information, run this command with –verbose.

    — Skipping /home/projosh/Felgo/Felgo/android_arm64_v8a/plugins/position/libqtposition_serialnmea.so. It has unmet dependencies: lib/libQt5SerialPort.so.

    — Skipping /home/projosh/Felgo/Felgo/android_arm64_v8a/plugins/iconengines/libqsvgicon.so. It has unmet dependencies: lib/libQt5Svg.so.

    — Skipping /home/projosh/Felgo/Felgo/android_arm64_v8a/plugins/imageformats/libqsvg.so. It has unmet dependencies: lib/libQt5Svg.so.

    18:51:32: The process “/home/projosh/Felgo/Felgo/android_arm64_v8a/bin/androiddeployqt” exited with code 14.

    Error while building/deploying project BasicApp (kit: Android for arm64-v8a (Clang Qt 5.13.2 for Android ARM64-v8a))

    When executing step “Build Android APK”

     

    I think it’s gradle problem but can’t figure it out, have used different NDK versions.

Viewing 1 post (of 1 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support