Commit 6d4ef4dd authored by jianglx's avatar jianglx

修改ABIs,只需要支持armeabi-7a

parent 90806dca
......@@ -12,9 +12,8 @@ android {
versionName "1.5.7"
multiDexEnabled true
ndk {
abiFilters "armeabi", "armeabi-v7a", "x86", "mips", 'arm64-v8a'
abiFilters "armeabi-v7a"
}
//新版Gradle 是 implementation 为了兼容compile,写上这句话
javaCompileOptions {
......
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
## Add project specific ProGuard rules here.
## You can control the set of applied configuration files using the
## proguardFiles setting in build.gradle.
##
## For more details, see
## http://developer.android.com/guide/developing/tools/proguard.html
#
## If your project uses WebView with JS, uncomment the following
## and specify the fully qualified class name to the JavaScript interface
## class:
##-keepclassmembers class fqcn.of.javascript.interface.for.webview {
## public *;
##}
#
## Uncomment this to preserve the line number information for
## debugging stack traces.
##-keepattributes SourceFile,LineNumberTable
#
## If you keep the line number information, uncomment this to
## hide the original source file name.
##-renamesourcefileattribute SourceFile
#
##指定压缩级别
#-optimizationpasses 5
#
##不跳过非公共的库的类成员
#-dontskipnonpubliclibraryclassmembers
#
##混淆时采用的算法
#-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
#
##把混淆类中的方法名也混淆了
#-useuniqueclassmembernames
#
##优化时允许访问并修改有修饰符的类和类的成员
#-allowaccessmodification
#
##将文件来源重命名为“SourceFile”字符串
#-renamesourcefileattribute SourceFile
##保留行号
#-keepattributes SourceFile,LineNumberTable
##保持泛型
#-keepattributes Signature
#
##保持所有实现 Serializable 接口的类成员
#-keepclassmembers class * implements java.io.Serializable {
# static final long serialVersionUID;
# private static final java.io.ObjectStreamField[] serialPersistentFields;
# private void writeObject(java.io.ObjectOutputStream);
# private void readObject(java.io.ObjectInputStream);
# java.lang.Object writeReplace();
# java.lang.Object readResolve();
#}
#
##Fragment不需要在AndroidManifest.xml中注册,需要额外保护下
#-keep public class * extends android.support.v4.app.Fragment
#-keep public class * extends android.app.Fragment
#
## 保持测试相关的代码
#-dontnote junit.framework.**
#-dontnote junit.runner.**
#-dontwarn android.test.**
#-dontwarn android.support.test.**
#-dontwarn org.junit.**
#
## fastjson
# -dontwarn com.alibaba.fastjson.**
# -keep class com.alibaba.fastjson.** { *; }
# -keepattributes Signature
#
# #arouter
# -keep public class com.alibaba.android.arouter.routes.**{*;}
# -keep class * implements com.alibaba.android.arouter.facade.template.ISyringe{*;}
......@@ -16,9 +16,6 @@ android {
JPUSH_CHANNEL : "developer-default", //暂时填写默认值即可.
]
ndk {
abiFilters "armeabi", "armeabi-v7a", "x86", "mips", 'arm64-v8a'
}
}
buildTypes {
......
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