java.lang.RuntimeException

Unable to start activity ComponentInfo{com.example.android.shmoti_v4/com.example.android.shmoti_v4.MainActivities.Movies_Home}: java.lang.UnsupportedOperationException: Can't convert to color: type=0x2

Samebug tips1

Try loading the text file into a WebView, then printing the contents of the WebView.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web39999

  • Unable to start activity ComponentInfo{com.example.android.shmoti_v4/com.example.android.shmoti_v4.MainActivities.Movies_Home}: java.lang.UnsupportedOperationException: Can't convert to color: type=0x2
  • Unable to start activity ComponentInfo{com.infibond.infi/com.infibond.account.login.LoginActivity}: java.lang.UnsupportedOperationException: Can't convert to color: type=0x2
  • Unable to start activity ComponentInfo{com.example.android.shmoti_v4/com.example.android.shmoti_v4.MainActivities.Shmoti_Home}: java.lang.ClassCastException: com.example.android.shmoti_v4.Utils.ConnectivityMonitor cannot be cast to com.example.android.shmoti_v4.MainActivities.AnalyticsApplication
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.android.shmoti_v4/com.example.android.shmoti_v4.MainActivities.Movies_Home}: java.lang.UnsupportedOperationException: Can't convert to color: type=0x2 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2413) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471) at android.app.ActivityThread.access$900(ActivityThread.java:175) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5602) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099) at dalvik.system.NativeStart.main(NativeStart.java)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    9 times, 2 weeks ago
    2 times, 3 weeks ago
    9 times, 1 month ago
    Unknown user
    2 times, 5 months ago
    Unknown user
    Once, 6 months ago
    207 more bugmates