导入framework.jar报错

报错:

MethodHandle.invoke and MethodHandle.invokeExact are only supported starting with Android O (--min-api 26): Landroid/widget/RemoteViews$BaseReflectionAction;apply(Landroid/view/View;Landroid/view/ViewGroup;Landroid/widget/RemoteViews$ActionApplyParams;)V

解决方法:

build.gradle中把

minSdk 24 改为26 即可
posted @ 2024-05-22 14:54  xiaowang_lj  阅读(44)  评论(0编辑  收藏  举报