Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AucFrame 坑点及补充 #1

Open
Blankj opened this issue Aug 8, 2019 · 1 comment
Open

AucFrame 坑点及补充 #1

Blankj opened this issue Aug 8, 2019 · 1 comment

Comments

@Blankj
Copy link
Owner

Blankj commented Aug 8, 2019

坑点

下载预览版 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
    }
}
@Blankj Blankj closed this as completed Aug 8, 2019
@Blankj Blankj reopened this Sep 3, 2019
@walorwang
Copy link

Mark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants