简体   繁体   English

ActionBarSherlock和Android Studio的问题

[英]Problems with ActionBarSherlock and Android Studio

I'm trying to use the ActionBarSherlock in Android Studio but i have a problem. 我正在尝试在Android Studio中使用ActionBarSherlock,但是我遇到了问题。 They told me to add this to build.gradle: 他们告诉我将其添加到build.gradle中:

dependencies {
    compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
}

but when i start the application i get this error: 但是当我启动应用程序时,出现此错误:

Execution failed for task ':Ugho:processDefaultFlavorDebugResources'.

Could not call IncrementalTask.taskAction() on task ':Ugho:processDefaultFlavorDebugResources' 无法在任务':Ugho:processDefaultFlavorDebugResources'上调用IncrementalTask​​.taskAction()

If i try to write "gradlew clean" in the terminal i get "BUILD SUCCESSFUL". 如果我尝试在终端上写“ gradlew clean”,我会得到“ BUILD SUCCESSFUL”。

How can i fix this problem? 我该如何解决这个问题?

Executing tasks: [:UGHO:assembleDebug] 执行任务:[:UGHO:assembleDebug]

:UGHO:preBuild UP-TO-DATE :UGHO:preDebugBuild UP-TO-DATE :UGHO:preReleaseBuild UP-TO-DATE :UGHO:prepareComActionbarsherlockActionbarsherlock440Library UP-TO-DATE :UGHO:prepareDebugDependencies :UGHO:compileDebugAidl UP-TO-DATE :UGHO:compileDebugRenderscript UP-TO-DATE :UGHO:generateDebugBuildConfig UP-TO-DATE :UGHO:mergeDebugAssets UP-TO-DATE :UGHO:mergeDebugResources UP-TO-DATE :UGHO:processDebugManifest UP-TO-DATE :UGHO:processDebugResources FAILED :UGHO:preBuild更新日期:UGHO:preDebugBuild更新日期:UGHO:preReleaseBuild更新日期:UGHO:prepareComActionbarsherlockActionbarsherlock440库更新日期:UGHO:prepareDebugDependencies:UGHO:compileDebugAidl更新日期UGHO:compileDebugRenderscript更新日期:UGHO:generateDebugBuildConfig更新日期:UGHO:mergeDebugAssets更新日期:UGHO:mergeDebugResources更新日期:UGHO:processDebugManifest更新日期:UGHO:processDebugResources失败

FAILURE: Build failed with an exception. 失败:构建失败,发生异常。

  • What went wrong: Execution failed for task ':UGHO:processDebugResources'. 出了什么问题:任务':UGHO:processDebugResources'的执行失败。

    Could not call IncrementalTask.taskAction() on task ':UGHO:processDebugResources' 无法在任务':UGHO:processDebugResources'上调用IncrementalTask​​.taskAction()

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM