Commit 4c363f84 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent bb089c29
...@@ -162,8 +162,11 @@ dependencies { ...@@ -162,8 +162,11 @@ dependencies {
// 应用管理中心分包 // 应用管理中心分包
implementation(name: 'humesdk-1.0.0', ext: 'aar') implementation(name: 'humesdk-1.0.0', ext: 'aar')
// umeng // umeng
implementation(name: 'umeng-asms-armeabi-v1.2.2', ext: 'aar') // implementation(name: 'umeng-asms-armeabi-v1.2.2', ext: 'aar')
implementation(name: 'umeng-apm-armeabi-v1.2.0', ext: 'aar') // implementation(name: 'umeng-apm-armeabi-v1.2.0', ext: 'aar')
implementation 'com.umeng.umsdk:common:9.4.0'// 必选
implementation 'com.umeng.umsdk:asms:1.2.3'// 必选
implementation 'com.umeng.umsdk:apm:1.4.0'
// 穿山甲 GroMore // 穿山甲 GroMore
// mediation_ad_sdk // mediation_ad_sdk
implementation(name: 'mediation_ad_sdk_2.8.1.0', ext: 'aar') implementation(name: 'mediation_ad_sdk_2.8.1.0', ext: 'aar')
......
...@@ -24,11 +24,10 @@ ...@@ -24,11 +24,10 @@
<application <application
android:name="com.mints.street.AppApplication" android:name="com.mints.street.AppApplication"
android:allowBackup="true" android:allowBackup="true"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_main_enable"
android:label="@string/app_name" android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config" android:networkSecurityConfig="@xml/network_security_config"
android:requestLegacyExternalStorage="true" android:requestLegacyExternalStorage="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/AppTheme" android:theme="@style/AppTheme"
android:usesCleartextTraffic="true"> android:usesCleartextTraffic="true">
...@@ -67,11 +66,11 @@ ...@@ -67,11 +66,11 @@
android:process=":remote"/> android:process=":remote"/>
<activity android:name="com.mints.street.splash.SplashActivity" <activity android:name="com.mints.street.splash.SplashActivity"
android:excludeFromRecents="true" android:screenOrientation="portrait"
android:theme="@style/NormalSplash"> android:theme="@style/NormalSplash">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<data android:scheme="um.60e80209a6f90557b7b19aa7"/>
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
</activity> </activity>
...@@ -80,7 +79,6 @@ ...@@ -80,7 +79,6 @@
</activity> </activity>
<activity android:name="com.mints.street.main.MainActivity" <activity android:name="com.mints.street.main.MainActivity"
android:configChanges="orientation|keyboardHidden|screenSize" android:configChanges="orientation|keyboardHidden|screenSize"
android:excludeFromRecents="true"
android:launchMode="singleTask" android:launchMode="singleTask"
android:theme="@style/AppTheme.NoneTranslucent"> android:theme="@style/AppTheme.NoneTranslucent">
......
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
\ No newline at end of file
...@@ -8,6 +8,9 @@ buildscript { ...@@ -8,6 +8,9 @@ buildscript {
maven { url "https://jitpack.io" } maven { url "https://jitpack.io" }
google() google()
jcenter() jcenter()
// umeng
maven { url 'https://repo1.maven.org/maven2/' }
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:4.1.1' classpath 'com.android.tools.build:gradle:4.1.1'
...@@ -27,6 +30,9 @@ allprojects { ...@@ -27,6 +30,9 @@ allprojects {
google() google()
jcenter() jcenter()
// umeng
maven { url 'https://repo1.maven.org/maven2/' }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment