首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >防火墙:“错误: InjectProcessingStep无法处理”

防火墙:“错误: InjectProcessingStep无法处理”
EN

Stack Overflow用户
提问于 2022-11-27 10:55:32
回答 2查看 46关注 0票数 0

在我的前一篇文章中,一位社区成员推荐我使用消防站数据库下载一个名为make的应用程序,这样就可以使用防火墙数据库来了解它是如何工作的。我已经试过几次使应用程序工作,但我不断地得到这个错误,知道为什么吗?任何帮助都是非常感谢的!

错误消息:https://gyazo.com/8b8d41eddc9b176c376b3e98c2c249e7

代码语言:javascript
运行
复制
error: InjectProcessingStep was unable to process 'AccountServiceImpl(com.google.firebase.auth.FirebaseAuth)' because 'User' could not be resolved.
  
  Dependency trace:
      => element (CLASS): com.example.makeitso.model.service.impl.AccountServiceImpl
      => element (METHOD): getCurrentUser()
      => type (EXECUTABLE method): ()kotlinx.coroutines.flow.Flow<User>
      => type (DECLARED return type): kotlinx.coroutines.flow.Flow<User>
      => type (ERROR type argument): User
  
  If type 'User' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'User' is on your classpath.
error: InjectProcessingStep was unable to process 'SplashViewModel(ConfigurationService,com.example.makeitso.model.service.AccountService,com.example.makeitso.model.service.LogService)' because 'ConfigurationService' could not be resolved.
  
  Dependency trace:
      => element (CLASS): com.example.makeitso.screens.splash.SplashViewModel
      => element (CONSTRUCTOR): SplashViewModel(ConfigurationService,com.example.makeitso.model.service.AccountService,com.example.makeitso.model.service.LogService)
      => type (EXECUTABLE constructor): (ConfigurationService,com.example.makeitso.model.service.AccountService,com.example.makeitso.model.service.LogService)void
      => type (ERROR parameter type): ConfigurationService
  
  If type 'ConfigurationService' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'ConfigurationService' is on your classpath.
error: InjectProcessingStep was unable to process 'TasksViewModel(com.example.makeitso.model.service.LogService,com.example.makeitso.model.service.StorageService,ConfigurationService)' because 'ConfigurationService' could not be resolved.
  
  Dependency trace:
      => element (CLASS): com.example.makeitso.screens.tasks.TasksViewModel
      => element (FIELD): configurationService
      => type (ERROR field): ConfigurationService
  
  If type 'ConfigurationService' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'ConfigurationService' is on your classpath.
error: ModuleProcessingStep was unable to process 'com.example.makeitso.model.service.module.ServiceModule' because 'ConfigurationServiceImpl' could not be resolved.
  
InjectProcessingStep was unable to process 'AccountServiceImpl(com.google.firebase.auth.FirebaseAuth)' because 'User' could not be resolved.

  Dependency trace:
      => element (CLASS): com.example.makeitso.model.service.module.ServiceModule
      => element (METHOD): provideConfigurationService(ConfigurationServiceImpl)
      => type (EXECUTABLE method): (ConfigurationServiceImpl)ConfigurationService
      => type (ERROR parameter type): ConfigurationServiceImpl
  
  If type 'ConfigurationServiceImpl' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'ConfigurationServiceImpl' is on your classpath.
error: BindingMethodProcessingStep was unable to process 'provideAccountService(com.example.makeitso.model.service.impl.AccountServiceImpl)' because 'ConfigurationServiceImpl' could not be resolved.
  
  Dependency trace:
      => element (CLASS): com.example.makeitso.model.service.module.ServiceModule
      => element (METHOD): provideConfigurationService(ConfigurationServiceImpl)
      => type (EXECUTABLE method): (ConfigurationServiceImpl)ConfigurationService
      => type (ERROR parameter type): ConfigurationServiceImpl
  
  If type 'ConfigurationServiceImpl' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'ConfigurationServiceImpl' is on your classpath.
