diff --git a/app/build.gradle b/app/build.gradle
index 67294d7307..5e6f40669b 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -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 {
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 5740c3ed5a..087e4769a3 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -3,8 +3,6 @@
xmlns:tools="http://schemas.android.com/tools"
package="com.mogo.launcher">
-
-
-
+
+
\ No newline at end of file
diff --git a/app/src/nwd/AndroidManifest.xml b/app/src/nwd/AndroidManifest.xml
new file mode 100644
index 0000000000..c39db3e4d6
--- /dev/null
+++ b/app/src/nwd/AndroidManifest.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/libraries/map-amap/src/main/AndroidManifest.xml b/libraries/map-amap/src/main/AndroidManifest.xml
index eee3849ff2..170516de73 100644
--- a/libraries/map-amap/src/main/AndroidManifest.xml
+++ b/libraries/map-amap/src/main/AndroidManifest.xml
@@ -2,10 +2,6 @@
package="com.mogo.map.impl.amap">
-
-