AS升级之后的异常记录

AS升级之后的异常记录

Execution failed for task ‘:bulletcabinet:checkReleaseDuplicateClasses’.

> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
   > Duplicate class org.intellij.lang.annotations.Flow found in modules jetified-annotations-13.0 (org.jetbrains:annotations:13.0) and jetified-annotations-java5-15.0 (org.jetbrains:annotations-java5:15.0)
> 

解决方案一:(对于本人as降级处理无效)

configurations {
    cleanedAnnotations
    compile.exclude group: 'org.jetbrains' , module:'annotations'
}

方案二:

更新gradle.properites文件配置

#Sat Sep 25 16:32:41 CST 2021
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
  1. 删除工程下gradle文件目录
  2. rebuild project

总结:当不知道本as版本对应哪个gradle版本时:建议新建一个工程然后build一下,如果能成功构建。则对比新工程和当前工程的配置参数进行适当调整

org.gradle.internal.execution.WorkValidationException: A problem was found with the configuration of task ‘:androidwebcamlibrary:checkDebugManifest’ (type ‘CheckManifest’).

  1. Type ‘com.android.build.gradle.internal.tasks.CheckManifest’ property ‘manifest’ has @Input annotation used on property of type ‘File’.

解决方案:

  1. rebuild project

WARNING: The following project options are deprecated and have been removed:

android.useDeprecatedNdk

解决方案:

  1. rebuild project

产品推荐

推荐理由

postman在国内使用已经越来越困难:

  1. 当电脑打开软件多一点点使用postman就会电脑卡的让人冒烟
  2. 登录问题严重
  3. Mock功能服务基本没法使用
  4. 版本更新功能已很匮乏
  5. 某些外力因素导致postman以后能否使用风险较大

出于以上考虑因此笔者自己开发了一款api调试开发工具SmartApi,满足基本日常开发调试api需求

官网地址SmartApi

http://www.smartapi.site/

是的,兄弟们,我还是建立了自己的官网!需要下载的大佬直接去官网下载就可以了蛤,顺便看看官网介绍
看下面的简单的
在这里插入图片描述


旧版本已停止维护

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

lichong951

你的鼓励决定更新的动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值