Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 2 Support (Qt 5) › Trying to get Android version deployment running!

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #23876

    Felgo User

    <div>I am now searching to run my program using an Android kit so it will be useful for the deployment of the app. However, I am encountering more problems. I tried downloading all three of the Android versions available as an add-on to my existing installation. I am following all the directions on this webpage. Here is what is shows on my Qt versions (I am only showing the error for one but something similar happens for the other two):</div>
    <div>
    <div>image.png</div>
    </div>
    <div>
    <div>image.png</div>
    </div>
    <div></div>
    <div>Additionally, I followed all the directions to set up the Android SDK and NDK, but I am still encountering some errors as seen below.</div>
    <div>
    <div>image.png</div>
    </div>
    <div></div>
    <div>Do you have any solution to my problem to fix my Android kit setup?</div>
    <div></div>
    <div>Thanks for all your help,</div>
    <div>Arjun Kumar</div>

    #23884

    Filippo
    Felgo Team

    Hi Arjun,

     

    thank you for reaching out to us. I’ll gladly help you.

     

    Could you provide more details over what the issue is? I’m not able to see the images you wanted to link.

     

    Cheers,

    Filippo

    #23930

    Felgo User

    Hello Filippo,

     

    Sorry about the late response. I did not get any notifications about your reply.

     

    I am currently trying to release a simple game I created with Felgo to the Google Play Store. However to do so, I need to test and deploy with an Android kit first. However, I seem to have some issues getting my Qt Android versions and kits set up.  I am following all the directions on this webpage. On the Qt versions page, for all three of the Android versions I downloaded, it says something similar. For the Qt 5.13.2 Android x86 Felgo version, it says “No compilers can produce code for this Qt Version. Please define one or more compilers for x86-linux-android-elf-32bit. I have tried installing and re installing this numerous times over but I cannot seem to get this to work. Do you have any ideas on what I can do or where I can define the compiler?

     

    Thanks,

    Arjun

    #23934

    Filippo
    Felgo Team

    Hi Arjun,

     

    No problems at all. It looks there is something wrong with the Android SDK or NDK. You should check that everything is correctly installed and detected by QtCreator. This link might be helpful: https://doc.qt.io/qtcreator/creator-developing-android.html#specifying-android-device-settings .

     

    Check also if you’re missing any important packages from the Android SDK such as SDK Platforms.

     

    Are you able to build vanilla Android applications using that SDK/NDK combos?

    #23945

    Felgo User

    Hello Filippo,

     

    I am not able to build any vanilla Android applications with the combo. I have continuously tried, but right now, in Qt Creator, under Tools->Options->Devices->Android the java settings are okay. However, the SDK and NDK settings show two errors, putting an X next to SDK Manager Runs (requires exactly Java 1.8) and Platform SDK installed. The AVD and SDK managers do not allow me to add in virtual devices.

     

    Earlier, I had said I was getting an error in the Qt versions page. This is no longer the case. It now allows me to add the kit in but when I try to build with the kit (I am just ignoring the warnings I mentioned above), it gives the error message “Android build SDK not defined. Check Android settings.Error while building/deploying project FelgoCompetitiveBallTryOne (kit: Android for armeabi-v7a (Clang Qt 5.13.2 for Android ARMv7)) When executing step “Build Android APK””.

     

    I have been working on trying to get my Android kits running with Felgo for the past three months, and I keep encountering brand new errors! Do you have any suggestions on how I can get everything working again? (my end goal of this is to launch my app to the Google Play Store).

     

    Thanks for your help,

    Arjun Kumar

    #23946

    Filippo
    Felgo Team

    Hi Arjun,

     

    have you considered the easy way out using Felgo Cloud Builds? You basically link a repository and it builds that for you. It can even publish the artifacts to Google Play, or you can download the apks and do it yourself.

     

    If you still want to deploy the application yourself, I’d suggest to download the Android SDK and NDK, and start from scratch. After you’ve linked them to QtCreator what error messages are you seeing exactly?

     

    Cheers,

    Filippo

    #23948

    Felgo User

    Hello Filippo,

     

    I have tried using Felgo Cloud Builds. However, I have encountered a couple more issues. Since my app has custom c++ code, I have been running and testing it by using a custom live client. As a result, when I try to test in on the web client, it says my module is not found (this is a module I exported from C++ into QML using qmlRegisterType).

     

    I would love to test the app on my phone as well if possible but if I try to connect it to my phone (using live scripting app) through the web IDE, I get the same error module ”  ” not found. The same happens when I run it with my desktop kit on a custom live server, though I think this is because it is compiled with the MinGW kit rather than an Android kit. If I can get it to run and test, I would be happy to use either the cloud builds or regular deployment.

     

    For the errors I get, on the Android setup page in Qt Creator, there is a green checkmark for all parts of the setup except SDK Manager Runs (requires exactly Java 1.8) and Platform SDK Installed. It also will not let me add in or edit anything in the AVD or SDK managers (maybe as a result of the first issue). When I try to run with the Android kit regardless of the warnings, I get an error of “Android build SDK not defined. Check Android settings.Error while building/deploying project FelgoCompetitiveBallTryOne (kit: Android for armeabi-v7a (Clang Qt 5.13.2 for Android ARMv7)) When executing step “Build Android APK”” outputted.

    Thanks,

    Arjun

Viewing 7 posts - 1 through 7 (of 7 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded