facebookarchive / proguard Goto Github PK
View Code? Open in Web Editor NEWA fork of ProGuard.
License: GNU General Public License v2.0
A fork of ProGuard.
License: GNU General Public License v2.0
I'm using xamarin for android, and I wanted to build my app with proguard.
after I installed it and build my app, I always have this error:
Error Unable to access jarfile C:\Users\samih pc\Documents\Visual Studio
2015\Projects\App Name
\packages\name.atsushieno.proguard.facebook.5.3.2.2\build..lib\proguard.jar
App Name C:\Users\samih pc\Documents\Visual Studio
2015\Projects\App Name\App Name\PROGUARD
I search online and I use the mklink /j , but I still got this error no matter what.
How can i fix that?
Do i need to change the proguard path to with the path of the mklink?
Thanks a lot.
Regards, Sam.
After upgrading to Android Studio 1.0, Gradle 2.12, and the gradle plugin 1.0.0, our build is failing with the following error: https://www.dropbox.com/s/c5hjt4swp9h6asx/Screenshot%202014-12-23%2015.57.49.png?dl=0
This is fixes by removing the "classpath ':proguard:' line from our top level build.gradle, but this means that we would be using the official version of proguard and not facebook's fork. I've copied our top level build.gradle below:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
flatDir dirs: 'tools/localMavenRepo/' // for using a local version of proguard
mavenCentral()
}
dependencies {
classpath ':proguard:' // for using a local version of proguard
classpath 'com.android.tools.build:gradle:1.0.0'
}
}
Maybe write deobfuscator for this project?
Warning: my_class$9$1: can't find referenced method 'java.lang.String access$900()' in program class my_class
I am searching for a long time on net. But no use. Please help or try to give some ideas how to achieve this
Thanks in advance
This might not be the correct place to ask that question but I'm going to try. I'd like to use facebook cersion of proguard but I can't find out which one my ide is using. I found one in my android sdk tools/proguard/lib/proguard.jar but removing it doesn't change anything. I'm using Android studio, does it use another version of proguard.jar?
Thanks your work for improving proguard speed, it really slow...
But I use your lastest source code, it only saves me a few seconds. I use the android optimized proguard.cfg.
Any thoughts on publishing this to jcenter or maven? It would be really great if the output, that being the proguard.jar file, were publicly resolvable to be used in build-scripts/plugins/etc. I know they provide it through sourceforce, and I could probably hack together something something to make that resolvable, but it would be much cleaner if we had it in the "proper" place.
Thoughts?
the generated jar could not be scanned by class loader
i tried to use this proguard ,the generated jar is almost the same to the original jar after decompilation, however the classes in jar could not be scanned by class loader ,i use spring,the sourse code is PathMatchingResourcePatternResolver.java---getClassLoader().getResources("org/demo/config/").
the getResourses method return no jar囧,while when i replace it to the original jar it returned the jar, so strange........can anyone help me...
Hello there,
i have installed the package on my vs2015 and i created an apk file but it looks the same.
Do you know how to use it please?I am using devextreme phonegap.
If I add the package to my solution and check the Multi-dex box the build still fails. If I replace the Android SDK's proguard.jar with the one from this nuget package it then works.
How come you forked at 4.11 and is their a possibility of moving to 4.12 or 5.0?
I ask because of a serious bug with Proguard & Android (when using Google Play Services) that affects 4.11 & is fixed in 4.12.
http://sourceforge.net/p/proguard/bugs/505/
In any android project with the 'Google Play Service' library to use AdMob or any other,
Proguard 4.11 spit out below error. 4.10 is ok with same proguard script.
Up to now, the only way I could find to use this fork instead of stock proguard when using gradle is to replace the proguard jar inside gradle's cache.
But I am sure there is a cleaner way. Can you publish some instructions to using this fork with gradle ?
ProGuard 5.3.1 is available now. This update implements a performance improvement for recent JREs. More specifically, it avoids extensive use of String#substring, which nowadays copies the underlying char[] array instead of sharing it, thus causing a lot of churn for the garbage collector
Ran this fork on an android project to compare proguard run time and apk size using the exact same code and proguard rules
Vanilla 5.3.1 - 1m25.93s, 3680 kb
fb/proguard based off 5.3.1 - 1m28.98s, 3696 kb
Do you have any benchmarks to claim this fork is actually better? Seems like the latest vanilla version of proguard is actually superior, but I may not have some data that you may be using to still keep this fork alive. Would be great to understand that :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.