Forums

OverviewV-Play 2 Support (Qt 5) › Stay black screen on android

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #13505

    Burhan

    Hi,

    I create a game and build it for android and don’t get any error message but get the three warnings:

    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

    I copy the apk to android phone then it stays on black screen.

    the question: what is the solution of the warrnings and what can I do to start the game ?

     

    #13512

    Alex
    V-Play Team
    #13528

    Burhan

    Hi Alex,

    I built it first, then copy the apk to android device.

    I can’t see my device when run the app on QtCreator. I built it first because of that.

    I watched the video. I will redo them as you show. There are some updates that I miss on SDK Manager.

    Thanks.

     

    #13530

    Burhan

    Hi Alex,

    There is a comic situation I think because I just downloaded it (NDK) :)

    it’s on the image:

    http://postimg.org/image/tq1x1ybzv/

    However there are no errors in Qt Versions,Compilers and Debuggers

    Debuggers:

    http://postimg.org/image/rwnzgngaj/

    I want to load it because there are different ndk versions that Qt Creator use, maybe it’s important.

    What do you suggest ?

    Best,

    Burhan.

    #13539

    Burhan

    Hi,

    I find it’s a bug and peruse the CHANGELOG.md but can’t find a solution :(

    Probably I couldn’t understand what I should do if the solution is in the log file. However read the bug issues

    I found a solution in the links but it’s linux code, I don’t have a linux loaded pc. So Can anyone who has linux download the file and reupload it for windows PCs?

    https://forum.qt.io/topic/66065/missing-file-arm-linux-androideabi-gdb-exe/3

    https://bugreports.qt.io/browse/QTCREATORBUG-15933

    https://codereview.qt-project.org/#/c/152263/        <— linux code is in this link

    Tried lots of things except for it mentioned above but couldn’t solve so I gave up to strive.

    This is my NDK and I mixed up it :(

    http://postimg.org/image/qzpve96qj/

    Really tired.

    Now wait your suggestions,

    Best.

    • This reply was modified 2 years, 1 month ago by  beginner.
    • This reply was modified 2 years, 1 month ago by  beginner.
    • This reply was modified 2 years, 1 month ago by  beginner.
    #13586

    Günther
    V-Play Team

    Hi Burhan,
    The bug report links that you posted mention that this problem should not occur with NDK r10.
    Your screenshot shows that you already installed different versions, are you sure the correct version is used?

    Also, it should still work to just build and run the app normally (without debugging) – would this not be enough for running and testing your app?

    Best,
    Günther

    #13591

    Burhan

    Is there a way to delete the all kits safely ?

    Otherwise should I reinstall the Vplay Engine ?

    #13593

    Burhan

    Hi all,

    solved some problems.

    Now I can run an app on my phone.

    changed lines:

    distributionUrl=http\://services.gradle.org/distributions/gradle-2.2-all.zip <- Because of there is a gradle problem when I changed Target Api

    Minimum required SDK : API 14: Android 4.0, 4.0.1, 4.0.2 <- in Manifest.xml , Because of Qt says you use a decrecated Api on Minimum req. SDK : API 9

    Then I do the instructions in Gradle Build System web page

    after all of this,there is just a header :(

    https://i.imgsafe.org/c5387b029b.png

    If it’s necessary I can put the application output when I run the game.

    Note:

    I reinstalled Vplay again. Then just setup android armv7.

    I use NDK r11c . The gdb.exe and gdbserver files are in the locations where they should be.

    What should I do run it completely ?

    Best.

    —-

    Solved, it’s just file character length problem (must be < 256) :)

    Now I run a game on my phone thanks Alex and Günther

    Best,

    Burhan.

    • This reply was modified 2 years, 1 month ago by  beginner.
Viewing 8 posts - 1 through 8 (of 8 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