Forums

OverviewFelgo 1 Support › Can't compile to android with API level below 26

Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21394

    Federico

    Hello,

    I’m new to Felgo, and right now i’m trying to compile to android, but it seems impossible.

    I’m trying to compile the template provided by Felgo that has only a Page and the Felgo Logo.

     

    According to the documentation, the minimum api level is 16, but i can’t compile it. I get this kind of errors:

    merged/debug/values-ldltr-v21/values-ldltr-v21.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name ‘android:Widget.Material.Spinner.Underlined’.

     

    And like this, many more with different components.

    As i upgrade the API level, closer and closer to 26, the number of these errors goes down, and it only compiles successfully in API 26 (Android 8.0).

     

    Also, something i noticed is that the compiler is looking for the ndk in androidSDK/ndk-bundle, and does not take in consideration the path given to qtCreator. Is this normal?

     

    Thanks in advance!

    #21412

    Alex
    Felgo Team

    Hi,

    there is a difference between the minimum API level and the target API level. Felgo apps (and Qt apps in general) make use of later API level features, thus require a higher API level to compile against. They will still run on devices with lower API level, as Android is backwards compatible in that sense.

    Can you check the Qt forums or bug requests if a bug for Qt Creator is filed? As far as we know, the NDK path set in Qt Creator is respected, we did not experience such issues, nor have reports of that from our users.

    Cheers,
    Alex

Viewing 2 posts - 1 through 2 (of 2 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