我的build.gradle是
apply plugin: 'com.androID.application'apply plugin: 'maven'apply plugin: 'com.Google.gms.Google-services'androID { compileSdkVersion 23 buildToolsversion "23.0.2" defaultConfig { applicationID "com.ruben.xradar" minSdkVersion 19 targetSdkVersion 23 versionCode 22 versionname "0.22" multIDexEnabled true } dexOptions { javaMaxHeapSize "4g" } packagingOptions { exclude 'meta-inf/NOTICE.txt' exclude 'meta-inf/liCENSE.txt' } buildTypes { release { //Esto es para oscurecer y minificar el código MinifyEnabled true proguardfiles getDefaultProguardfile('proguard-androID.txt'),'proguard-rules.pro' } deBUG { deBUGgable false } }}dependencIEs { compile(project(path: ':backend',configuration: 'androID-endpoints')) { exclude group: 'com.Google.guava' } compile filetree(dir: 'libs',include: ['*.jar']) compile('joda-time:joda-time:2.8.2') {} //para el doble slIDer compile 'com.appyvet:materialrangebar:1.3' //para logearse usando la cuenta de redes sociales compile files('src/libs/socialauth-4.12.jar') compile 'commons-io:commons-io:2.4' //Google cloud messaging compile 'com.Google.androID.gms:play-services:8.3.0' compile 'com.Google.androID.gms:play-services-ads:8.3.0' compile 'com.Google.androID.gms:play-services-analytics:8.3.0' compile 'com.Google.androID.gms:play-services-IDentity:8.3.0' compile 'com.Google.androID.gms:play-services-gcm:8.3.0' compile 'com.Google.androID.gms:play-services-auth:8.3.0' //para hacer el stepper del registro compile 'ivb.com.materialstepper:material-stepper:0.0.2' //para poder usar material design en versiones pre-lollipop compile 'com.androID.support:appcompat-v7:23.2.0' compile 'com.androID.support:cardvIEw-v7:23.2.0' compile 'com.androID.support:recyclervIEw-v7:23.2.0' compile 'com.androID.support:palette-v7:23.2.0' compile 'com.androID.support:support-v4:23.2.0' compile 'com.androID.support:design:23.2.0' compile 'com.androID.support:multIDex:1.0.1' //esto es para los díalogos de cambiar las fotos compile 'com.kingfisherphuoc:quick-action-dialog-fragment:1.1' //para animar el recyclervIEw compile 'jp.wasabeef:recyclervIEw-animators:1.3.0' //para usar iconos de fuentes,svg's como iconos y así no tener que crear carpetas hdpi,mdpi,xhdpi,etc compile 'com.mikepenz:iconics-core:2.5.8@aar' compile 'com.mikepenz:Google-material-typeface:2.2.0.1.original@aar' //para hacer imagevIEws redondos compile 'de.hdodenhof:circleimagevIEw:2.0.0'}
最后,proguard wargings消息是:
Warning:com.Google.API.clIEnt.GoogleAPIs.testing.TestUtils: can't find referenced class com.Google.common.base.SplitterWarning:com.Google.API.clIEnt.GoogleAPIs.testing.TestUtils: can't find referenced class com.Google.common.collect.ListsWarning:com.Google.API.clIEnt.GoogleAPIs.testing.TestUtils: can't find referenced class com.Google.common.base.SplitterWarning:com.Google.API.clIEnt.GoogleAPIs.testing.TestUtils: can't find referenced class com.Google.common.collect.ListsWarning:jp.wasabeef.recyclervIEw.animators.BaseItemAnimator: can't find referenced method 'voID dispatchMoveFinished(androID.support.v7.Widget.RecyclerVIEw$VIEwHolder)' in program class jp.wasabeef.recyclervIEw.animators.BaseItemAnimatorWarning:jp.wasabeef.recyclervIEw.animators.BaseItemAnimator: can't find referenced method 'voID dispatchChangeFinished(androID.support.v7.Widget.RecyclerVIEw$VIEwHolder,boolean)' in program class jp.wasabeef.recyclervIEw.animators.BaseItemAnimatorWarning:jp.wasabeef.recyclervIEw.animators.BaseItemAnimator: can't find referenced method 'voID dispatchRemoveFinished(androID.support.v7.Widget.RecyclerVIEw$VIEwHolder)' in program class jp.wasabeef.recyclervIEw.animators.BaseItemAnimatorWarning:jp.wasabeef.recyclervIEw.animators.BaseItemAnimator: can't find referenced method 'voID dispatchAddFinished(androID.support.v7.Widget.RecyclerVIEw$VIEwHolder)' in program class jp.wasabeef.recyclervIEw.animators.BaseItemAnimatorWarning:jp.wasabeef.recyclervIEw.animators.BaseItemAnimator: can't find referenced method 'voID dispatchMoveStarting(androID.support.v7.Widget.RecyclerVIEw$VIEwHolder)' in program class jp.wasabeef.recyclervIEw.animators.BaseItemAnimatorWarning:jp.wasabeef.recyclervIEw.animators.BaseItemAnimator: can't find referenced method 'voID dispatchMoveFinished(androID.support.v7.Widget.RecyclerVIEw$VIEwHolder)' in program class jp.wasabeef.recyclervIEw.animators.BaseItemAnimatorWarning:jp.wasabeef.recyclervIEw.animators.BaseItemAnimator: can't find referenced method 'voID dispatchChangeStarting(androID.support.v7.Widget.RecyclerVIEw$VIEwHolder,boolean)' in program class jp.wasabeef.recyclervIEw.animators.BaseItemAnimatorWarning:jp.wasabeef.recyclervIEw.animators.BaseItemAnimator: can't find referenced method 'voID dispatchChangeFinished(androID.support.v7.Widget.RecyclerVIEw$VIEwHolder,boolean)' in program class jp.wasabeef.recyclervIEw.animators.BaseItemAnimatorWarning:jp.wasabeef.recyclervIEw.animators.BaseItemAnimator: can't find referenced method 'voID dispatchChangeStarting(androID.support.v7.Widget.RecyclerVIEw$VIEwHolder,boolean)' in program class jp.wasabeef.recyclervIEw.animators.BaseItemAnimatorWarning:jp.wasabeef.recyclervIEw.animators.BaseItemAnimator: can't find referenced method 'voID dispatchChangeFinished(androID.support.v7.Widget.RecyclerVIEw$VIEwHolder,boolean)' in program class jp.wasabeef.recyclervIEw.animators.BaseItemAnimatorWarning:jp.wasabeef.recyclervIEw.animators.BaseItemAnimator$DefaultAddVpaListener: can't find referenced method 'voID dispatchAddStarting(androID.support.v7.Widget.RecyclerVIEw$VIEwHolder)' in program class jp.wasabeef.recyclervIEw.animators.BaseItemAnimatorWarning:jp.wasabeef.recyclervIEw.animators.BaseItemAnimator$DefaultAddVpaListener: can't find referenced method 'voID dispatchAddFinished(androID.support.v7.Widget.RecyclerVIEw$VIEwHolder)' in program class jp.wasabeef.recyclervIEw.animators.BaseItemAnimatorWarning:jp.wasabeef.recyclervIEw.animators.BaseItemAnimator$DefaultRemoveVpaListener: can't find referenced method 'voID dispatchRemoveStarting(androID.support.v7.Widget.RecyclerVIEw$VIEwHolder)' in program class jp.wasabeef.recyclervIEw.animators.BaseItemAnimatorWarning:jp.wasabeef.recyclervIEw.animators.BaseItemAnimator$DefaultRemoveVpaListener: can't find referenced method 'voID dispatchRemoveFinished(androID.support.v7.Widget.RecyclerVIEw$VIEwHolder)' in program class jp.wasabeef.recyclervIEw.animators.BaseItemAnimatorWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.consumer.ConsumerManagerWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.message.ax.FetchRequestWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.message.AuthRequestWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.OpenIDExceptionWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.message.ParameterListWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.consumer.ConsumerManagerWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.consumer.VerificationResultWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.discovery.IDentifIErWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.consumer.VerificationResultWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.message.AuthSuccessWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.message.ax.FetchResponseWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.consumer.ConsumerExceptionWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.OpenIDExceptionWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.message.ParameterListWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.consumer.VerificationResultWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.discovery.IDentifIErWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.message.AuthSuccessWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.message.ax.FetchResponseWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.message.ax.FetchRequestWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.message.AuthRequestWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.consumer.VerificationResultWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.discovery.IDentifIErWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.consumer.ConsumerManagerWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.discovery.discoveryinformationWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.message.AuthRequestWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.message.ax.FetchRequestWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.OpenIDExceptionWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.message.ax.FetchResponseWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.message.AuthSuccessWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.message.ParameterListWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.consumer.VerificationResultWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.discovery.IDentifIErWarning:org.brickred.socialauth.provIDer.OpenIDImpl: can't find referenced class org.openID4java.OpenIDExceptionWarning:org.brickred.socialauth.util.socialAuthUtil: can't find referenced class javax.servlet.http.httpServletRequestWarning:org.joda.time.DateMIDnight: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.DateTime: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.DateTimeZone: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.DateTimeZone: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.Days: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.Days: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.Duration: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.Hours: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.Hours: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.Instant: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.LocalDate: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.LocalDate: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.LocalDateTime: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.LocalDateTime: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.LocalTime: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.LocalTime: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.Minutes: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.Minutes: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.MonthDay: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.MonthDay: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.Months: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.Months: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.MutableDateTime: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.MutablePeriod: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.Period: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.Seconds: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.Seconds: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.Weeks: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.Weeks: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.YearMonth: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.YearMonth: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.Years: can't find referenced class org.joda.convert.FromStringWarning:org.joda.time.Years: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.base.AbstractDateTime: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.base.AbstractDuration: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.base.AbstractInstant: can't find referenced class org.joda.convert.ToStringWarning:org.joda.time.base.AbstractPeriod: can't find referenced class org.joda.convert.ToStringNote: androID.support.v4.media.IMediabrowserServiceCallbacksAdapterapi21: can't find dynamically referenced class androID.service.media.IMediabrowserServiceCallbacksNote: androID.support.v4.media.IMediabrowserServiceCallbacksAdapterapi21: can't find dynamically referenced class androID.content.pm.ParceledListSliceNote: androID.support.v4.media.IMediabrowserServiceCallbacksAdapterapi21$Stub: can't find dynamically referenced class androID.service.media.IMediabrowserServiceCallbacks$StubNote: androID.support.v4.media.ParceledListSliceAdapterapi21: can't find dynamically referenced class androID.content.pm.ParceledListSliceNote: androID.support.v4.text.ICUCompatAPI23: can't find dynamically referenced class libcore.icu.ICUNote: androID.support.v4.text.ICUCompatIcs: can't find dynamically referenced class libcore.icu.ICUNote: androID.support.v7.Widget.Drawableutils: can't find dynamically referenced class androID.graphics.InsetsNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.SessionNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.FacebookSdkNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.SessionNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.CallbackManager$FactoryNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.login.LoginManagerNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.CallbackManagerNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.FacebookCallbackNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.FacebookSdkNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.login.LoginManagerNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.SessionNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.login.LoginManagerNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.Session$OpenRequestNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.SessionNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.Session$StatusCallbackNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.FacebookCallbackNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.SessionNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.Session$StatusCallbackNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.login.LoginResultNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.FacebookExceptionNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.AccesstokenNote: com.Google.androID.gms.internal.zzlf: can't find dynamically referenced class com.facebook.SessionStateNote: com.Google.androID.gms.maps.internal.zzy: can't find dynamically referenced class com.Google.androID.gms.maps.internal.CreatorImplNote: com.Google.API.clIEnt.util.IoUtils: can't find dynamically referenced class java.nio.file.filesNote: com.Google.API.clIEnt.util.IoUtils: can't find dynamically referenced class java.nio.file.PathNote: com.mikepenz.iconics.Iconics calls '(com.mikepenz.iconics.typeface.ITypeface)Class.forname(variable).newInstance()'Note: org.joda.time.DateTimeZone calls '(org.joda.time.tz.ProvIDer)Class.forname(variable).newInstance()'Note: org.joda.time.DateTimeZone calls '(org.joda.time.tz.nameProvIDer)Class.forname(variable).newInstance()'Note: androID.support.v4.app.NotificationCompatJellybean accesses a declared fIEld 'icon' dynamically Maybe this is program fIEld 'androID.support.design.R$attr { int icon; }' Maybe this is program fIEld 'androID.support.design.R$ID { int icon; }' Maybe this is program fIEld 'androID.support.v4.app.NotificationCompat$Action { int icon; }' Maybe this is program fIEld 'androID.support.v7.appcompat.R$attr { int icon; }' Maybe this is program fIEld 'androID.support.v7.appcompat.R$ID { int icon; }' Maybe this is program fIEld 'androID.support.v7.mediarouter.R$attr { int icon; }' Maybe this is program fIEld 'androID.support.v7.mediarouter.R$ID { int icon; }' Maybe this is program fIEld 'com.kingfisherphuoc.quickactiondialog.R$attr { int icon; }' Maybe this is program fIEld 'com.kingfisherphuoc.quickactiondialog.R$ID { int icon; }' Maybe this is program fIEld 'com.mikepenz.Google_material_typeface_library.R$attr { int icon; }' Maybe this is program fIEld 'com.mikepenz.Google_material_typeface_library.R$ID { int icon; }' Maybe this is program fIEld 'com.mikepenz.iconics.core.R$attr { int icon; }' Maybe this is program fIEld 'com.mikepenz.iconics.core.R$ID { int icon; }' Maybe this is program fIEld 'com.mikepenz.iconics.utils.StyleContainer { java.lang.String icon; }' Maybe this is program fIEld 'com.ruben.xradar.R$attr { int icon; }' Maybe this is program fIEld 'com.ruben.xradar.R$ID { int icon; }' Maybe this is program fIEld 'ivb.com.materialstepper.R$attr { int icon; }' Maybe this is program fIEld 'ivb.com.materialstepper.R$ID { int icon; }' Maybe this is program fIEld 'jp.wasabeef.recyclervIEw.R$attr { int icon; }' Maybe this is program fIEld 'jp.wasabeef.recyclervIEw.R$ID { int icon; }' Maybe this is program fIEld 'org.brickred.socialauth.androID.socialAuthDialog { androID.graphics.drawable.Drawable icon; }' Maybe this is library fIEld 'androID.R$attr { int icon; }' Maybe this is library fIEld 'androID.R$ID { int icon; }' Maybe this is library fIEld 'androID.app.LauncherActivity$ListItem { androID.graphics.drawable.Drawable icon; }' Maybe this is library fIEld 'androID.app.Notification { int icon; }' Maybe this is library fIEld 'androID.app.Notification$Action { int icon; }' Maybe this is library fIEld 'androID.appWidget.appwidgetproviderInfo { int icon; }' Maybe this is library fIEld 'androID.content.pm.PackageItemInfo { int icon; }' Maybe this is library fIEld 'androID.content.pm.ResolveInfo { int icon; }' Maybe this is library fIEld 'androID.inputmethodservice.Keyboard$Key { androID.graphics.drawable.Drawable icon; }' Maybe this is library fIEld 'androID.speech.tts.TextToSpeech$EngineInfo { int icon; }'Note: androID.support.v4.app.NotificationCompatJellybean accesses a declared fIEld 'Title' dynamically Maybe this is program fIEld 'androID.support.design.R$attr { int Title; }' Maybe this is program fIEld 'androID.support.design.R$ID { int Title; }' Maybe this is program fIEld 'androID.support.v4.app.NotificationCompat$Action { java.lang.CharSequence Title; }' Maybe this is program fIEld 'androID.support.v7.appcompat.R$attr { int Title; }' Maybe this is program fIEld 'androID.support.v7.appcompat.R$ID { int Title; }' Maybe this is program fIEld 'androID.support.v7.mediarouter.R$attr { int Title; }' Maybe this is program fIEld 'androID.support.v7.mediarouter.R$ID { int Title; }' Maybe this is program fIEld 'com.Google.androID.gms.games.internal.player.PlayerColumnnames { java.lang.String Title; }' Maybe this is program fIEld 'com.Google.androID.gms.vision.barcode.barcode$ContactInfo { java.lang.String Title; }' Maybe this is program fIEld 'com.Google.androID.gms.vision.barcode.barcode$UrlBookmark { java.lang.String Title; }' Maybe this is program fIEld 'com.Google.API.clIEnt.util.PemReader$Section { java.lang.String Title; }' Maybe this is program fIEld 'com.kingfisherphuoc.quickactiondialog.R$attr { int Title; }' Maybe this is program fIEld 'com.kingfisherphuoc.quickactiondialog.R$ID { int Title; }' Maybe this is program fIEld 'com.mikepenz.Google_material_typeface_library.R$attr { int Title; }' Maybe this is program fIEld 'com.mikepenz.Google_material_typeface_library.R$ID { int Title; }' Maybe this is program fIEld 'com.mikepenz.iconics.core.R$attr { int Title; }' Maybe this is program fIEld 'com.mikepenz.iconics.core.R$ID { int Title; }' Maybe this is program fIEld 'com.ruben.xradar.R$attr { int Title; }' Maybe this is program fIEld 'com.ruben.xradar.R$ID { int Title; }' Maybe this is program fIEld 'ivb.com.materialstepper.R$attr { int Title; }' Maybe this is program fIEld 'ivb.com.materialstepper.R$ID { int Title; }' Maybe this is program fIEld 'jp.wasabeef.recyclervIEw.R$attr { int Title; }' Maybe this is program fIEld 'jp.wasabeef.recyclervIEw.R$ID { int Title; }' Maybe this is program fIEld 'org.brickred.socialauth.Photo { java.lang.String Title; }' Maybe this is program fIEld 'org.brickred.socialauth.position { java.lang.String Title; }' Maybe this is library fIEld 'androID.R$attr { int Title; }' Maybe this is library fIEld 'androID.R$ID { int Title; }' Maybe this is library fIEld 'androID.app.Notification$Action { java.lang.CharSequence Title; }' Maybe this is library fIEld 'androID.preference.PreferenceActivity$header { java.lang.CharSequence Title; }'Note: androID.support.v4.app.NotificationCompatJellybean accesses a declared fIEld 'actionIntent' dynamically Maybe this is program fIEld 'androID.support.v4.app.NotificationCompat$Action { androID.app.PendingIntent actionIntent; }' Maybe this is library fIEld 'androID.app.Notification$Action { androID.app.PendingIntent actionIntent; }'Note: com.Google.API.clIEnt.GoogleAPIs.auth.oauth2.DefaultCredentialProvIDer accesses a fIEld 'environment' dynamicallyetc,etc...
我不知道为什么,例如,添加-keep class jp.wasabeef.** {*;}不要消除有关jp.wasabeef的警告.
谁能帮我?
解决方法 您需要使用proguard-rules处理导入的每个库(在app.gradle中).proguard-rules.pro
#For JodaTime#https://stackoverflow.com/questions/14025487/proguard-dIDnt-compile-with-joda-time-used-in-windows-dontwarn org.joda.convert.FromString-dontwarn org.joda.convert.ToString# support-v4#https://stackoverflow.com/questions/18978706/obfuscate-androID-support-v7-Widget-grIDlayout-issue-dontwarn androID.support.v4.**-keep class androID.support.v4.app.** { *; }-keep interface androID.support.v4.app.** { *; }-keep class androID.support.v4.** { *; }# support-v7-dontwarn androID.support.v7.**-keep class androID.support.v7.internal.** { *; }-keep interface androID.support.v7.internal.** { *; }-keep class androID.support.v7.** { *; }# support design#@link https://stackoverflow.com/a/31028536-dontwarn androID.support.design.**-keep class androID.support.design.** { *; }-keep interface androID.support.design.** { *; }-keep public class androID.support.design.R$* { *; }#error : Note: the configuration refers to the unkNown class 'com.Google.vending.licensing.IlicensingService'#solution : @link https://stackoverflow.com/a/14463528-dontnote com.Google.vending.licensing.IlicensingService-dontnote **IlicensingService#social auth-keep class org.brickred.** { ; } -dontwarn org.brickred.*#similarly handle other librarIEs you added总结
以上是内存溢出为你收集整理的android studio中的proguard问题全部内容,希望文章能够帮你解决android studio中的proguard问题所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)