错误: 无法访问TiDistortionEnum
import cn.tillusory.sdk.bean.TiDistortionEnum;
^
错误的类文件: /Users/apple/.gradle/caches/transforms-2/files-2.1/d66ae8d11fad3e38067e5e97a7d4ffce/jetified-ti-sdk-api.jar(cn/tillusory/sdk/bean/TiDistortionEnum.class)
错误的 RuntimeInvisibleParameterAnnotations 属性: TiDistortionEnum(int,int)
请删除该文件或确保该文件位于正确的类路径子目录中。
mac 查看java_home 命令: usr/libexec/java_home -V
如下:

android studio 里面 在file-> project structure里面配置jdk location
如下图

把地址手动改为查出来的java_home的地址
/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home
记录错误2
Unresolved reference: base_view_title
module通过include引用另外一个module里面的布局
然后用kotlin的形式直接引用id
导致这个问题
网上找到几个解决的办法 没有解决
暂时只能通过findViewById去处理

这个是网上的解决办法 我加入了无法解决
android studio 4.1.2 kotlin_version : '1.3.72',
网友评论