hellochenjinjun / newfastframe Goto Github PK
View Code? Open in Web Editor NEW终极组件化框架项目方案
License: Apache License 2.0
终极组件化框架项目方案
License: Apache License 2.0
RT
点击校园、音乐、直播、聊天四个模块,都提示 There's no route matched! 应该改哪个地方
找不到 DaggerNewsComponent
当设置isAlone = true 时,各个module 都作为application存在,但是运行项目时,去无法添加Android app进行运行单个module.
单个module调试不了,不知
if (rootProject.ext.isAlone) {
apply plugin: 'com.android.application'
} else {
apply plugin: 'com.android.library'
}
意义在那里?
如果单个module 能像 APP 一样运行,才有意义吧
项目中可不可以使用butterknife?
As3.5打开报错,大佬能否加一个apk呀?
2、运行app module提示
Android resource linking failed
E:\MMProject\NewFastFrame\app\build\intermediates\merged_manifests\debug\AndroidManifest.xml:82: error: unexpected element found in .
解决方法:
找到chat/src/main下的Manifest.xml 105-109行有异常代码(我真没见过。可能我太菜了)
一是删除它,二是将其包裹在102行的activity里。
由于我不懂其用意,这样改虽然能运行,但不保证这样可能会出现其他状况,请作者指教。
Unexpected scopes found in folder 'D:\Android\Model\NewFastFrame-master\chat\build\intermediates\transforms\mergeJniLibs\debug'. Required: PROJECT. Found: EXTERNAL_LIBRARIES, PROJECT, SUB_PROJECTS
I had a compile error for branch news_fix after check out of commit id '8652d1c2890080340b448ce4292f8d7b72888f3d'.
the error msg is:
NewFastFrame/music/src/main/java/com/example/cootek/newfastframe/MainRepositoryManager.java
Error:(4, 44) error: cannot find symbol class DaoSession
and so on...
如题。
今天看到大佬这项目感觉非常棒,很有学习价值。可是拉取运行的时候发现基类库的dagger封装类没有上传上了,大佬如果方便的话可否发给小弟学习学习下?
3.0 项目运行不起来。麻烦更新到3.0
clone了半天,图片太多了。我司连github速度极慢,不晓得怎么回事。
1、你现在使用的是解析Manifest,如果组件比较多会不会造成启动起诉比较慢,这里是不能延迟加载?
2、我有两个方案:
2.1、第一种就是编译期注解,并在运行时遍历dex找到映射表加载组件到内存中,当然这也是耗时操作,可以延迟加载;
2.2、第二章就是通过Content Provider,注入Application,这样就需要组件自己去实现,这种方案是启动Content Provider多会消耗一定的系统资源;
CONFIGURE SUCCESSFUL in 4s
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported
Affected Modules: app, chat, commonlibrary, manager, music, news, skin, video
WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variantOutput.getProcessResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
Affected Modules: app
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.