大佬教程收集整理的这篇文章主要介绍了React Native CLI 版本 0.64 setup 任务':app:checkDebugDuplicateClasses' 执行失败。和任务 :app:compileDebugJavaWithJavac FAILED checkDebugDuplicateClasses 错误compileDebugJavaWithJavac 错误android/app/build.gradle,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我想设置我的 React Native 构建,并完全按照 0.64 版官方 React Native 文档中的环境设置步骤,使用 Google Apis Intel x86 Atom System Image 部分的 AndroID 10.0。 https://reactnative.dev/docs/environment-setup
构建: https://github.com/NicChoo96/ReactNative0.64_Build
我什至还没有成功构建它并在我的模拟器上显示第一个 React Native 屏幕。模拟器工作正常。
我也谷歌搜索了很多次,我的标签只是堆叠,但我找不到任何解决方案。
经过多天的构建和重建,对于我的用例,我将无法使用 expo,所以我只能坚持使用 react-native-cli。如果您想知道什么,我想使用 web3.Js/ether.Js,但我什至无法建立基本构建,如何开始任何事情?
API Level: 29 (AndroID 10.0 Q)
AndroID SDK Build-Tools: 29.0.3
JDK: openjdk-8u292-b10
User variables for User:
ANDROID_HOME: %LOCALAPPDATA%\AndroID\sdk
JAVA_HOME: C:\Program files\OpenJDK\openjdk-8u292-b10
Node Version:v16.4.0
Yarn Version: 1.22.10
Path:
{
C:\Program files\OpenJDK\openjdk-8u292-b10\bin,%LOCALAPPDATA%\AndroID\Sdk\platform-tools,%USERPROfile%\ApPDAta\Local\AndroID\sdk\emulator
}
以下错误是一次又一次出现的错误:
Execution Failed for task ':app:checkDeBUGDuplicateClasses'.
> A failure occurred while execuTing com.androID.build.gradle.internal.tasks.checkDuplicatesRunnable
> Duplicate class com.facebook.soloader.ApkSosource found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.DirectorySosource found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.Elf32_Dyn found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.Elf32_Ehdr found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.Elf32_Phdr found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.Elf32_Shdr found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.Elf64_Dyn found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.Elf64_Ehdr found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.Elf64_Phdr found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.Elf64_Shdr found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.ExoSosource found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.fileLocker found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.minelf found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.minelf$ElfError found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.Nativelibrary found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.NoopSosource found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.soLoader found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.sosource found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.SysUtil found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
Duplicate class com.facebook.soloader.SysUtil$LollipopSysdeps found in modules jetifIEd-react-native-0.20.1-runtime (com.facebook.react:react-native:0.20.1) and jetifIEd-soloader-0.10.1-runtime (com.facebook.soloader:soloader:0.10.1)
> Task :app:compileDeBUGJavaWithJavac Failed
15 actionable tasks: 2 executed,13 up-to-date
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\main\java\com\web3rn\MainApplication.java:6: error: cAnnot find symbol
import com.facebook.react.ReactApplication;
^
symbol: class ReactApplication
LOCATIOn: package com.facebook.react
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\main\java\com\web3rn\MainApplication.java:8: error: cAnnot find symbol
import com.facebook.react.ReactNativeHost;
^
symbol: class ReactNativeHost
LOCATIOn: package com.facebook.react
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\main\java\com\web3rn\MainApplication.java:14: error: cAnnot find symbol
public class MainApplication extends Application implements ReactApplication {
^
symbol: class ReactApplication
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\main\java\com\web3rn\MainApplication.java:16: error: cAnnot find symbol
private final ReactNativeHost mReactNativeHost =
^
symbol: class ReactNativeHost
LOCATIOn: class MainApplication
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\main\java\com\web3rn\MainApplication.java:39: error: cAnnot find symbol
public ReactNativeHost getReactNativeHost() {
^
symbol: class ReactNativeHost
LOCATIOn: class MainApplication
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:9: error: cAnnot find symbol
import com.facebook.react.sHell.MainPackageConfig;
^
symbol: class MainPackageConfig
LOCATIOn: package com.facebook.react.sHell
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:18: error: cAnnot find symbol
private ReactNativeHost reactNativeHost;
^
symbol: class ReactNativeHost
LOCATIOn: class PackageList
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:19: error: cAnnot find symbol
private MainPackageConfig mConfig;
^
symbol: class MainPackageConfig
LOCATIOn: class PackageList
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:21: error: cAnnot find symbol
public PackageList(ReactNativeHost reactNativeHost) {
^
symbol: class ReactNativeHost
LOCATIOn: class PackageList
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:29: error: cAnnot find symbol
public PackageList(ReactNativeHost reactNativeHost,MainPackageConfig config) {
^
symbol: class ReactNativeHost
LOCATIOn: class PackageList
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:29: error: cAnnot find symbol
public PackageList(ReactNativeHost reactNativeHost,MainPackageConfig config) {
^
symbol: class MainPackageConfig
LOCATIOn: class PackageList
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:34: error: cAnnot find symbol
public PackageList(Application application,MainPackageConfig config) {
^
symbol: class MainPackageConfig
LOCATIOn: class PackageList
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:40: error: cAnnot find symbol
private ReactNativeHost getReactNativeHost() {
^
symbol: class ReactNativeHost
LOCATIOn: class PackageList
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\deBUG\java\com\web3rn\ReactNativeFlipper.java:25: error: package okhttp3 does not exist
import okhttp3.okhttpClIEnt;
^
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\main\java\com\web3rn\MainActivity.java:5: error: MainActivity is not abstract and does not overrIDe abstract method getPackages() in ReactActivity
public class MainActivity extends ReactActivity {
^
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\main\java\com\web3rn\MainApplication.java:17: error: cAnnot find symbol
new ReactNativeHost(this) {
^
symbol: class ReactNativeHost
LOCATIOn: class MainApplication
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\main\java\com\web3rn\MainApplication.java:18: error: method does not overrIDe or implement a method from a supertype
@OverrIDe
^
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\main\java\com\web3rn\MainApplication.java:23: error: method does not overrIDe or implement a method from a supertype
@OverrIDe
^
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\main\java\com\web3rn\MainApplication.java:32: error: method does not overrIDe or implement a method from a supertype
@OverrIDe
^
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\main\java\com\web3rn\MainApplication.java:38: error: method does not overrIDe or implement a method from a supertype
@OverrIDe
^
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:26: error: reference to PackageList is ambiguous
this(application,null);
^
both constructor PackageList(ReactNativeHost,MainPackageConfig) in PackageList and constructor PackageList(Application,MainPackageConfig) in PackageList match
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\deBUG\java\com\web3rn\ReactNativeFlipper.java:40: error: cAnnot find symbol
new NetworkingModule.CustomcatlIEntBuilder() {
^
symbol: class CustomcatlIEntBuilder
LOCATIOn: class NetworkingModule
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\deBUG\java\com\web3rn\ReactNativeFlipper.java:42: error: package OkhttpClIEnt does not exist
public voID apply(OkhttpClIEnt.builder builder) {
^
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\deBUG\java\com\web3rn\ReactNativeFlipper.java:41: error: method does not overrIDe or implement a method from a supertype
@OverrIDe
^
D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\deBUG\java\com\web3rn\ReactNativeFlipper.java:57: error: cAnnot find symbol
reacTinstanceManager.removeReacTinstanceEventListener(this);
^
symbol: method removeReacTinstanceEventListener(<anonymous ReacTinstanceEventListener>)
LOCATIOn: variable reacTinstanceManager of type ReacTinstanceManager
Note: D:\1) ProjectsFolder\FYP\Learning\web3RN\androID\app\src\deBUG\java\com\web3rn\ReactNativeFlipper.java uses or overrIDes a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
25 errors
我已经尝试过使用 JDK、JRE、build.gradle、构建工具版本。似乎我从来没有一次又一次地从这些同样的错误中逃脱。目前,我只想知道导致此错误的根本原因是什么,尽管我努力尝试使其正常工作。
androID/app/build.gradle
deBUGImplementation("com.facebook.flipper:flipper:${FliPPER_VERSION}") {
exclude group: 'com.facebook.soloader'
exclude group:'com.facebook.fbjni'
}
尝试了很多很多方法,但我不知道这些依赖项中的哪些导致了这个错误并阻止我构建一个 Hello World 页面。
apply plugin: "com.androID.application"
import com.androID.build.outputfile
/**
* The react.gradle file registers a task for each build variant (e.g. bundleDeBUGJsAndAssets
* and bundleReleaseJsAndAssets).
* these basically call `react-native bundle` with the correct arguments during the AndroID build
* cycle. By default,bundleDeBUGJsAndAssets is skipped,as in deBUG/dev mode we prefer to load the
* bundle directly from the development server. Below you can see all the possible configurations
* and their defaults. If you decIDe to add a configuration block,make sure to add it before the
* `apply from: "../../node_modules/react-native/react.gradle"` line.
*
* project.ext.react = [
* // the name of the generated asset file containing your Js bundle
* bundleAssetname: "index.androID.bundle",*
* // the entry file for bundle generation. If none specifIEd and
* // "index.androID.Js" exists,it will be used. Otherwise "index.Js" is
* // default. Can be overrIDden with ENTRY_file environment variable.
* entryfile: "index.androID.Js",*
* // https://reactnative.dev/docs/perfoRMANce#enable-the-ram-format
* bundleCommand: "ram-bundle",*
* // whether to bundle Js and assets in deBUG mode
* bundleInDeBUG: false,*
* // whether to bundle Js and assets in release mode
* bundleInRelease: true,*
* // whether to bundle Js and assets in another build variant (if configured).
* // See http://tools.androID.com/tech-docs/new-build-system/user-guIDe#TOC-Build-Variants
* // The configuration property can be in the following formats
* // 'bundleIn${productFlavor}${BuildTypE}'
* // 'bundleIn${BuildTypE}'
* // bundleInFreeDeBUG: true,* // bundleInPaIDRelease: true,* // bundleInBeta: true,*
* // whether to disable dev mode in custom build variants (by default only Disabled in releasE)
* // for example: to disable dev mode in the staging build type (if configured)
* devDisabledInStaging: true,* // The configuration property can be in the following formats
* // 'devDisabledIn${productFlavor}${BuildTypE}'
* // 'devDisabledIn${BuildTypE}'
*
* // the root of your project,i.e. where "package.Json" lives
* root: "../../",*
* // where to put the Js bundle asset in deBUG mode
* JsBundleDirDeBUG: "$buildDir/intermediates/assets/deBUG",*
* // where to put the Js bundle asset in release mode
* JsBundleDirRelease: "$buildDir/intermediates/assets/release",*
* // where to put drawable resources / React Native assets,e.g. the ones you use via
* // require('./image.png')),in deBUG mode
* resourcesDirDeBUG: "$buildDir/intermediates/res/merged/deBUG",in release mode
* resourcesDirRelease: "$buildDir/intermediates/res/merged/release",*
* // by default the gradle tasks are skipped if none of the Js files or assets change; this means
* // that we don't look at files in androID/ or ios/ to determine whether the tasks are up to
* // date; if you have any other folders that you want to ignore for perfoRMANce reasons (gradle
* // indexes the entire treE),add them here. Alternatively,if you have Js files in androID/
* // for example,you might want to remove it from here.
* inputExcludes: ["androID/**","ios/**"],*
* // overrIDe which node gets called and with what additional arguments
* nodeExecutableAndArgs: ["node"],*
* // supply additional arguments to the packager
* extraPackagerArgs: []
* ]
*/
project.ext.react = [
enableHermes: false,// clean and rebuild if changing
]
apply from: "../../node_modules/react-native/react.gradle"
/**
* Set this to true to create two separate APKs instead of one:
* - An APK that only works on ARM devices
* - An APK that only works on x86 devices
* The advantage is the size of the APK is reduced by about 4MB.
* Upload all the APKs to the Play Store and people will download
* the correct one based on the cpu architecture of their device.
*/
def enableSeparateBuildPercpuArchitecture = false
/**
* Run Proguard to shrink the Java bytecode in release builds.
*/
def enableProguardInReleaseBuilds = false
/**
* The preferred build flavor of JavaScriptCore.
*
* For example,to use thE international variant,you can use:
* `def JscFlavor = 'org.webkit:androID-Jsc-intl:+'`
*
* ThE international variant includes ICU i18n library and necessary data
* allowing to use e.g. `Date.tolocaleString` and `String.localeCompare` that
* give correct results when using with locales other than en-Us. Note that
* this variant is about 6MiB larger per architecture than default.
*/
def JscFlavor = 'org.webkit:androID-Jsc:+'
/**
* Whether to enable the Hermes Vm.
*
* This should be set on project.ext.react and mirrored here. If it is not set
* on project.ext.react,JavaScript will not be compiled to Hermes Bytecode
* and the benefits of using Hermes will therefore be sharply reduced.
*/
def enableHermes = project.ext.react.get("enableHermes",falsE);
androID {
ndkVersion rootProject.ext.ndkVersion
compileSdkVersion rootProject.ext.compileSdkVersion
compiLeoptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
applicationID "com.awesomeproject"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionname "1.0"
}
splits {
abi {
reset()
enable enableSeparateBuildPercpuArchitecture
universalApk false // If true,also generate a universal APK
include "armeabi-v7a","x86","arm64-v8a","x86_64"
}
}
signingConfigs {
deBUG {
storefile file('deBUG.keystore')
storepassword 'androID'
keyAlias 'androIDdeBUGkey'
keypassword 'androID'
}
}
buildTypes {
deBUG {
signingConfig signingConfigs.deBUG
}
release {
// Caution! In production,you need to generate your own keystore file.
// see https://reactnative.dev/docs/signed-apk-androID.
signingConfig signingConfigs.deBUG
MinifyEnabled enableProguardInReleaseBuilds
proguardfiles getDefaultProguardfile("proguard-androID.txt"),"proguard-rules.pro"
}
}
// applicationVariants are e.g. deBUG,release
applicationVariants.all { variant ->
variant.outputs.each { output ->
// For each separate APK per architecture,set a unique version code as described here:
// https://developer.androID.com/studio/build/configure-apk-splits.HTML
// Example: versionCode 1 will generate 1001 for armeabi-v7a,1002 for x86,etc.
def versionCodes = ["armeabi-v7a": 1,"x86": 2,"arm64-v8a": 3,"x86_64": 4]
def abi = output.getFilter(Outputfile.ABI)
if (abi != null) { // null for the universal-deBUG,universal-release variants
output.versionCodeOverrIDe =
defaultConfig.versionCode * 1000 + versionCodes.get(abi)
}
}
}
}
dependencIEs {
implementation filetree(dir: "libs",include: ["*.jar"])
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+" // From node_modules
implementation "androIDx.swiperefreshlayout:swiperefreshlayout:1.0.0"
deBUGImplementation("com.facebook.flipper:flipper:${FliPPER_VERSION}") {
exclude group:'com.facebook.fbjni'
}
deBUGImplementation("com.facebook.flipper:flipper-network-plugin:${FliPPER_VERSION}") {
exclude group:'com.facebook.flipper'
exclude group:'com.squareup.okhttp3',module:'okhttp'
}
deBUGImplementation("com.facebook.flipper:flipper-fresco-plugin:${FliPPER_VERSION}") {
exclude group:'com.facebook.flipper'
}
if (enableHermes) {
def hermesPath = "../../node_modules/hermes-ENGIne/androID/";
deBUGImplementation files(hermesPath + "hermes-deBUG.aar")
releaseImplementation files(hermesPath + "hermes-release.aar")
} else {
implementation JscFlavor
}
}
// Run this once to be able to run the application with BUCK
// puts all compile dependencIEs into folder libs for BUCK to use
task copyDownloadableDepsTolibs(type: copy) {
from configurations.compile
into 'libs'
}
apply from: file("../../node_modules/@react-native-community/cli-platform-androID/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
// top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
buildToolsversion = "29.0.3"
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 29
ndkVersion = "20.1.5948944"
}
repositorIEs {
Google()
jcenter()
}
dependencIEs {
classpath("com.androID.tools.build:gradle:4.1.0")
// NOTE: Do not place your application dependencIEs here; they belong
// in the indivIDual module build.gradle files
}
}
allprojects {
repositorIEs {
mavenLocal()
maven {
// All of React Native (Js,Obj-C sources,AndroID binarIEs) is installed from npm
url("$rootDir/../node_modules/react-native/androID")
}
maven {
// AndroID JsC is installed from npm
url("$rootDir/../node_modules/Jsc-androID/dist")
}
Google()
jcenter()
maven { url 'https://www.jitpack.io' }
}
}
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)
以上是大佬教程为你收集整理的React Native CLI 版本 0.64 setup 任务':app:checkDebugDuplicateClasses' 执行失败。和任务 :app:compileDebugJavaWithJavac FAILED checkDebugDuplicateClasses 错误compileDebugJavaWithJavac 错误android/app/build.gradle全部内容,希望文章能够帮你解决React Native CLI 版本 0.64 setup 任务':app:checkDebugDuplicateClasses' 执行失败。和任务 :app:compileDebugJavaWithJavac FAILED checkDebugDuplicateClasses 错误compileDebugJavaWithJavac 错误android/app/build.gradle所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。