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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)

Users with the same issue

jk
jk98 times, last one,