草庐IT

dependant

全部标签

android - npm run android 卡在 'Loading dependency graph, done' (BlueWallet)

我正在尝试从thisgithubsource克隆BlueWallet.我克隆了项目并安装了所需的包。此外,模拟器正在运行androidstudioAVD。但每当我尝试运行npmstartandroid时,它都会卡在文本Loadingdependencygraph,done.上,不会再发生任何事情!这很奇怪,因为每当我尝试运行相同的场景和命令以启动连接到模拟器的纯react-native时,它​​都可以正常工作。npmstartandroid的结果如下:$npmstartandroid>BlueWallet@3.8.3start/home/Learning/ReactNative/Blu

android - 错误 : when I replace compile with implementation in gradle(dependency)

我将我的AndroidStudio从3.0.1更新到3.1.0但是在更新之后,当我构建我的项目时它显示2警告:1。用实现替换编译(编译支持将在2018年底结束)2。将testCompile替换为testImplementaion(并且testCompile支持将在2018年底结束)所以,最后做了这些更改,但在那之后,它显示一些错误:build.gradle(模块:app)applyplugin:'com.android.application'android{compileSdkVersion27defaultConfig{applicationId"biz.coolpage.aash

android - 错误 : Conflict with dependency 'com.android.support:multidex' in project

我使用以下gradle文件创建了一个新的android项目:android{...dexOptions{javaMaxHeapSize"4g"}...}dependencies{...compile'com.linkedin.dexmaker:dexmaker-mockito:2.16.0'...}但是当我构建我的应用程序时,我得到:Conflictwithdependency'com.android.support:multidex'inproject':app'.Resolvedversionsforapp(1.0.3)andtestapp(1.0.1)differ.Seehttp

android - 警告 : Conflict with dependency 'junit:junit' in project ':app' . 应用程序 (4.11) 和测试应用程序 (4.12) 的已解决版本

我正在尝试解决两个错误:无法解析符号“test”无法解析符号“AndroidJUnit4”在我的AndroidStudio项目中运行集成测试。为了解决这个问题,我看到了一些答案,我的build.gradle看起来像:applyplugin:'com.android.application'android{compileSdkVersion23buildToolsVersion'25.0.0'defaultConfig{applicationId"com.ps.comunio.comuniops"minSdkVersion15targetSdkVersion23versionCode1v

Android studio Gradle::dependencies {compile 'com.android.support:appcompat-v7:18.0.0'} 编译失败

最近转用androidstudio做开发。我已使用minsdk、targetsdk创建项目并使用sdk编译为GoogleApiLevel8。由于build.gradle文件中有如下代码导致项目编译失败。dependencies{compile'com.android.support:appcompat-v7:18.0.0'}谁能告诉我为什么会这样?我的整个build.gradle贴在下面。buildscript{repositories{mavenCentral()}dependencies{classpath'com.android.tools.build:gradle:0.5.+'

android - 上传 dependencies.apk 时出错 : WARNING: linker: libhoudini. 所以有文本重定位

我在Windows中使用AndroidStudio2.3稳定版,在模拟器上创建任何新项目和安装apk时,出现此错误并且apk安装失败。Errorwhileuploadingdependencies.apk:WARNING:linker:libhoudini.sohastextrelocations.Thisiswastingmemoryandpreventssecurityhardening.Pleasefix我该如何解决这个问题? 最佳答案 在尝试使用本文中给出的选项但未能安装应用程序之后。这个问题是在将AndroidStudio

java - 在自定义 java 库模块中编译 android 模块时出现 Gradle 警告 "unspecified depends on libraries but is a jar "

我是Gradle的新手。我有一个简单的项目结构(如下所示),其中包含一个主要的android应用程序模块、一个android模块(myandroidlibrary)和一个纯java模块(myjavalibrary)。它们具有简单的依赖关系,app->myjavalibary和myjavalibary->myandroidlibrary(请参见下图)。Gradle文件快照也在下面给出。但是,在同步gradle时会产生以下错误:D:\MyTestCodes\MyTestApplication\app\build.gradleWarning:ModuleversionMyTestApplic

android - 在 Android Studio 项目中包含 OpenCV 会产生 'Unresolved dependencies' 错误

我正在尝试使用this在我的AndroidStudio项目中包含OpenCV一步一步的指导。但是,在将OpenCV添加为模块依赖项(指南中的第4步)后,Gradle项目同步失败并出现以下错误:ERROR:Unabletoresolvedependencyfor':app@debug/compileClasspath':Couldnotresolveproject:openCVLibrary410.ShowDetailsAffectedModules:appERROR:Unabletoresolvedependencyfor':app@debugAndroidTest/compileCl

android - 此类文件的 jar 属于容器 'Android Dependencies',它不允许对其条目上的源附件进行源修改

我有一个图书馆项目和另一个使用图书馆项目中的一些类的项目。一旦我在其中一个库类中设置断点,并且我的应用程序在断点处停止,Eclipse就会向我显示错误消息SourcenotfoundThejarofthisclassfilebelongstocontainer'AndroidDependencies'whichdoesnotallowsourcemodificationstosourceattachmentsonitsentries有人可以帮助我吗? 最佳答案 我找到了答案!不知何故(不要问我为什么)Eclipse弄乱了我的库项目类

android - Dagger 2 : Component cannot depend on multiple scoped components

是的,我知道之前有人问过这个问题,是的,我知道这是“设计使然”的。但我想做这样的事情:@Component(modules={RealmModule.class})publicinterfaceRealmComponent{Realmrealm();}@Component(modules={RepositoryModule.class})publicinterfaceRepositoryComponent{PersonRepositorypersonRepository();ScheduleRepositoryschedulesRepository();}@Component(depe