Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Class android.graphics.drawable.RippleDrawable not found on x86 Android Emulator.
Qt 6.11 is out! See what's new in the release blog

Class android.graphics.drawable.RippleDrawable not found on x86 Android Emulator.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
androidqt creator 4.6
1 Posts 1 Posters 987 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dmitriano
    wrote on last edited by Dmitriano
    #1

    I build my C++ QT Quick (QML) app for x86 platform with QT 5.10.1 and the following settings in QT Creator 4.6.1:

    Build Android APK -> Android Build SDK: android-19
    Build Environment: ANDROID_NDK_PLATFORM: android-19

    When I start the app on x86 emalator with Android 4.4 (installed with Android Studio) I get the following exception:

    java.lang.ClassNotFoundException: android.graphics.drawable.RippleDrawable

    but it works on x86 Emulator with 21 API level (Android 5.0), and if I start an app build in Android Studio with API level 19 it works fine on x86 Emulator, also ARM app built in QT Creator works fine in ARM Emulator with 19 API level.

    How to check what is actually happening with my x86 APK?

    It is interesting that both QT Creator and Android Studio includes android.graphics.drawable.RippleDrawable class classes.dex (I can find it when I open classes.dex in an editor) in spite of the fact that android.graphics.drawable.RippleDrawable class is available since API level 21.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved