OverviewFelgo 2 Support (Qt 5) › qt load resource file on android

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #16376


    hi , i need to load a resource file on android.

    but i cannot find the right directory.

    where is the assets folder located when installed on an android device?






    i need to load a file from c++ but i cannot find the location of the assets folder.

    how can i locate this folder?


    Felgo Team

    Hi Bas,

    assets are usually located in:


    This folder is added to your project as a “deployment folder” in the project file. All files in this folder are available on all platforms.

    If, for example, you add an image called image.png, you can access it from QML and C++ with the path “assets/image.png”.


    If, on the other hand, you need the Android specific assets (for use with native libraries and java code), these are located in:


    The android folder is generated when you click the “Create templates” button under:

    Projects tab > select any Android build > Expand details of "Build Android APK" > "Create templates" button

    Hope this helps!



Viewing 3 posts - 1 through 3 (of 3 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
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support