android.widget.RemoteViews$ActionException

view: android.support.v7.widget.AppCompatImageView can't use method with RemoteViews: setImageResource(int)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web2

  • view: android.support.v7.widget.AppCompatImageView can't use method with RemoteViews: setImageResource(int)
  • via xda-developers.com by Unknown author, 1 year ago
    view: android.vi ew.ViewStub doesn't have method: setTextColor(int)
  • Stack trace

    • android.widget.RemoteViews$ActionException: view: android.support.v7.widget.AppCompatImageView can't use method with RemoteViews: setImageResource(int) at android.widget.RemoteViews.getMethod(RemoteViews.java:775) at android.widget.RemoteViews.access$300(RemoteViews.java:69) at android.widget.RemoteViews$ReflectionAction.apply(RemoteViews.java:1266) at android.widget.RemoteViews.performApply(RemoteViews.java:2587) at android.widget.RemoteViews.apply(RemoteViews.java:2547) at android.appwidget.AppWidgetHostView.updateAppWidget(AppWidgetHostView.java:395) at android.appwidget.AppWidgetHost.createView(AppWidgetHost.java:336) at com.lgfischer.widgethost.WidgetHostExampleActivity.createWidget(WidgetHostExampleActivity.java:129) at com.lgfischer.widgethost.WidgetHostExampleActivity.onActivityResult(WidgetHostExampleActivity.java:93) at android.app.Activity.dispatchActivityResult(Activity.java:6168) at android.app.ActivityThread.deliverResults(ActivityThread.java:3732) at android.app.ActivityThread.handleSendResult(ActivityThread.java:3779) at android.app.ActivityThread.access$1300(ActivityThread.java:162) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1461) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:189) at android.app.ActivityThread.main(ActivityThread.java:5529) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)

    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

    98 times, 1 year ago