smart-location-lib
smart-location-lib copied to clipboard
Proguard: Cannot Obfuscate code
Following Warning Occurs when assemble code with Proguard enabled:
Warning:io.nlopez.smartlocation.rx.ObservableFactory$1: can't find superclass or interface rx.functions.Action0 Warning:io.nlopez.smartlocation.rx.ObservableFactory$2: can't find superclass or interface rx.Observable$OnSubscribe Warning:io.nlopez.smartlocation.rx.ObservableFactory$3: can't find superclass or interface rx.functions.Action0 Warning:io.nlopez.smartlocation.rx.ObservableFactory$4: can't find superclass or interface rx.Observable$OnSubscribe Warning:io.nlopez.smartlocation.rx.ObservableFactory$5: can't find superclass or interface rx.functions.Action0 Warning:io.nlopez.smartlocation.rx.ObservableFactory$6: can't find superclass or interface rx.Observable$OnSubscribe Warning:io.nlopez.smartlocation.rx.ObservableFactory$7: can't find superclass or interface rx.Observable$OnSubscribe Warning:io.nlopez.smartlocation.rx.ObservableFactory$8: can't find superclass or interface rx.Observable$OnSubscribe
Warning:io.nlopez.smartlocation.rx.ObservableFactory: can't find referenced class rx.Observable Warning:io.nlopez.smartlocation.rx.ObservableFactory: can't find referenced class rx.Observable$OnSubscribe Warning:io.nlopez.smartlocation.rx.ObservableFactory: can't find referenced class rx.Observable Warning:io.nlopez.smartlocation.rx.ObservableFactory$1: can't find referenced class rx.functions.Action0 Warning:io.nlopez.smartlocation.rx.ObservableFactory$2: can't find referenced class rx.Subscriber Warning:io.nlopez.smartlocation.rx.ObservableFactory$2: can't find referenced class rx.Observable$OnSubscribe Warning:io.nlopez.smartlocation.rx.ObservableFactory$2: can't find referenced class rx.Observable Warning:io.nlopez.smartlocation.rx.ObservableFactory$2: can't find referenced class rx.Subscriber Warning:io.nlopez.smartlocation.rx.ObservableFactory$2: can't find referenced class rx.Observable$OnSubscribe Warning:io.nlopez.smartlocation.rx.ObservableFactory$2$1: can't find referenced class rx.Subscriber Warning:io.nlopez.smartlocation.rx.ObservableFactory$3: can't find referenced class rx.functions.Action0 Warning:io.nlopez.smartlocation.rx.ObservableFactory$4: can't find referenced class rx.Subscriber Warning:io.nlopez.smartlocation.rx.ObservableFactory$4: can't find referenced class rx.Observable$OnSubscribe Warning:io.nlopez.smartlocation.rx.ObservableFactory$4: can't find referenced class rx.Observable Warning:io.nlopez.smartlocation.rx.ObservableFactory$4: can't find referenced class rx.Subscriber Warning:io.nlopez.smartlocation.rx.ObservableFactory$4: can't find referenced class rx.Observable$OnSubscribe Warning:io.nlopez.smartlocation.rx.ObservableFactory$4$1: can't find referenced class rx.Subscriber Warning:io.nlopez.smartlocation.rx.ObservableFactory$5: can't find referenced class rx.functions.Action0 Warning:io.nlopez.smartlocation.rx.ObservableFactory$6: can't find referenced class rx.Subscriber Warning:io.nlopez.smartlocation.rx.ObservableFactory$6: can't find referenced class rx.Observable$OnSubscribe Warning:io.nlopez.smartlocation.rx.ObservableFactory$6: can't find referenced class rx.Observable Warning:io.nlopez.smartlocation.rx.ObservableFactory$6: can't find referenced class rx.Subscriber Warning:io.nlopez.smartlocation.rx.ObservableFactory$6: can't find referenced class rx.Observable$OnSubscribe Warning:io.nlopez.smartlocation.rx.ObservableFactory$6$1: can't find referenced class rx.Subscriber Warning:io.nlopez.smartlocation.rx.ObservableFactory$7: can't find referenced class rx.Subscriber Warning:io.nlopez.smartlocation.rx.ObservableFactory$7: can't find referenced class rx.Observable$OnSubscribe Warning:io.nlopez.smartlocation.rx.ObservableFactory$7: can't find referenced class rx.Observable Warning:io.nlopez.smartlocation.rx.ObservableFactory$7: can't find referenced class rx.Subscriber Warning:io.nlopez.smartlocation.rx.ObservableFactory$7: can't find referenced class rx.Observable$OnSubscribe Warning:io.nlopez.smartlocation.rx.ObservableFactory$7$1: can't find referenced class rx.Subscriber Warning:io.nlopez.smartlocation.rx.ObservableFactory$8: can't find referenced class rx.Subscriber Warning:io.nlopez.smartlocation.rx.ObservableFactory$8: can't find referenced class rx.Observable$OnSubscribe Warning:io.nlopez.smartlocation.rx.ObservableFactory$8: can't find referenced class rx.Observable Warning:io.nlopez.smartlocation.rx.ObservableFactory$8: can't find referenced class rx.Subscriber Warning:io.nlopez.smartlocation.rx.ObservableFactory$8: can't find referenced class rx.Observable$OnSubscribe Warning:io.nlopez.smartlocation.rx.ObservableFactory$8$1: can't find referenced class rx.Subscriber Warning:javax.activation.CommandInfo: can't find referenced class java.beans.Beans Warning:okio.DeflaterSink: can't find referenced class org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
Proguard.properites: -keep class io.nlopez.smartlocation.* {;}
//doesn't work
I get the same problem. Can anyone help to resolve it?
put -dontwarn io.nlopez.** into your proguard file
Thank You it worked.
On Wed, Oct 26, 2016 at 4:25 PM, Niên Lê [email protected] wrote:
put -dontwarn io.nlopez.** into your proguard file
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mrmans0n/smart-location-lib/issues/175#issuecomment-256314144, or mute the thread https://github.com/notifications/unsubscribe-auth/AKHsbSJuEu_svezhM5JcW4EhA2Hll6tgks5q3zGbgaJpZM4KbvIv .