草庐IT

MODULE_VAR

全部标签

android - E/炸药模块 : Failed to load module descriptor class: Didn't find class

已修复将Firebase更新到9.0.2在我将firebase升级到9.0.0之后。(现在到9.0.1)我正在尝试在firebase身份验证中使用自定义身份验证这个错误是在我的应用程序崩溃后出现的,我们没有得到任何其他类型的错误。E/DynamiteModule:Failedtoloadmoduledescriptorclass:Didn'tfindclass"com.google.android.gms.dynamite.descriptors.com.google.firebase.auth.ModuleDescriptor"onpath:DexPathList[[zipfile"

android - 在项目 'testDebug' 中找不到名称为 ':module' 的任务

从com.android.tools.build:gradle:1.3.0开始,您可以遇到在项目“:module”中找不到名称为“testDebug”的任务。由于在构建环境的早期阶段无法使用Robolectric和Java正确测试库模块,因此创建了此解决方法:afterEvaluate{project->android.libraryVariants.each{variant->printlnvariant.nameprintlntaskstasks.getByName("test${variant.name.capitalize()}"){dependsOn"assemble${va

java - Android - 无法解析以下类的父类(super class)型 - (Room Persistant Library,Android Library Module)

在我的Android项目(Kotlin)中,我想为我的数据层使用Room持久库。但是当我为RoomPersistent库添加依赖项时,构建项目突然开始失败。我收到的错误:这是我的项目级别build.gradle//Top-levelbuildfilewhereyoucanaddconfigurationoptionscommontoallsub-projects/modules.buildscript{ext{globalCompileSdkVersion=26globalMinSdkVersion=19globalTargetSdkVersion=26kotlin_version='

javascript - react native : Native module AppStateModule tried to override AppStateModule for module name AppState

我有一个正在运行的iOSReactNative应用程序(ReactNativev0.38)。我也尝试在android中运行相同的应用程序。我已经手动链接了所有这些库(我现在在iOS中使用):react-native-camerareact-native-code-pushreact-native-device-inforeact-native-google-analytics-bridgereact-native-i18nreact-native-push-notificationreact-native-restartreact-native-sqlite-storage设置.gra

java - 如何在 Kotlin 中注入(inject) var?

我尝试将Dagger2实现到我的Kotlin项目中,但我遇到了@Inject注释的问题。在Java中它看起来像这样并且工作正常:publicclassFooActivityextendsActivity{@Inject@Named("accessTokenObservable")publicFlowable>accessTokenObservable;@OverrideprotectedvoidonCreate(@NullablefinalBundlesavedInstanceState){super.onCreate(savedInstanceState);App.getGraph(

分析解决【No module named ‘triton‘】的问题

文章目录(一)现象(二)分析(三)安装(3.1)项目虚拟环境(3.2)环境版本问题(三)与主题无关(一)现象在Windows11下训练Stable-Diffusion的LoRA模型的时候,总是重复提示:AmatchingTritonisnotavailable,someoptimizationswillnotbeenabled.Errorcaughtwas:Nomodulenamed‘triton’意思是:没有匹配的Triton,一些优化将不会被启用。捕获的错误是:没有名为"TRITON"的模块虽然过程并不会中断,但是看着好难受。(二)分析上网搜了一下,应该是xformers需要用到Trito

android - firebase 错误 W/DynamiteModule : Local module descriptor class for com. 找不到 google.firebase.auth

我尝试基于登录/注册帐户构建应用。我创建了它的Firebase并通过电子邮件启用了身份验证。我添加了google-play-services.json文件。我加了applyplugin:'com.google.gms.google-services'compile'com.google.firebase:firebase-auth:10.0.1'在build.gridle(app)中然后在我添加的模块中classpath'com.google.gms:google-services:3.0.0'这是我的代码publicclasssplashscrextendsActivityimple

java - 安卓工作室 : How to exclude google-services module in product flavor?

在我的Android项目中,有几种产品风格:buildTypes{release{}debug{}staging{}}productFlavors{freeVersion{}proVersion{}partnerVersion{}}另外,我使用GoogleAnalytics:applyplugin:'com.google.gms.google-services'dependencies{compile'com.google.android.gms:play-services-analytics:8.4.0'}如何在其中一个中排除谷歌服务?例如,在:freeVersion{}

android - @Module 在 dagger for android 中意味着什么?

我已经阅读了很多博客,但我仍然无法弄清楚@Module注释在dagger中的功能。@Inject我知道它在运行时提供依赖注入(inject)。但是@Module做了什么。因为对象图也是建立在模块上的。例如,我有来自https://github.com/AndroidBootstrap/android-bootstrap的这段代码.@Module(complete=false,injects={BootstrapApplication.class,BootstrapAuthenticatorActivity.class,MainActivity.class,BootstrapTimerA

android - 错误 : jest-haste-map: Haste module naming collision:

我已经创建了一个自定义的npm模块(将使用xxx而不是它的名称)并使用npminstall手动链接它。我非常努力地搜索:[Workarounds]Packagerunabletoresolvemodulefrom/Users/node_modules/Error:jest-haste-map:@providesModulenamingcollisionwhenusingalocaldependency在提出问题之前。如果有人告诉我我的代码或我的方法有什么问题或我的代码中有任何错误,我将不胜感激。当我运行react-nativerun-android时,metrobundler引发了以下