Comments (4)
There is a good workaround: Use the following settings in your proguard config file, to maintain most of the de-obfuscated class names (especially at the top of the stack trace) and approximate line numbers:
In your proguard-project.txt file, add this
-keepattributes SourceFile,LineNumberTable
Ensure that you don't add this to the file:
-renamesourcefileattribute SourceFile
Because it will just rename all the de-obfuscated classes to "SourceFile.java"
from acralyzer.
Using a pure couchdb, there is no way for Acra-storage to deobfuscate
reports on reception. Even if we rewrite proguard in JS, we can't load the
mapping when receiving a report as the update function can't access other
docs.
The way I see it, deobfuscation has to be an external batch process, either
a java that you would run on your own computer / server which would access
a view listing all obfuscated reports, retrace them and save them back in
the db, or a rewritten JS retrace process that would do the same in the
browser, triggered by the user.
from acralyzer.
Even if it didn't support de-obfuscation, it would be great if I could add a simple Gradle task that would after the obfuscation upload the mapping.txt to Acralyzer. Then I'd always know from where to get the mapping.txt for each release and wouldn't need to manage those manually.
from acralyzer.
I've made a start on this with a script that takes the Acralyzer URL, finds the appropriate mapping.txt file from within Jenkyn's build archives and runs retrace.
Any suggestions as to how it could be launched from within the browser?
https://github.com/molexx/acra_jenkins_retrace
Alternatively it could be a starting point to automatically retracing every report and replacing the value in the db, I assume couchdb allows writing via a HTTP POST but haven't got there yet.
from acralyzer.
Related Issues (20)
- reporter can see all reports HOT 2
- bug: graph is empty, but shouldn't be.
- no ssl
- Can the user IP be removed from the logs? HOT 5
- Not able to get the data from cloudant
- Cant replicate, 503 error HOT 7
- Question on Purge? HOT 1
- Unfortunately MyApp has stopped. How can I solve this?
- Replication of http://get.acralyzer.com/distrib-acralyzer not working HOT 20
- Please provide instructions how to mirror get.acralyzer.com HOT 3
- Different timezones support
- http://get.acralyzer.com/distrib-acralyzer not working HOT 2
- Can't replicate acralyzer HOT 1
- AcraLyzer Signout Issue
- Loading reports very slow
- Maintainer wanted! HOT 5
- Empty string passed to getElementById()
- http://localhost:5984/_users/org.couchdb.user:rep1 HOT 1
- can you provide some docker container to get started? HOT 1
- I can't replicate
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 acralyzer.