Closed levi-wu closed 3 years ago
我看了下,是android/build.gradle 中,缺少了kotlin的插件依赖,这个能加上嘛,发布个新版本。
buildscript { ext.kotlin_version = '1.3.50' repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:4.1.0' // 缺少这句依赖 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } }
请尝试使用 leak_detector: ^1.0.1+3
leak_detector: ^1.0.1+3
感谢大佬,OK的
我看了下,是android/build.gradle 中,缺少了kotlin的插件依赖,这个能加上嘛,发布个新版本。