草庐IT

cyclic-dependency

全部标签

安卓工作室 : Re-download dependencies and sync project

我从Github下载了一个开源游戏“ChaseWhisplyProject”的源代码。我在我的AndroidStudio(版本1.5.1)中导入了该项目。它显示以下错误消息:错误:无法打开zip文件。Gradle的依赖缓存可能已损坏(这有时会在网络连接超时后发生。)重新下载依赖并同步项目(需要网络)重新下载依赖并同步项目(需要网络)我将所有依赖版本都更改为最新版本,但它仍然显示相同的消息。它在主项目下有两个模块1)BaseGameUtils&2)ChaseWhisply。上面的模块没有用粗体显示(我认为应该像模块“app”一样用粗体显示)。以下是gradle文件。1)根Gradle:/

android - ActionBarSherlock + maven + eclipse : dependency not found in workspace

我已更新到最新版本的ADT插件,但遇到了thisissue,解决了更新m2e-androideclipse插件的问题。现在,我可以通过控制台编译我的项目,但不能使用Eclipse。这是eclipse中pom.xml文件抛出的异常:dependency=[com.actionbarsherlock:library:apklib:4.1.0:compile]在工作区中找不到在以前版本的ADT/m2e-android中,我能够毫无问题地构建控制台和eclipse。有谁知道如何解决这个问题?也许我的pom.xml错了?感谢您的宝贵时间。目前使用:Eclipseclassic3.7.2(Juno

Android Studio/Gradle 构建在版本 : Could not determine the dependencies of task ':app:crashlyticsStoreDeobsRelease' 中失败

仅在发布时构建失败,调试构建正常。Androidstudio1.4、Gradle2.8RC1、Gradle插件1.4.0BETA4FAILURE:Buildfailedwithanexception.*Exceptionis:org.gradle.api.GradleException:Couldnotdeterminethedependenciesoftask':app:crashlyticsStoreDeobsRelease'....Error:org.gradle.api.UnknownTaskException:Taskwithpath'dexRelease'notfoundi

android - 带有 android 插件的 Eclipse - 在 "calculating requirements and dependencies"处被阻止

我在Eclipse中安装Android时遇到问题(Indigo和Helios,我尝试了许多不同的版本)。当我使用地址搜索插件时http://dl-ssl.google.com/android/eclipse/,或localy(使用存档),它不起作用。它找到了开发工具,但它在“计算需求和依赖关系”处阻塞。有什么问题? 最佳答案 如果您从本地站点安装,请取消选中“在安装过程中联系所有更新站点以查找所需的软件”。 关于android-带有android插件的Eclipse-在"calculat

安卓 : Cannot complete the install because of a conflicting dependency

这个问题在这里已经有了答案:UpdateEclipsewithAndroiddevelopmenttoolsv.23(43个回答)关闭8年前。我正在安装新软件,使用此链接:https://dl-ssl.google.com/android/eclipse/但总是得到:操作无法完成。查看详情。Cannotcompletetheinstallbecauseofaconflictingdependency.Softwarebeinginstalled:AndroidDDMS23.0.2.1259578(com.android.ide.eclipse.ddms.feature.feature.

android - 此类文件的 Jar 属于容器 'Android Dependencies',该容器不允许修改其条目上的源附件

我正在制作一个电子邮件应用程序,该应用程序在此问题的标题中给出了错误。我该如何解决这个问题?如果有助于找到解决方案,我将提供我的代码截图。 最佳答案 对此有官方解决方案:Allowsrc/docattachementfor3rdpartyjarsinlibs/Sincethosejarsareaddeddynamicallythroughaclasspathcontainer,thedevscannotsetthesourcepathandthejavadocthroughEclipseUI(containerdon'tallowe

android - 警告 :Conflict with dependency 'com.android.support:support-annotations'

我几乎尝试了书中的所有技巧。ResolutionStrategy.force排除模块但似乎没有任何效果,下面是我的build.gradle。我正在使用Gradle1.2.3版。有人可以说明我的代码还有什么问题吗?我唯一没有尝试过的是更改Gradle的版本。这是一个非常基本的Espresso测试用例。谢谢!applyplugin:'com.android.application'android{configurations.all{resolutionStrategy.force'com.android.support:support-annotations:22.1.0'}compil

android - Dagger 2 错误 : dependency "cannot be provided without an @Inject constructor" while it actually annotated with @Inject

我已经开始使用Dagger2,遇到了一个奇怪的问题,对我来说似乎是一个错误。我有3个模块,它们组合成一个子组件,进而扩展/加上更高级别的组件。子组件非常简单:只是模块和单个注入(inject)点的组合:@Singleton@Subcomponent(modules={NavigationDrawerModule.class,NavigationListModule.class,SwitcherModule.class})publicinterfaceNavigationDrawerComponent{NavigationDrawerFragmentinject(NavigationDr

c++ - ERROR : "dependent name is not a type". 当在类中使用 typedef 类型作为返回值时,带有模板

templateclassbag{public://TYPEDEFtypedefsize_tsize_type;typedefItemvalue_type;...}当我使用时templatebag::size_typebag::count(constItem&target)constVC++报错为Source.cpp(207):警告C4346:'bag::size_type':从属名称不是类型谁能告诉我为什么?谢谢! 最佳答案 应该是templatetypenamebag::size_typebag::count(constItem

git - NPM 安装 : Git URL dependency error in package. json

我想在我写的package.json中设置一个私有(private)包的GitURL依赖项:"dependencies":{"mymodule":"git://git@git.myrepo.com:/myproject#mybranch"}运行npminstall时出现此错误:gitclonegit://git@git.myrepo.com:/myproject.gitCloningintobarerepository'/hom/Ostro/.npm/_git-remotes/git-git-myrepo-com-myproject-git-4d838f3d'...npmERR!git