Build.Gradle 错误 - 评估项目':app'时出现问题



我在尝试运行应用程序时收到以下错误。

评估项目":应用程序"时出现问题。

提供的字符串模块表示法"commons-io:common无法解析配置的所有依赖项":app:debugRuntimeClasspath".s-io:2.6"无效。示例符号:"org.gradle:gradle-core:2.2","org.mockito:mmockito-core:1.9.5:javadoc"。

  • 尝试:使用--info或--debug选项运行以获得更多日志输出。使用--scan运行以获得完整的见解。

  • 例外情况是:org.gradle.api.GradleScriptException:评估项目":app"时出现问题。位于org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunner Factory.java:93)位于org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.lambda$apply$0(DefaultScriptPluginFactory.java:133)位于org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)位于org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPlugin.Factory.java:136)位于org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:65)位于org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)位于org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)位于org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)位于org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)位于org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)位于org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)位于org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)位于org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutior.java:71)位于org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)位于org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutior.java:71)位于org.gradle.configuration.BuildOperationScriptPlugin.lambda$apply$0(BuildOperationScriptPlugin.java:62)网址:org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplication Context.java:43)网址:org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:62)位于org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$0(DefaultProjectStateRegistry.java:250)位于org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:277)位于org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:249)在org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:42)网址:org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)位于org.gradle.configuration.project.ConfigureActionsProjectEvaluator.eevaluate(ConfigureActionsProject Evaluator.java:35)位于org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProjectLambda$run$0(LifecycleProject Evaluator.java:100)位于org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$0(DefaultProjectStateRegistry.java:250)位于org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$withProjectLock$3(DefaultProjectStateRegistry.java:310)网址:org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaceService.java:213)位于org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withProjectLock(DefaultProjectStateRegistry.java:310)位于org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:291)位于org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:249)网址:org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.run(LifecycleProject Evaluator.java:91)位于org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)位于org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)位于org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)位于org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)位于org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)位于org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)位于org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)位于org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutior.java:71)位于org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)位于org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutior.java:71)网址:org.gradle.configuration.project.LifecycleProjectEvaluator.eevaluate(LifecycleProject Evaluator.java:63)网址:org.gradle.api.internal.project.DefaultProject.eevaluate(DefaultProject.java:723)网址:org.gradle.api.internal.project.DefaultProject.eevaluate(DefaultProject.java:150)位于org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:41)位于org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:69)位于org.gradle.configuration.DefaultProjectsPreparer.prepareProjects(DefaultProjectsParer.java:46)位于org.gradle.configuration.BuildTreePreparangProjectsParaer.prepareProjects(BuildTreePreparingProjectsParer.java:64)位于org.gradle.configuration.BuildOperationFiringProjectsPreparer$ConfigureBuild.run(BuildOperationFirngProjectsPreparar.java:52)位于org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)位于org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)位于org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)位于org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)位于org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)位于org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)位于org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)位于org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutior.java:71)位于org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)位于org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutior.java:71)位于org.gradle.configuration.BuildOperationFiringProjectsPreparer.prepareProjects(BuildOperationFirngProjectsPreparar.java:40)位于org.gradle.sinitialization.DefaultGradleLauncher.prepareProjects(DefaultGradleLauncher.java:226)位于org.gradle.sitialization.DefaultGradleLauncher.doClassicBuildStages(DefaultGradleLauncher.java:164)位于org.gradle.sitialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)位于org.gradle.sitialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:125)位于org.gradle.internal.iocation.GradleBuildController$1.create(GradleBuildControll.java:71)网址:org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaceService.java:213)网址:org.gradle.internal.iocation.GradleBuildController.doBuild(GradleBuildControll.java:67)位于org.gradle.internal.iocation.GradleBuildController.run(GradleBuildControll.java:56)网址:org.gradle.tooling.internal.provider.runner.AbstractClientProviderBuildActionRunner.runClientAction(AbstractClientProviderdBuildActionRunner.java:53)位于org.gradle.tooling.internal.provider.runner.ClientProviderdPhasedActionRunner.run(ClientProviderdPhaseDActionRunner.java:47)网址:org.gradle.selauncher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)网址:org.gradle.selauncher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)位于org.gradle.selauncher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReporting BuildActionRunner.java:66)位于org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)网址:org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner.run(FileSystemWatkingBuildActionRuner.java:90)位于org.gradle.selauncher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionnotifyingBuildingActionRunner.java:41)位于org.gradle.selauncher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildingActionRunner.java:49)位于org.gradle.selauncher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildingActionRunner.java:44)位于org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)位于org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)位于org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)位于org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)位于org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)位于org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)位于org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)位于org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecotor.java:76)位于org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)位于org.gradle.internal.operations.DefaultBuildOperationExecutior.call(DefaultBuildOperationExecutiator.java:76)位于org.gradle.selauncher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildingActionRunner.java:44)位于org.gradle.selauncher.exec.InProcessBuildActionExecuter.lambda$execute$0(InProcessBuildActionExecutor.java:59)位于org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:86)位于org.gradle.selauncher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecutor.java:58)位于org.gradle.selauncher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecutor.java:30)位于org.gradle.selauncher.exec.BuildTreeScopeLifecycleBuildActionExecuter.lambda$execute$0(BuildTreeScopeLifecycleBuildActionExecuter.java:34)网址:org.gradle.internal.buildtree.BuildTreeState.run(BuildTreeState.java:53)位于org.gradle.selauncher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:33)位于org.gradle.selauncher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:28)位于org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:104)位于org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:55)网址:org.gradle.tooling.internal.provider.SubscriptleBuildActionExecuter.execute(SubscriptleBuildactionExecuter.java:64)网址:org.gradle.tooling.internal.provider.SubscriptableBuildActionExecuter.execute(SubscriptableBuildactionExecuter.java:37)位于org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.lambda$execute$0(SessionScopeLiveCycleBuildActionexecuter.java:54)网址:org.gradle.internal.session.BuildSessionState.run(BuildSessionState.java:67)位于org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLiveCycleBuildActionexecuter.java:50)位于org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLiveCycleBuildActionexecuter.java:36)位于org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuild ActionExecuteR.java:36)网址:org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuild ActionExecuteR.java:25)位于org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidingActionExecuter.java:59)位于org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidingActionExecuter.java:31)网址:org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReport ingActionExecutor.java:58)位于org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReport ingActionExecutor.java:42)位于org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:47)位于org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:31)位于org.gradle.selauncher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:65)位于org.gradle.selauncher.daemon.server.exec.BuildCommandOnly.exexecute(BuildCommandOnly.java:37)位于org.gradle.selauncher.daemon.server.api.DemonCommandExecution.proceed(DaemonCommentExecution.java:104)位于org.gradle.selauncher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)位于org.gradle.selauncher.daemon.server.api.DemonCommandExecution.proceed(DaemonCommentExecution.java:104)位于org.gradle.selauncher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecactionLogger.java:29)位于org.gradle.selauncher.daemon.server.api.DemonCommandExecution.proceed(DaemonCommentExecution.java:104)位于org.gradle.selauncher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfsSingleUsed daemon.java:35)位于org.gradle.selauncher.daemon.server.api.DemonCommandExecution.proceed(DaemonCommentExecution.java:104)位于org.gradle.selauncher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78)位于org.gradle.selauncher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75)网址:org.gradle.util.Swaper.swap(Swapper.java:38)位于org.gradle.selauncher.daemon.server.exec.ForwardClientInput.execure(ForwardClientInput.java:75)位于org.gradle.selauncher.daemon.server.api.DemonCommandExecution.proceed(DaemonCommentExecution.java:104)位于org.gradle.selauncher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)位于org.gradle.selauncher.daemon.server.api.DemonCommandExecution.proceed(DaemonCommentExecution.java:104)位于org.gradle.selauncher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)位于org.gradle.selauncher.daemon.server.exec.BuildCommandOnly.exexecute(BuildCommandOnly.java:37)位于org.gradle.selauncher.daemon.server.api.DemonCommandExecution.proceed(DaemonCommentExecution.java:104)位于org.gradle.selauncher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildingEnvironment.java:84)位于org.gradle.selauncher.daemon.server.exec.BuildCommandOnly.exexecute(BuildCommandOnly.java:37)位于org.gradle.selauncher.daemon.server.api.DemonCommandExecution.proceed(DaemonCommentExecution.java:104)位于org.gradle.selauncher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespandWithBusy.java:52)位于org.gradle.selauncher.daemon.server.DemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)网址:org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)网址:org.gradle.internal.concurrent.ManagedExecutiorImpl$1.run(ManagedExecutiorimpl.java:48)位于org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)由:org.gradle.api.IollegalDependencyNotation引起:提供的字符串模块表示法"commons io:common无法解析配置的所有依赖项":app:debugRuntimeClasspath".s-io:2.6"无效。示例注释:"org.gradle:gradle-core:2.2","org.mockito:mmockito-core:1.9.5:javadoc"。位于org.gradle.api.internal.aartifacts.dsl.ParsedModuleStringNotation.assignValuesFromModuleNotition(ParsedModuleTringNotation.java:47)网址:org.gradle.api.internal.aartifacts.dsl.ParsedModuleStringNotation.(ParsedModuleTringNotation.java:28)网址:org.gradle.api.internal.notations.DependencyStringNotationConverter.splitModuleFromExtension(DependencyStringNotationConverter.java:91)网址:org.gradle.api.internal.notations.DependencyStringNotationConverter.createDependencyFromString(DependencyStringNotationConverter.java:59)网址:org.gradle.api.internal.notations.DependencyStringNotationConverter.convert(DependencyStringNotationConverter.java:54)网址:org.gradle.api.internal.notations.DependencyStringNotationConverter.convert(DependencyStringNotationConverter.java:34)位于org.gradle.internal.typeconversion.CharSequenceNotationConverter.convert(CharSequenceNotation Converter.java:32)位于org.gradle.internal.typeconversion.CompositeNotationConverter.convert(CompositeNotitionConverter.java:34)位于org.gradle.internal.typeconversion.NotationConverterToNotationParserAdapter.parseNotation(NotationConverter ToNotationPartiserAdapter.java:31)网址:org.gradle.internal.typeconversion.JustReturningParser.parseNotation(JustReturningPather.java:40)网址:org.gradle.internal.typeconversion.ErrorHandlingNotationParser.parseNotation(ErrorHandlingNotationParser.java:48)位于org.gradle.api.internal.aartifacts.DefaultDependencyFactory.createDependency(DefaultDependency Factory.java:60)位于org.gradle.api.internal.aartifacts.dsl.dependencies.DefaultDependencyHandler.create(DefaultDependency Handler.java:162)位于org.gradle.api.internal.aartifacts.dsl.dependencies.DefaultDependencyHandler.doAddRegularDependency(DefaultDependency Handler.java:184)位于org.gradle.api.internal.aartifacts.dsl.dependencies.DefaultDependencyHandler.doAdd(DefaultDependency Handler.java:179)网址:org.gradle.api.internal.aartifacts.dsl.dependencies.DefaultDependencyHandler.access$100(DefaultDependency Handler.java:73)位于org.gradle.api.internal.aartifacts.dsl.dependencies.DefaultDependencyHandler$DirectDependencyAdder.add(DefaultDependency Handler.java:420)位于org.gradle.api.internal.aartifacts.dsl.dependencies.DefaultDependencyHandler$DirectDependencyAdder.add(DefaultDependency Handler.java:415)位于org.gradle.api.internal.aartifacts.dsl.dependency.DynamicAddDependencyMethods.tryInvokeMethod(DynamicAddDependency Methods.java:56)位于org.gradle.internal.metaobject.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:504)位于org.gradle.internal.metaobject.BeanDynamicObject.tryInvokeMethod(BeanDynamicObject.java:196)位于org.gradle.internal.metaobject.CompositeDynamicObject.tryInvokeMethod(CompositeDynamicObject.java:98)位于org.gradle.internal.extensibility.MixInClosurePropertiesAsMethodsDynamicObject.tryInvokeMethod(MixInClosureProperties AsMethodsDynamicObject.java:34)位于org.gradle.internal.metaobject.ConfigureDelegate.invokeMethod(ConfigureDelegate.java:56)在build_2ep51wyj3je97y6aoew986rz5$run_closure2.doCall(C:\Users\Akshat\Downloads\Slim PDF(v5.6.0)\SlimPDFApp\app\build.gradle:81)位于java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)位于java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)位于java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)位于org.gradle.util.ClosureBackedAction.execure(ClosureBackedAction.java:71)网址:org.gradle.util.ConfigureUtil.configureTarget(ConfigureUtil.java:154)位于org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:105)网址:org.gradle.api.internal.project.DefaultProject.dependences(DefaultProject.java:1230)位于java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)位于java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)位于java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)网址:org.gradle.internal.metaobject.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:484)位于org.gradle.internal.metaobject.BeanDynamicObject.tryInvokeMethod(BeanDynamicObject.java:196)位于org.gradle.internal.metaobject.CompositeDynamicObject.tryInvokeMethod(CompositeDynamicObject.java:98)位于org.gradle.internal.extensibility.MixInClosurePropertiesAsMethodsDynamicObject.tryInvokeMethod(MixInClosureProperties AsMethodsDynamicObject.java:34)位于org.gradle.groovy.scripts.BasicScript$ScriptDynamicObject.tryInvokeMethod(BasicScript.java:135)网址:org.gradle.internal.metaobject.AbstractDynamicObject.invokeMethod(AbstractDynamicObject.java:163)网址:org.gradle.groovy.scripts.BasicScript.invokeMethod(BasicScript.java:84)在build_2ep51wyj3je97y6aoew986rz5.run(C:\Users\Akshat\Downloads\Slim PDF(v5.6.0)\SlimPDFApp\app\build.gradle:52)位于org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunner Factory.java:91)…还有140个

