Comments (11)
我也是,感觉看不太懂
from ddcomponentforandroid.
同求
from ddcomponentforandroid.
同求
from ddcomponentforandroid.
你是对原理不清楚还是对接入不清楚呢?
录音频可能暂时没有时间
from ddcomponentforandroid.
@mqzhangw ,,,接入这块,试了一天了,没成功唉
from ddcomponentforandroid.
demo运行成功了吗?要接入自己项目需要自定制,具体可以看wiki
from ddcomponentforandroid.
@mqzhangw ,Demo可以运行。我接入创建的Demo除了包名不同外,都是按照给的Demo写的。现在可以运行,但是app 没有展示 readercomponent。。单独运行readercomponent,点击“欢迎每天听本书---”,没有启动分享组件。。
在 DDComponen 定制化 的修改包名,这里我也改成自己的了
from ddcomponentforandroid.
每个组件需要增加一个gradle.properties文件,里面配置debugComponent以及compileComponent属性,配置好之后sync才可以生效。如果使用字节码注入的方式,需要修改包名。如果使用反射的方式,需要在application中手动加上注册的代码。建议先使用反射的方式
from ddcomponentforandroid.
把app的MyApplication 的反射注释打开是可以用了呢。
这是 组件中 写的
from ddcomponentforandroid.
谢谢~๑乛◡乛๑
from ddcomponentforandroid.
客气,方案细节有点多,建议仔细看一下文章
from ddcomponentforandroid.
Related Issues (20)
- 项目报错Unable to find a matching configuration of project HOT 11
- android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? HOT 3
- 在实际公司组件化git部署用的哪种方式
- 打包后找不到子组件的类,怎么解决? HOT 1
- 建议
- basicres添加资源后编译失败 HOT 1
- 同时集成Bubly的Tinker1.9.6热修复时,打补丁包失败 HOT 2
- UI 跳转 List 数据的传递怎么使用? HOT 4
- 关于数据传递的问题 HOT 1
- 修改组件文件后,运行app,报错Failed to delete 组件名字\build\intermediates\intermediate-jars\debug\classes.jar HOT 5
- 没明白 AppShareBean不想将一些类下沉如何处理 是如何处理的 HOT 1
- 低版本无法运行的问题 HOT 1
- 低版本无法运行的问题
- 关于组件化dagger android使用相关问题 HOT 2
- gradle 5.1.1 BUG HOT 1
- 模块引入R文件报红
- 组件化,activity之间的共享动画如何处理呀? HOT 1
- 组件化库维护问题
- 依赖包版本compile 'com.android.support:appcompat-v7:26.+'
- 框架不支持App Bundle
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ddcomponentforandroid.