add product

This commit is contained in:
wangcongtao
2020-02-13 19:02:01 +08:00
parent 311427bcd6
commit 73cc90c609
4 changed files with 55 additions and 13 deletions

View File

@@ -20,12 +20,12 @@ android {
}
multiDexEnabled true
// externalNativeBuild {
// ndk {
// // 设置支持的SO库架构
// abiFilters 'armeabi'
// }
// }
externalNativeBuild {
ndk {
// 设置支持的SO库架构
abiFilters 'armeabi-v7a'
}
}
}
signingConfigs {
release {
@@ -52,6 +52,26 @@ android {
sourceCompatibility 1.8
targetCompatibility 1.8
}
flavorDimensions "default"
productFlavors {
//诺威达
nwd {
sourceSets {
main {
manifest.srcFile 'src/nwd/AndroidManifest.xml'
}
}
}
zhidao {
sourceSets {
main {
manifest.srcFile 'src/main/AndroidManifest.xml'
}
}
}
}
}
dependencies {

View File

@@ -3,8 +3,6 @@
xmlns:tools="http://schemas.android.com/tools"
package="com.mogo.launcher">
<!-- android:sharedUserId="android.uid.system"-->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application
@@ -16,7 +14,10 @@
android:supportsRtl="true"
android:theme="@style/AppTheme.App"
tools:replace="android:label">
<!-- 高德地图 -->
<meta-data
android:name="com.amap.api.v2.apikey"
android:value="a36b9f7b086fa3951bb35338a5a06dd3" />
</application>
</manifest>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.mogo.launcher"
android:sharedUserId="android.uid.system">
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application
android:name=".MogoApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_shell_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme.App"
tools:replace="android:label">
<!-- 高德地图 -->
<meta-data
android:name="com.amap.api.v2.apikey"
android:value="a36b9f7b086fa3951bb35338a5a06dd3" />
</application>
</manifest>

View File

@@ -2,10 +2,6 @@
package="com.mogo.map.impl.amap">
<application>
<!-- 高德地图 -->
<meta-data
android:name="com.amap.api.v2.apikey"
android:value="a36b9f7b086fa3951bb35338a5a06dd3" />
<!--定位服务-->
<service android:name="com.amap.api.location.APSService" />
</application>