BasicUI
BasicUI是一些常用的Android UI组件和一些实用工具类封装,提高Android的开发效率
使用文档链接:https://github.com/Peakmain/BasicUI/wiki
How to
- Step 1. Add the JitPack repository to your build file
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Step 2. Add the dependency
implementation 'com.github.Peakmain:BasicUI:1.1.17'
-
Step 3.some probleam
如果你的gradle版本比3.5.3高,可能会出现以下几个问题:
1、Entry name 'AndroidManifest.xml' collided
解决办法:在gradle.properties添加以下代码
android.useNewApkCreator=false
2、如果安装失败,用adb install安装报错提示如下
failed to install app-debug.apk: Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to parse /data/app/vmdl1335956833.tmp/base.apk: Corrupt XML binary file]
解决办法:在添加依赖的build.gradle中添加以下代码
android{ packagingOptions { exclude 'AndroidManifest.xml' } }
Screenshot
BasicUI Demo APP 安装包下载
- 蒲公英下载地址
- Github下载地址: