我正在尝试添加此https://github.com/ArthurHub/Android-Image-Cropper,但是当我添加它时,出现此错误“错误:程序类型已存在:androidx.versionedparcelable.ParcelImpl”
我已经附上了项目gradle和应用gradle。(我是android开发的新手,不确定如何解决。)
我认为这可能与
implementation "com.android.support:appcompat-v7:${supportLibVersion}"
implementation "com.android.support:design:${supportLibVersion}"
Run Code Online (Sandbox Code Playgroud)
但是这些在我的活动布局之一中用于TextInputLayout。任何帮助将不胜感激。
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven{
url "https://maven.google.com"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Run Code Online (Sandbox Code Playgroud)
应用程式Gradle:
apply plugin: 'com.android.application' …Run Code Online (Sandbox Code Playgroud)