JessYanCoding / MVPArms

⚔️ A common architecture for Android applications developing based on MVP, integrates many open source projects, to make your developing quicker and easier (一个整合了大量主流开源项目高度可配置化的 Android MVP 快速集成框架).
Apache License 2.0
10.28k stars 2.39k forks source link

基于arms开发的项目 变换成依赖 #361

Open greadking opened 4 years ago

greadking commented 4 years ago

Look at here

Environment

Bug Description:

因为需要将项目改成moudle 供另一个应用 调用,因为调用方的框架不明确所以 没有使用您的组件化方案,经过修改已经可以编译通过但是运行时还是会报di生成的文件找不到 实际上 已经生成了,

Related Code:

Bug Log:


FAILURE: Build failed with an exception.
StandardAddressAddAlertActivity.java:30: 错误: 找不到符号
import com.weique.overhaul.v2.di.component.DaggerAddressAddAlertComponent;
* What went wrong:
Execution failed for task ':zongzhi:compileDebugJavaWithJavac'.
> java.lang.RuntimeException: ARouter::Compiler >>> No module name, for more information, look at gradle log.

### Others:
JessYanCoding commented 4 years ago

建议使用框架的代码模板生成 dagger 代码,dagger的代码生成和你的业务代码有关,很难能通过只言片语,就能给你解答清楚,但是代码只要没问题,规则是对的,那肯定是不会有问题的