如果您显示的build.gradle文件100%是您正在使用的文件,那么:-

更改此项:

implementation 'commons-io:commonCould not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.s-io:2.6'

到此:

implementation 'commons-io:commons-io:2.11.0'

下面是我的build.gradle代码:

plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-parcelize'
id 'kotlin-kapt'
id 'com.onesignal.androidsdk.onesignal-gradle-plugin'
//id 'com.google.gms.google-services'  // Google Services plugin // Uncomment the plugin to use firebase and obtain the google-services.json file
}
android {
compileSdk 31
buildToolsVersion "19.1"
defaultConfig {
applicationId "com.kuriousminddlab.kleenpdf"
minSdk 21
targetSdk 31
versionCode 5
versionName "1.0"
multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildFeatures {
dataBinding true
}
buildTypes {
release {
minifyEnabled false
shrinkResources false
debuggable false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {
debuggable true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.onesignal:OneSignal:[4.0.0, 4.99.99]'
implementation "androidx.multidex:multidex:2.0.1"
/*firebase*/
implementation 'com.firebase:firebase-client-android:2.3.1'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.github.barteksc:pdfium-android:1.9.0'
implementation 'org.greenrobot:eventbus:3.1.1'
implementation 'androidx.room:room-runtime:2.4.1'
implementation 'com.google.ads.mediation:facebook:6.8.0.0'
implementation 'com.facebook.android:audience-network-sdk:6.8.0'
implementation 'com.google.android.gms:play-services-ads:20.5.0'

implementation 'com.tom-roush:pdfbox-android:2.0.0.0'
implementation 'androidx.preference:preference-ktx:1.2.0-rc01'
implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'
implementation 'commons-io:commonCould not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.s-io:2.6'
implementation 'com.google.android.play:core:1.10.3'
implementation 'com.getkeepsafe.taptargetview:taptargetview:1.13.3'
implementation "androidx.gridlayout:gridlayout:1.0.0"
//glide
implementation 'com.github.bumptech.glide:glide:4.11.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
implementation 'jp.wasabeef:glide-transformations:4.0.0'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'com.infideap.drawerbehavior:drawer-behavior:1.0.4'
implementation 'com.airbnb.android:lottie:3.7.2'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.intuit.sdp:sdp-android:1.0.6'
//payment
def billing_version2 = "4.0.0"
implementation "com.android.billingclient:billing:$billing_version2"
implementation 'io.reactivex.rxjava3:rxjava:3.1.3'

implementation 'com.github.tombayley:ActivityCircularReveal:1.0.2'
implementation 'com.github.getActivity:XXPermissions:13.2'
}

相关内容

  • 没有找到相关文章

最新更新