警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.OkHttpClient 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.Cache 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.OkHttpClient 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.CacheControl 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.CacheControl $ Builder 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.Request $ Builder 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.OkHttpClient 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.Call 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.Response 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.ResponseBody 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.Response 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.ResponseBody 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.OkHttpClient 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.Cache 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.CacheControl 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.CacheControl $ Builder 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.Request $ Builder 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.Response 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.Cache 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.CacheControl 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.Request 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.Call 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.Response 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.ResponseBody 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.OkHttpClient 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.CacheControl $ Builder 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.CacheControl 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.Request $ Builder 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.Response 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.ResponseBody 警告:com.squareup.picasso.OkHttpDownloader:找不到引用的类com.squareup.okhttp.Cache 警告:有52个未解析的类或接口引用。 警告:处理任务java.io.IOException时发生异常:请先纠正上述警告。 错误:任务':app:transformClassesAndResourcesWithProguardForRelease'的执行失败。 作业失败,请参阅日志了解详情
答案 0 :(得分:1)
这是因为你在gradle中启用了minify
所以请将此添加到proguard-rules.pro
-dontwarn com.squareup.okhttp.**