Code Monkey home page Code Monkey logo

aucframetemplate's Introduction

aucframetemplate's People

Contributors

blankj avatar gavinliu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aucframetemplate's Issues

编译时间很慢

在看完AUC的文档之后,打算把自己的项目使用这种方式来进行构建。但是在构建中的过程中发现了一个问题。

不管是有没有改代码,每次编译的时间都很慢。(调试起来很不方便)

之前的项目,第一次运行的时候很慢,但接下来运行的时间就很快。(调试起来就很方便)

因为ARouter的问题,所以更改了module的名称,更改方式是

project(proPath).projectDir = new File(".${pro.localPath.replace(":", "/")}")

我怀疑是这个的问题

不知道是否有人遇到过,或者有更好的处理方式

Could not read script 'xxx/AucFrameTemplate/buildApp.gradle' as it does not exist.

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':feature:launcher:app'.

Could not read script '/home/user1/ASPros/AucFrameTemplate/buildApp.gradle' as it does not exist.

貌似是Linux平台大小写问题,buildAPP.gradle --> buildApp.gradle才能正确运行,win不受影响。

你好,最直接的就是 feature 下的所有模块的 build.gradle 都是空空如也?

你好,假如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不太熟,所以产生了以上疑惑。多谢解惑~

Gradle 6.0 Build Error

  • 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.

hi,发现个问题?

Java(export与pkg)与kotlin(写的lib)混编的时候,提示找不到api的实际实现类(内含Java调用kotlin),能找到mock里的实现类(纯Java)

AucFrame 坑点及补充

坑点

下载预览版 AS 点击无效

切换右上角的语言为非中文,然后再点击下载即可。

AndroidStudio 3.5 版本格式化 xml 后布局错乱

设置 -> code style -> xml 右上角 set from -> predefined style -> Android -> apply -> ok

补充

升级各库到最新版本

  • bus 插件: v2.6
  • api 插件: v1.4
  • utilcode: v1.29.0

支持 debug 和 release 的应用共存

删除 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
    }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.