Blankj / Blankj/AucFrameTemplate
AucFrame 坑点及补充
- Dominant language
- Groovy
- Stars
- 251
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
## 坑点
### ~下载预览版 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` 设置如下所示:
```groovy
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
}
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No target file or test is named. First inspect the repository's existing documentation and Android build configuration to locate where these notes belong. Confirm that the Android Studio XML guidance, library versions, and debug/release coexistence instructions are current and documented in the appropriate place.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, groovy
- Domain
- build-system, documentation, mobile
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100