Comments (6)
Silly question, I know: do you see the same error if you completely disable proguard?
from roottools.
I would have hit my head on the keyboard if my cat had not been between it and me, for not thinking of doing that, Just have done so, with the proguard off, it worked fine, proguard on, its doing the above..
in my build.gradle,
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFile getDefaultProguardFile('proguard-android-optimize.txt')
proguardFile "proguard-project.txt"
signingConfig signingConfigs.myConfig
}
the proguard-project.txt is
-keepattributes SourceFile,LineNumberTable,*Annotation*
-renamesourcefileattribute SourceFile
-dontwarn com.google.ads.**,org.springframework.**,org.ietf.**,com.jcraft.jzlib.**,javax.naming.**,sun.misc.Unsafe,com.google.common.collect.MinMaxPriorityQueue
-dontwarn com.squareup.okhttp.**,com.google.appengine.api.**,com.google.apphosting.api.**
-dontwarn libcore.icu.ICU
-dontwarn com.google.vending.licensing.**
-dontwarn com.android.vending.licensing.**
-dontwarn com.google.analytics.tracking.android.AdMobInfo
-dontwarn sun.misc.Unsafe
-keep class com.google.analytics.** {*;}
-keep interface com.google.analytics.** {*;}
-keep class com.google.tagmanager.** {*;}
-keep interface com.google.tagmanager.** {*;}
-keep class com.google.android.gms.** {*;}
-keep interface com.google.android.gms.**{*;}
-dontwarn com.google.android.gms.**
-keep class com.google.ads.** {*;}
-keep interface com.google.ads.** {*;}
-keep class org.androidannotations.** {*;}
-keep interface org.androidannotations.** {*;}
-keep class android.support.** {*;}
-keep interface android.support.** {*;}
-dontwarn com.google.analytics.tracking.android.**
-dontwarn com.google.vending.licensing.**
-dontwarn com.android.vending.licensing.**
-dontwarn rx.**
-keep class org.acra.** {*;}
-keep interface org.acra.** {*;}
-keep class retrofit.** {*;}
-keep interface retrofit.** {*;}
-keepnames class * implements retrofit.** {*;}
-keep class com.stericson.RootTools.** { *; }
-keep interface com.stericson.RootTools.** { *; }
-keep class com.google.gson.** { *; }
-keep interface com.google.gson.** { *; }
-keep class com.doomonafireball.betterpickers.** { *; }
-keep interface com.doomonafireball.betterpickers.** { *; }
-keep class nz.org.winters.android.unlockchecker.gson.** { *; }
-keep class nz.org.winters.android.gnfastcharge.gson.** { *; }
-keep interface nz.org.winters.android.gnfastcharge.gson.** { *; }
#-keep class org.spongycastle.** { *; }
#-keep interface org.spongycastle.** { *; }
#-dontwarn javax.naming.**
#-keep class net.schmizz.concurrent.** { *; }
-dontskipnonpubliclibraryclassmembers
# Google play services
-keep class * extends java.util.ListResourceBundle {
protected Object[][] getContents();
}
-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
public static final *** NULL;
}
-keepnames @com.google.android.gms.common.annotation.KeepName class *
-keepclassmembernames class * {
@com.google.android.gms.common.annotation.KeepName *;
}
-keepnames class * implements android.os.Parcelable {
public static final ** CREATOR;
}
#-assumenosideeffects class android.util.Log {
# public static boolean isLoggable(java.lang.String, int);
# public static int v(...);
# public static int i(...);
# public static int w(...);
# public static int d(...);
# public static int e(...);
#}
-keep class com.google.gson.** { *; }
-keep class com.google.inject.* { *; }
-keep class org.apache.http.* { *; }
-keep class org.apache.james.mime4j.* { *; }
-keep class javax.inject.* { *; }
-keep class retrofit.* { *; }
-dontwarn rx.*
-keepattributes Signature
-keep class sun.misc.Unsafe { *; }
# should be copied to application proguard rules config
-keep class com.android.vending.billing.**
-assumenosideeffects class org.solovyev.android.checkout.Billing {
public static void debug(...);
public static void warning(...);
public static void error(...);
}
-assumenosideeffects class org.solovyev.android.checkout.Check {
*;
}
from roottools.
Chris,
Do you know why proguard might be causing issues here?
from roottools.
No idea, I couldn't figure it out, have moved to using libsuperuser and
have not had a problem with that..
On 25 November 2014 at 12:41, Stephen [email protected] wrote:
Chris,
Do you know why proguard might be causing issues here?
—
Reply to this email directly or view it on GitHub
#24 (comment).
Mathew Winters
See my other apps
https://play.google.com/store/apps/developer?id=Mathew+Winters
https://play.google.com/store/apps/developer?id=Mathew+Winters
from roottools.
Would you be willing to try a new version?
https://drive.google.com/file/d/0B5Amguus3csDQW1zV04waEhXNkE/view?usp=sharing
I think I fixed one of the issues that MIGHT have caused this. I saw a RootDenied exception being thrown in some cases and tracked it down to an issue with ProcessBuilder.
Even if you don't use the library in your application, it would be very helpful to know if this resolved the issue.
from roottools.
I can give it a go let you know in a couple of days..
:)
On 25 November 2014 at 12:56, Stephen [email protected] wrote:
Would you be willing to try a new version?
https://drive.google.com/file/d/0B5Amguus3csDQW1zV04waEhXNkE/view?usp=sharing
I think I fixed one of the issues that MIGHT have caused this. I saw a
RootDenied exception being thrown in some cases and tracked it down to an
issue with ProcessBuilder.Even if you don't use the library in your application, it would be very
helpful to know if this resolved the issue.—
Reply to this email directly or view it on GitHub
#24 (comment).
Mathew Winters
See my other apps
https://play.google.com/store/apps/developer?id=Mathew+Winters
https://play.google.com/store/apps/developer?id=Mathew+Winters
from roottools.
Related Issues (20)
- Install "Aptoide" HOT 1
- Crash when Shell run HOT 3
- Root tool
- [email protected] HOT 1
- New
- is still alive the project?
- RootTools
- Apple
- __Originally posted by @jackiebrewster307 in https://github.com/IdeasOnCanvas/MNDocumentController/issues/1__
- Apple root HOT 1
- Apple root iPhone HOT 1
- save
- Roottools HOT 1
- How to unlock bootloader and on stylo 6???
- Root HOT 1
- Vivo
- Help me HOT 1
- .
- Permission
- I'm using Castify
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roottools.