blankj / aucframetemplate Goto Github PK
View Code? Open in Web Editor NEWAucFrame
Home Page: https://t.zsxq.com/FmeqfYF
AucFrame
Home Page: https://t.zsxq.com/FmeqfYF
buildSrc下的groovy类会报红,不影响运行。
android studio version:4.0
gradle version:3.6.3
大佬,这是该寻找替代方案的信号吗
大佬,您好!按照您的博客,我创建了base和common模块,并将它移到了lib目录下,也修改了setting.gradle,同步后AS有这个提示?请问是什么原因?怎么解决?
在看完AUC
的文档之后,打算把自己的项目使用这种方式来进行构建。但是在构建中的过程中发现了一个问题。
不管是有没有改代码,每次编译的时间都很慢。(调试起来很不方便)
之前的项目,第一次运行的时候很慢,但接下来运行的时间就很快。(调试起来就很方便)
因为ARouter
的问题,所以更改了module
的名称,更改方式是
project(proPath).projectDir = new File(".${pro.localPath.replace(":", "/")}")
我怀疑是这个的问题
不知道是否有人遇到过,或者有更好的处理方式
FAILURE: Build failed with an exception.
Could not read script '/home/user1/ASPros/AucFrameTemplate/buildApp.gradle' as it does not exist.
貌似是Linux平台大小写问题,buildAPP.gradle --> buildApp.gradle才能正确运行,win不受影响。
你好,假如pkg或mock需要各自单独的依赖, 请问 是要手动把所有依赖都下沉到base module里吗,还是通过 您的以下脚本自动依赖了isApply=true的库啊?
/**
* 根据 depConfig 生成 dep
*/
private static generateDep(Gradle gradle) {
def config = getDepConfigByFilter(new DepConfigFilter() {
@OverRide
boolean accept(String name, DepConfig config) {
if (config.useLocal) {// 如果使用的是本地模块,那么把它转化为 project
config.dep = gradle.rootProject.findProject(config.localPath)
} else {// 如果是远端依赖,那就直接使用远端依赖即可
config.dep = config.remotePath
}
return true
}
})
GLog.l("generateDep = ${GLog.object2String(config)}")
}
因为只看到这段改了下路径并没有调用 api/implementation,对groovy不太熟,所以产生了以上疑惑。多谢解惑~
如题。
Where:
Settings file 'E:\AucFrameTemplate-master\settings.gradle' line: 1
What went wrong:
A problem occurred evaluating settings 'AucFrameTemplate-master'.
Could not get unknown property 'ConfigUtils' for settings 'AucFrameTemplate-master' of type org.gradle.initialization.DefaultSettings.
Java(export与pkg)与kotlin(写的lib)混编的时候,提示找不到api的实际实现类(内含Java调用kotlin),能找到mock里的实现类(纯Java)
切换右上角的语言为非中文,然后再点击下载即可。
设置 -> code style -> xml 右上角 set from -> predefined style -> Android -> apply -> ok
删除 defaultConfig
中的 resValue "string", "app_name", Config.appName + suffix
,对 buildTypes
设置如下所示:
buildTypes {
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
applicationIdSuffix ".debug"
resValue "string", "app_name", Config.appName + suffix + ".debug"
}
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
resValue "string", "app_name", Config.appName + suffix
}
}
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.