android - 提供 APK 时的 FastScroller
问题描述
当我想创建一个用于发布的 APK 时,我遇到了问题。我搜索了很多,但我没有找到我的答案。所以如果你能帮助我真的很感激。请帮我...
Information:Gradle tasks [:app:assembleRelease]
Warning:android.support.v7.widget.FastScroller: can't find referenced class android.support.v7.widget.FastScroller$State
Warning:android.support.v7.widget.FastScroller: can't find referenced class android.support.v7.widget.FastScroller$DragState
Warning:android.support.v7.widget.FastScroller: can't find referenced class android.support.v7.widget.FastScroller$AnimationState
Warning:android.support.v7.widget.FastScroller: can't find referenced class android.support.v7.widget.FastScroller$State
Warning:there were 4 unresolved references to classes or interfaces.
Warning:Exception while processing task java.io.IOException: Please correct the above warnings first.
Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.
作业失败,详见日志信息:BUILD FAILED in 1m 42s 信息:1 错误信息:6 警告信息:查看控制台中的完整输出
解决方案
请删除您的project_name/gradle
目录,设置Project structure\Project\Gradle version
,然后运行/制作/生成您的 APK。例如,在我的情况下,删除build
并app/build
没有解决这个问题。
推荐阅读
- javascript - LitElement:javascript函数重复运行
- python - 使用 Python 对带有间隙的数字序列重新编号
- python - 为什么多边形的形状会在jupyter中重置内核
- python - 如何在 pytest 测试中模拟 elasticsearch 对象?
- python - 在带有硒的表中选择复选框
- linux - 当我执行“git push origin master”时,Github 出错(错误:src refspec master 不匹配)
- javascript - 根据烧瓶动态显示甜蜜警报
- laravel - Laravel 使用 Storage 门面重命名目录
- sql - 使用 Postgres 中的所有字段查询关联的 MAX 列
- excel - VBA将所有命名范围作为数组查找并粘贴到表上的数据验证列中