This commit is contained in:
wangcongtao
2019-12-27 19:56:30 +08:00
parent 522c5e2dbf
commit ae9ddcb369
308 changed files with 6608 additions and 607 deletions

View File

@@ -16,12 +16,14 @@ android {
arguments = [AROUTER_MODULE_NAME: project.getName()]
}
}
externalNativeBuild {
ndk {
// 设置支持的SO库架构
abiFilters 'armeabi'
}
}
multiDexEnabled true
// externalNativeBuild {
// ndk {
// // 设置支持的SO库架构
// abiFilters 'armeabi'
// }
// }
}
signingConfigs {
release {
@@ -51,6 +53,7 @@ dependencies {
debugImplementation rootProject.ext.dependencies.leakcanary
testImplementation rootProject.ext.dependencies.leakcanary
releaseImplementation rootProject.ext.dependencies.leakcanarynoop
releaseImplementation rootProject.ext.dependencies.androidxmultidex
implementation project(':modules:mogo-module-main')
implementation project(':foudations:mogo-commons')
}

View File

@@ -13,10 +13,6 @@
android:supportsRtl="true"
android:theme="@style/AppTheme.App">
<!-- 高德地图 -->
<meta-data
android:name="com.amap.api.v2.apikey"
android:value="a36b9f7b086fa3951bb35338a5a06dd3" />
</application>
</manifest>

View File

@@ -1,6 +1,9 @@
package com.mogo.launcher;
import android.app.Application;
import android.content.Context;
import androidx.multidex.MultiDex;
import com.mogo.commons.AbsMogoApplication;
@@ -16,4 +19,10 @@ public class MogoApplication extends AbsMogoApplication {
public void onCreate() {
super.onCreate();
}
@Override
protected void attachBaseContext( Context base ) {
super.attachBaseContext( base );
MultiDex.install( base );
}
}