Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-43266

Android: class not found RippleDrawable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.4.0
    • Fix Version/s: None
    • Component/s: QPA
    • Environment:
      Ubuntu 13.04; Android 4.4
    • Platform/s:
      Android

      Description

      This is printed in debug output:

      W/System.err( 2317): java.lang.ClassNotFoundException: android.graphics.drawable.RippleDrawable
      W/System.err( 2317): 	at java.lang.Class.classForName(Native Method)
      W/System.err( 2317): 	at java.lang.Class.forName(Class.java:251)
      W/System.err( 2317): 	at java.lang.Class.forName(Class.java:216)
      W/System.err( 2317): 	at org.qtproject.qt5.android.ExtractStyle.getClass(ExtractStyle.java:396)
      W/System.err( 2317): 	at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:100)
      W/System.err( 2317): 	at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
      W/System.err( 2317): 	at java.lang.reflect.Method.invokeNative(Native Method)
      W/System.err( 2317): 	at java.lang.reflect.Method.invoke(Method.java:515)
      W/System.err( 2317): 	at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
      W/System.err( 2317): 	at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
      W/System.err( 2317): 	at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
      W/System.err( 2317): 	at android.app.Activity.performCreate(Activity.java:5231)
      W/System.err( 2317): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
      W/System.err( 2317): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
      W/System.err( 2317): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
      W/System.err( 2317): 	at android.app.ActivityThread.access$800(ActivityThread.java:135)
      W/System.err( 2317): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
      W/System.err( 2317): 	at android.os.Handler.dispatchMessage(Handler.java:102)
      W/System.err( 2317): 	at android.os.Looper.loop(Looper.java:136)
      W/System.err( 2317): 	at android.app.ActivityThread.main(ActivityThread.java:5017)
      W/System.err( 2317): 	at java.lang.reflect.Method.invokeNative(Native Method)
      W/System.err( 2317): 	at java.lang.reflect.Method.invoke(Method.java:515)
      W/System.err( 2317): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
      W/System.err( 2317): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
      W/System.err( 2317): 	at dalvik.system.NativeStart.main(Native Method)
      W/System.err( 2317): Caused by: java.lang.NoClassDefFoundError: android/graphics/drawable/RippleDrawable
      W/System.err( 2317): 	... 25 more
      W/System.err( 2317): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.graphics.drawable.RippleDrawable" on path: DexPathList[[zip file "/data/app/org.qtproject.example.textfield_predictive_input-1.apk"],nativeLibraryDirectories=[/data/app-lib/org.qtproject.example.textfield_predictive_input-1, /system/lib]]
      W/System.err( 2317): 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
      W/System.err( 2317): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
      W/System.err( 2317): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
      W/System.err( 2317): 	... 25 more
      W/System.err( 2317): java.lang.ClassNotFoundException: android.graphics.drawable.AnimatedStateListDrawable
      W/System.err( 2317): 	at java.lang.Class.classForName(Native Method)
      W/System.err( 2317): 	at java.lang.Class.forName(Class.java:251)
      W/System.err( 2317): 	at java.lang.Class.forName(Class.java:216)
      W/System.err( 2317): 	at org.qtproject.qt5.android.ExtractStyle.getClass(ExtractStyle.java:396)
      W/System.err( 2317): 	at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:101)
      W/System.err( 2317): 	at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
      W/System.err( 2317): 	at java.lang.reflect.Method.invokeNative(Native Method)
      W/System.err( 2317): 	at java.lang.reflect.Method.invoke(Method.java:515)
      W/System.err( 2317): 	at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
      W/System.err( 2317): 	at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
      W/System.err( 2317): 	at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
      W/System.err( 2317): 	at android.app.Activity.performCreate(Activity.java:5231)
      W/System.err( 2317): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
      W/System.err( 2317): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
      W/System.err( 2317): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
      W/System.err( 2317): 	at android.app.ActivityThread.access$800(ActivityThread.java:135)
      W/System.err( 2317): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
      W/System.err( 2317): 	at android.os.Handler.dispatchMessage(Handler.java:102)
      W/System.err( 2317): 	at android.os.Looper.loop(Looper.java:136)
      W/System.err( 2317): 	at android.app.ActivityThread.main(ActivityThread.java:5017)
      W/System.err( 2317): 	at java.lang.reflect.Method.invokeNative(Native Method)
      W/System.err( 2317): 	at java.lang.reflect.Method.invoke(Method.java:515)
      W/System.err( 2317): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
      W/System.err( 2317): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
      W/System.err( 2317): 	at dalvik.system.NativeStart.main(Native Method)
      W/System.err( 2317): Caused by: java.lang.NoClassDefFoundError: android/graphics/drawable/AnimatedStateListDrawable
      W/System.err( 2317): 	... 25 more
      W/System.err( 2317): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.graphics.drawable.AnimatedStateListDrawable" on path: DexPathList[[zip file "/data/app/org.qtproject.example.textfield_predictive_input-1.apk"],nativeLibraryDirectories=[/data/app-lib/org.qtproject.example.textfield_predictive_input-1, /system/lib]]
      W/System.err( 2317): 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
      W/System.err( 2317): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
      W/System.err( 2317): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
      W/System.err( 2317): 	... 25 more
      W/System.err( 2317): java.lang.ClassNotFoundException: android.graphics.drawable.VectorDrawable
      W/System.err( 2317): 	at java.lang.Class.classForName(Native Method)
      W/System.err( 2317): 	at java.lang.Class.forName(Class.java:251)
      W/System.err( 2317): 	at java.lang.Class.forName(Class.java:216)
      W/System.err( 2317): 	at org.qtproject.qt5.android.ExtractStyle.getClass(ExtractStyle.java:396)
      W/System.err( 2317): 	at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:102)
      W/System.err( 2317): 	at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
      W/System.err( 2317): 	at java.lang.reflect.Method.invokeNative(Native Method)
      W/System.err( 2317): 	at java.lang.reflect.Method.invoke(Method.java:515)
      W/System.err( 2317): 	at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
      W/System.err( 2317): 	at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
      W/System.err( 2317): 	at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
      W/System.err( 2317): 	at android.app.Activity.performCreate(Activity.java:5231)
      W/System.err( 2317): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
      W/System.err( 2317): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
      W/System.err( 2317): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
      W/System.err( 2317): 	at android.app.ActivityThread.access$800(ActivityThread.java:135)
      W/System.err( 2317): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
      W/System.err( 2317): 	at android.os.Handler.dispatchMessage(Handler.java:102)
      W/System.err( 2317): 	at android.os.Looper.loop(Looper.java:136)
      W/System.err( 2317): 	at android.app.ActivityThread.main(ActivityThread.java:5017)
      W/System.err( 2317): 	at java.lang.reflect.Method.invokeNative(Native Method)
      W/System.err( 2317): 	at java.lang.reflect.Method.invoke(Method.java:515)
      W/System.err( 2317): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
      W/System.err( 2317): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
      W/System.err( 2317): 	at dalvik.system.NativeStart.main(Native Method)
      W/System.err( 2317): Caused by: java.lang.NoClassDefFoundError: android/graphics/drawable/VectorDrawable
      W/System.err( 2317): 	... 25 more
      W/System.err( 2317): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.graphics.drawable.VectorDrawable" on path: DexPathList[[zip file "/data/app/org.qtproject.example.textfield_predictive_input-1.apk"],nativeLibraryDirectories=[/data/app-lib/org.qtproject.example.textfield_predictive_input-1, /system/lib]]
      W/System.err( 2317): 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
      W/System.err( 2317): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
      W/System.err( 2317): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
      W/System.err( 2317): 	... 25 more
      

        Attachments

        For Gerrit Dashboard: QTBUG-43266
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            taipan BogDan Vatra
            Reporter:
            poikelin Joni Poikelin
            Votes:
            7 Vote for this issue
            Watchers:
            15 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes