proguard

Android volley proguard throws java.lang.RuntimeException: Stub

烈酒焚心 提交于 2019-12-24 07:27:57
问题 I'm using Android Volley network library which when kept in debugging + release modes works perfectly fine, until I added Twilio client SDK . Now it works fine when in debugging mode but when in release mode throws this error E/Volley: [105358] NetworkDispatcher.run: Unhandled exception java.lang.RuntimeException: Stub! java.lang.RuntimeException: Stub! at org.apache.a.h.<init>(SourceFile:6) at com.android.volley.toolbox.HurlStack.performRequest(SourceFile:109) at com.android.volley.toolbox

ProGuard SimException

主宰稳场 提交于 2019-12-24 06:04:11
问题 I'm trying to get ProGuard to work, after roughly 4 hours of randomly trying options to try and get this amazing software to work. My project is using LibGDX and KryoNet. This is my current ProGuard configuration: -verbose -dontobfuscate -dontwarn android.support.** -dontwarn com.badlogic.gdx.backends.android.AndroidFragmentApplication -dontwarn com.badlogic.gdx.utils.GdxBuild -dontwarn com.badlogic.gdx.jnigen.BuildTarget* -dontwarn com.badlogic.gdx.graphics.g2d.freetype.FreetypeBuild

How to use ProGuard with NetBeans 6.7/6.8?

淺唱寂寞╮ 提交于 2019-12-24 05:38:23
问题 Does anyone know how to integrate ProGuard with NetBeans 6.7/6.8 ? I've been using NetBeans for many years, but now I want to use ProGuard, is there a way to add it as a plugin and just click a button to start obfuscating my programs ? I know it exists in NetBeans Mobility Pack, how come it's not in the regular NetBeans version ? 回答1: A simple web search gave me http://netbeans.dzone.com/tips/obfuscating-netbeans-java-appl http://blogs.oracle.com/geertjan/entry/obfuscation 来源: https:/

proguard for multiple maven module project

自作多情 提交于 2019-12-24 05:05:05
问题 I have a plugin reference to proguard in a multi-module maven project. The functionality of my project is fully tested and works...until I add proguard. Structure of my Project parent-pom -module-a-pom -module-b-pom tester-pom module-b has a dependency on module-a. module-a and module-b are both installed to my local maven repository. tester has dependencies on both module-a and module-b. My proguard.conf file is next to the parent-pom pom.xml file on the file system. I configure proguard in

where is the proguard mappings.txt file generated when using JACK?

拜拜、爱过 提交于 2019-12-24 03:27:53
问题 I have been trying to use the latest JACK and JILL build system to for my android project. I know that JACK process includes the proguard processing. But after that i couldn't locate the mappings.txt file for back-tracking stack-trace of bugs provided on google play developer console. Please help me LOCATE mappings.txt . Another related question is if the shrinkingResources still works while JACK because shrinkingResources requires minifyEnabled true but JACK requires minifyEnabled false .

Proguard error with method signatures

送分小仙女□ 提交于 2019-12-24 03:24:48
问题 I'm getting a strange error while trying to make a Proguard version of my Android app. The error is: [proguard] Optimizing... [proguard] Unexpected error while evaluating instruction: [proguard] Class = [net/domain/packagename/service/ExifEditor] [proguard] Method = [setGpsLocation(DDDJ)V] [proguard] Instruction = [294] aload_3 v3 [proguard] Exception = [java.lang.IllegalArgumentException] (Value is not a reference value [proguard.evaluation.value.UnknownDoubleValue]) [proguard] Unexpected

Akka on Android

 ̄綄美尐妖づ 提交于 2019-12-24 03:14:23
问题 I have a problem with running akka on android. My App crashes once I start it. I use Akka 2.3.5, Scaloid 3.5-10. I start my SignInActivity with private implicit val system = ActorSystem("signin") // this throws the error above override def onCreate(savedState: Bundle): Unit = { super.onCreate(savedState) setContentView(R.layout.signin) val etMail = find[EditText](R.id.etMail) val etPass = find[EditText](R.id.etPass) find[Button](R.id.signInBtn).setOnClickListener(new OnClickListener {

How to protect classes from being removed by MINIFY_ENABLED?

别来无恙 提交于 2019-12-24 01:51:01
问题 I am using FirebaseFirestore in my project. When i am in debug mode, that is I set the minifyEnabled to FALSE, the app runs just fine, but when I build a signed .apk it doesn't work as I expect, i.e it doesn't load data from firebase Firestore. I have tried enabling minifyEnabled to true while testing, but that won't actually shrink project unless you're generating a release. What KEEP statments should i write to exlude FIREBASE FIRESTORE and Glide classes from minifying ? dependencies {

NoClassDefFoundError after migrating to Android API 28

≡放荡痞女 提交于 2019-12-24 01:42:14
问题 I know, similar questions have been asked, but I think, my situation is different. Please don't delete. I've started getting NoClassDefFoundError error after migrating to API 28, just like many other folks. I've seen others experienced this issue because Google has deprecated org.apache classes, which required changing manifest, but I don't use apache classes in my project. What makes investigation difficult is that there is no custom classes in the stack trace below, and it's not even clear

Proguard - Error: A JNI error has occured

半腔热情 提交于 2019-12-24 01:13:07
问题 I've been trying to use ProGuard to obfuscate an application of mine. I have disabled every option exception for obfuscate. Loader is my main class. The screenshot below is the result when I try to run my obfuscated jar. No errors were given while obfuscating either. My config -injars 'C:\Users\Corsair\Desktop\obfuscate\Example.jar' -outjars 'C:\Users\Corsair\Desktop\obfuscate\ExampleOut.jar' -libraryjars 'C:\Program Files\Java\jre1.8.0_91\lib\rt.jar' -dontskipnonpubliclibraryclassmembers