error: BindingMethodProcessingStep was unable to process 'provideLogService(com.example.makeitso.model.service.impl.LogServiceImpl)' because 'ConfigurationServiceImpl' could not be resolved.
  
  Dependency trace:
      => element (CLASS): com.example.makeitso.model.service.module.ServiceModule
      => element (METHOD): provideConfigurationService(ConfigurationServiceImpl)
      => type (EXECUTABLE method): (ConfigurationServiceImpl)ConfigurationService
      => type (ERROR parameter type): ConfigurationServiceImpl
  
  If type 'ConfigurationServiceImpl' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'ConfigurationServiceImpl' is on your classpath.
error: BindingMethodProcessingStep was unable to process 'provideStorageService(com.example.makeitso.model.service.impl.StorageServiceImpl)' because 'ConfigurationServiceImpl' could not be resolved.
  
  Dependency trace:
      => element (CLASS): com.example.makeitso.model.service.module.ServiceModule
      => element (METHOD): provideConfigurationService(ConfigurationServiceImpl)
      => type (EXECUTABLE method): (ConfigurationServiceImpl)ConfigurationService
      => type (ERROR parameter type): ConfigurationServiceImpl
  
  If type 'ConfigurationServiceImpl' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'ConfigurationServiceImpl' is on your classpath.
error: BindingMethodProcessingStep was unable to process 'provideConfigurationService(ConfigurationServiceImpl)' because 'ConfigurationServiceImpl' could not be resolved.
  
  Dependency trace:
      => element (CLASS): com.example.makeitso.model.service.module.ServiceModule
      => element (METHOD): provideConfigurationService(ConfigurationServiceImpl)
      => type (EXECUTABLE method): (ConfigurationServiceImpl)ConfigurationService
      => type (ERROR parameter type): ConfigurationServiceImpl
  
  If type 'ConfigurationServiceImpl' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'ConfigurationServiceImpl' is on your classpath.
InjectProcessingStep was unable to process 'SplashViewModel(ConfigurationService,com.example.makeitso.model.service.AccountService,com.example.makeitso.model.service.LogService)' because 'ConfigurationService' could not be resolved.

InjectProcessingStep was unable to process 'TasksViewModel(com.example.makeitso.model.service.LogService,com.example.makeitso.model.service.StorageService,ConfigurationService)' because 'ConfigurationService' could not be resolved.

ModuleProcessingStep was unable to process 'com.example.makeitso.model.service.module.ServiceModule' because 'ConfigurationServiceImpl' could not be resolved.

BindingMethodProcessingStep was unable to process 'provideAccountService(com.example.makeitso.model.service.impl.AccountServiceImpl)' because 'ConfigurationServiceImpl' could not be resolved.

BindingMethodProcessingStep was unable to process 'provideLogService(com.example.makeitso.model.service.impl.LogServiceImpl)' because 'ConfigurationServiceImpl' could not be resolved.

BindingMethodProcessingStep was unable to process 'provideStorageService(com.example.makeitso.model.service.impl.StorageServiceImpl)' because 'ConfigurationServiceImpl' could not be resolved.

BindingMethodProcessingStep was unable to process 'provideConfigurationService(ConfigurationServiceImpl)' because 'ConfigurationServiceImpl' could not be resolved.


> Task :app:kaptDevDebugKotlin FAILED

Execution failed for task ':app:kaptDevDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
   > java.lang.reflect.InvocationTargetException (no error message)

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2022-11-29 10:12:01

回答社区维基,正如Alex在上面的评论中提到的。

如果您想学习如何使用Firestore和Jetpack Compose创建一个简单的应用程序,我认为这个资源肯定会有所帮助。这是对应的存储库。或者你可能对阅读这个系列感兴趣。

您可以参考这些Link1Link2,它们可能对您有帮助。

票数 1
EN

Stack Overflow用户

发布于 2022-11-29 11:17:13

进入项目栏并将android视图更改为project。

一旦完成,检查google-services.json文件是否紧急,如果它不在那里,请向所有者项目请求它,然后它就能工作了

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/74589401

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档