From 1cd703628b9bb7d3edea8269132a774993e57f17 Mon Sep 17 00:00:00 2001
From: Super <986386695@qq.com>
Date: Mon, 2 Aug 2021 23:24:32 +0800
Subject: [PATCH] =?UTF-8?q?DEMO=E7=BC=96=E8=AF=91=E8=BF=90=E8=A1=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 2 +-
app/build.gradle | 22 +++++------
app/src/main/AndroidManifest.xml | 4 --
.../rxffmpeg/app/utils/UmengHelper.java | 37 +++++++++----------
build.gradle | 4 +-
5 files changed, 32 insertions(+), 37 deletions(-)
diff --git a/README.md b/README.md
index a0766d7..3abea90 100644
--- a/README.md
+++ b/README.md
@@ -97,7 +97,7 @@ dependencies {
//极速版 (预计占用 4M 左右空间),主要移除了一些不常用的编解码器
implementation 'com.github.microshow:RxFFmpeg:4.9.0-lite'
- //定制版,如果觉得库太占空间,不需要太多功能,需要对APK瘦身,可以压缩到1.5M左右,可联系作者
+ //迷你版 (预计占用 1.5M 左右空间),主打压缩裁剪等基础通用功能,属于付费定制版,可联系作者
implementation 'xxx.xxx.xxx'
}
diff --git a/app/build.gradle b/app/build.gradle
index 41b52b5..9f56301 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -51,8 +51,10 @@ android {
}
}
- dataBinding {
- enabled = true
+ buildFeatures {
+ dataBinding = true
+ // for view binding :
+// viewBinding = true
}
compileOptions {
@@ -70,7 +72,7 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
+ implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.cardview:cardview:1.0.0'
//动态权限
@@ -80,19 +82,17 @@ dependencies {
implementation 'com.baidu.mobstat:mtj-sdk-circle:3.9.3.9'
//友盟统计
- api 'com.umeng.umsdk:analytics:8.1.6'
- api 'com.umeng.umsdk:common:2.1.0'
- api 'com.umeng.umsdk:utdid:1.1.5.3'
- //友盟 PushSDK
- api 'com.umeng.umsdk:push:6.0.1'
+ implementation 'com.umeng.umsdk:common:9.4.0'// 必选
+ implementation 'com.umeng.umsdk:asms:1.2.3'// 必选
+ implementation 'com.umeng.umsdk:apm:1.4.0' // 错误分析升级为独立SDK,看crash数据请一定集成,可选
//lottie
implementation 'com.airbnb.android:lottie:3.4.0'
//agentweb
- implementation 'com.just.agentweb:agentweb:4.1.2'// (必选)
- implementation 'com.just.agentweb:filechooser:4.1.2'// (可选)
- implementation 'com.download.library:Downloader:4.1.2'// (可选)
+ implementation 'com.github.Justson.AgentWeb:agentweb-core:v4.1.9-androidx' // (必选)
+ implementation 'com.github.Justson.AgentWeb:agentweb-filechooser:v4.1.9-androidx' // (可选)
+ implementation 'com.github.Justson:Downloader:v4.1.9-androidx' // (可选)
//leakcanary 内存泄露检测
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.2'
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 3ce1d76..513d940 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -11,10 +11,6 @@
-
-
-
-