Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vedio
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_vedio
Commits
63134568
Commit
63134568
authored
Oct 31, 2023
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
4366e4ee
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
56 additions
and
21 deletions
+56
-21
build.gradle
video/app/build.gradle
+2
-0
proguard-rules.pro
video/app/proguard-rules.pro
+10
-21
AndroidManifest.xml
video/app/src/main/AndroidManifest.xml
+18
-0
bd_file_paths.xml
video/app/src/main/res/xml/bd_file_paths.xml
+8
-0
gdt_file_path.xml
video/app/src/main/res/xml/gdt_file_path.xml
+9
-0
sigmob_provider_paths.xml
video/app/src/main/res/xml/sigmob_provider_paths.xml
+9
-0
No files found.
video/app/build.gradle
View file @
63134568
...
...
@@ -264,6 +264,8 @@ dependencies {
// 穿山甲聚合 接入【穿山甲、快手】
implementation
"com.pangle.cn:mediation-sdk:5.7.0.5"
implementation
"com.pangle.cn:mediation-sigmob-adapter:4.12.7.1"
// 腾讯播放器
implementation
"com.tencent.liteav:LiteAVSDK_Player:11.3.0.13176"
...
...
video/app/proguard-rules.pro
View file @
63134568
...
...
@@ -400,6 +400,7 @@
protected <fields>;
}
# baidu sdk 不接入baidu sdk可以不引入
-ignorewarnings
-dontwarn com.baidu.mobads.sdk.api.
*
*
...
...
@@ -428,11 +429,6 @@
-dontwarn com.ksad.
*
*
-dontwarn aegon.chrome.
*
*
# Admob 不接入admob sdk可以不引入
-keep class com.google.android.gms.ads.MobileAds {
public *;
}
#sigmob 不接入sigmob sdk可以不引入
-dontwarn android.support.v4.
*
*
-keep class android.support.v4.
*
* { *; }
...
...
@@ -442,9 +438,6 @@
-keep class sun.misc.Unsafe { *; }
-dontwarn com.sigmob.
*
*
-keep class com.sigmob.
*
*.
*
*{*;}
-keep interface com.sigmob.
*
*.
*
*{*;}
-keep class com.czhj.
*
*{*;}
-keep interface com.czhj.
*
*{*;}
#oaid 不同的版本混淆代码不太一致,你注意你接入的oaid版本 ,不接入oaid可以不添加
-dontwarn com.bun.
*
*
...
...
@@ -464,20 +457,16 @@
-keep public class com.netease.nis.sdkwrapper.Utils {public <methods>;}
#klevin 游可赢
-keep class com.tencent.tgpa.lite.
*
*{*;}
-keep class com.ihoc.mgpa.deviceid.
*
*{*;}
-keep class com.tencent.klevin.
*
*{*;}
#ks 不接入ks sdk可以不引入
-keep class org.chromium.
*
* {*;}
-keep class org.chromium.
*
* { *; }
-keep class aegon.chrome.
*
* { *; }
-keep class com.kwai.
*
*{ *; }
-dontwarn com.kwai.
*
*
-dontwarn com.kwad.
*
*
-dontwarn com.ksad.
*
*
-dontwarn aegon.chrome.
*
*
#Mintegral 不接入Mintegral sdk,可以不引入
-keepattributes Signature
-keepattributes *Annotation*
-keep class com.mbridge.
*
* {*; }
-keep interface com.mbridge.
*
* {*; }
-keep class android.support.v4.
*
* { *; }
-dontwarn com.mbridge.
*
*
-keep class
*
*.R$* { public static final int mbridge*; }
# ======================= 穿山甲 GroMore END ================
# ======================= 腾讯播放器 END ================
...
...
video/app/src/main/AndroidManifest.xml
View file @
63134568
...
...
@@ -255,6 +255,24 @@
</provider>
<!-- baidu end================== -->
<!-- sigmob start================== -->
<activity
android:name=
"com.sigmob.sdk.base.common.AdActivity"
android:configChanges=
"keyboard|keyboardHidden|orientation|screenSize"
android:theme=
"@style/sig_transparent_style"
tools:replace=
"android:theme"
/>
<provider
android:name=
"com.sigmob.sdk.SigmobFileProvider"
android:authorities=
"${applicationId}.sigprovider"
android:exported=
"false"
android:grantUriPermissions=
"true"
>
<meta-data
android:name=
"android.support.FILE_PROVIDER_PATHS"
android:resource=
"@xml/sigmob_provider_paths"
/>
</provider>
<!-- sigmob end================== -->
<!-- GDT start================== -->
<!-- targetSDKVersion >= 24时才需要添加这个provider。provider的authorities属性的值为${applicationId}.fileprovider,请开发者根据自己的${applicationId}来设置这个值,例如本例中applicationId为"com.qq.e.union.demo"。 -->
<provider
...
...
video/app/src/main/res/xml/bd_file_paths.xml
0 → 100644
View file @
63134568
<?xml version="1.0" encoding="utf-8"?>
<paths
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<external-path
name=
"bd_lv_path"
path=
"/"
/>
<external-files-path
name=
"bdpath"
path=
"bddownload/"
/>
<external-path
name=
"bdpathsd"
path=
"bddownload/"
/>
<files-path
name=
"bd_files_path"
path=
"bddownload/"
/>
<cache-path
name=
"bd_cache_path"
path=
"bddownload/"
/>
</paths>
\ No newline at end of file
video/app/src/main/res/xml/gdt_file_path.xml
0 → 100644
View file @
63134568
<paths>
<!-- 这个下载路径也不可以修改,必须为com_qq_e_download -->
<external-cache-path
name=
"gdt_sdk_download_path1"
path=
"com_qq_e_download"
/>
<cache-path
name=
"gdt_sdk_download_path2"
path=
"com_qq_e_download"
/>
</paths>
\ No newline at end of file
video/app/src/main/res/xml/sigmob_provider_paths.xml
0 → 100644
View file @
63134568
<paths>
<!-- 这个下载路径不可以修改,SigDownload -->
<external-cache-path
name=
"SigMob_root"
path=
"SigDownload"
/>
<external-path
name=
"SigMob_root_external"
path=
"."
/>
</paths>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment