Deobfuscation of crash reports in Zoho Apptics

Deobfuscation using Zoho Apptics

Overview

Obfuscation of your code is the process of renaming all the classes and their methods names in a way that is difficult to reverse-engineer but will still function correctly. ProGuard (it's successor R8) is the default Java code optimizer and obfuscator for Android that performs compile-time tasks and helps in making android applications 90% Faster and 20% smaller in size.

If you are using Android Studio for development, mapping files will not be produced when you make instant runs. You need to choose the Build APK option to generate the mapping files. After the build is completed, the symbol file called mapping.txt can be found <module-name>/build/outputs/mapping/release/ or <module-name>/build/outputs/mapping/debug/, depending on how you initiate the build process.

Deobfuscation of crash reports

Obfuscated code might be helpful for code optimization, but can also add a challenge while debugging. During obfuscation, the some class and method names, symbol files, and debugging information required for diagnosing crashes and issues will be missing. The process of retracing the original stack traces and names of classes, methods in the app's code using the mapping.txt file is called deobfuscation.

In Zoho Apptics, you can upload and maintain mapping files for your every build of your Android apps.

Proguard rules

If you use pro-guard to obfuscate classes then the Apptics plugin will automatically upload the mapping file. You can add some rules to the ProGuard file and modify how code obfuscation happens for your app. Add the below-mentioned rules to the proguard-rules.pro file:
  1. -keep class com.zoho.zanalytics.**
  2. -dontwarn com.zoho.zanalytics.**
Info
Refer to our Crashes SDK guide for Android for SDK implementation. 

Add Proguard file manually

  1. Navigate to Quality > Symbols & Mapping. Select the ProGuard Mapping file and the package name for which you want to upload from the drop-down menu.
  2. Click Upload and a popup will appear. 

  1. Select the appropriate app version and build version from the drop down. 
  2. Click on Choose file and select the appropriate .txt file.
  3. Click Upload and the ProGuard Mapping file will be listed in the console.

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsRetailOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceForms for Solopreneurs
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit
                              Forms for Government
                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic FormsInsurance
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsWufoo alternativeEncrypted Forms
                              Accessible FormsSecure Forms

                              WCAG

                                        Create. Review. Publish.

                                        Write, edit, collaborate on, and publish documents to different content management platforms.

                                        Get Started Now






                                                          You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                              Manage your brands on social media

                                                                Use cases

                                                                Make the most of Zoho Desk with the use cases.

                                                                 
                                                                  

                                                                eBooks

                                                                Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho Desk.

                                                                 
                                                                  

                                                                Videos

                                                                Watch comprehensive videos on features and other important topics that will help you master Zoho Desk.

                                                                 
                                                                  

                                                                Webinar

                                                                Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                                 
                                                                  
                                                                • Desk Community Learning Series


                                                                • Meetups


                                                                • Ask the Experts


                                                                • Kbase


                                                                • Resources


                                                                • Glossary


                                                                • Desk Marketplace


                                                                • MVP Corner



                                                                  Zoho Sheet Resources

                                                                   

                                                                      Zoho Forms Resources


                                                                        Secure your business
                                                                        communication with Zoho Mail


                                                                        Mail on the move with
                                                                        Zoho Mail mobile application

                                                                          Stay on top of your schedule
                                                                          at all times


                                                                          Carry your calendar with you
                                                                          Anytime, anywhere




                                                                                Zoho Sign Resources

                                                                                  Sign, Paperless!

                                                                                  Sign and send business documents on the go!

                                                                                  Get Started Now




                                                                                          Zoho TeamInbox Resources





                                                                                                    Zoho DataPrep Demo

                                                                                                    Get a personalized demo or POC

                                                                                                    REGISTER NOW


                                                                                                      Design. Discuss. Deliver.

                                                                                                      Create visually engaging stories with Zoho Show.

                                                                                                      Get Started Now









                                                                                                                          • Related Articles

                                                                                                                          • Crash reporting in Apptics console

                                                                                                                            Overview App crashes are fatal exceptions that cause the app to quit forcefully due to an issue. There may be multiple crashes because of the same unique issue. Instant error reporting enables you to get notified of such crashes, access detailed ...
                                                                                                                          • Getting started with Zoho Apptics

                                                                                                                            Getting Started Welcome to Zoho Apptics! The right place for your apps. Zoho Apptics is the privacy-friendly product analytics solution that provides you with in-app usage, engagement, performance, and growth monitoring for your mobile and web apps– ...
                                                                                                                          • Non-fatal tracking in Zoho Apptics

                                                                                                                            Overview Apptics provides a way to record the non fatal errors and exceptions that are caught in your app's try-catch blocks. Using the non-fatal module in Zoho Apptics, you can track and analyze non fatal errors similar to fatal errors like crashes ...
                                                                                                                          • Symbolication using Zoho Apptics

                                                                                                                            Overview Symbolicating the crash reports into a human-readable format is essential for any developer to understand the reason behind the crash quickly. What is a dSYM file? A dSYM file is a debug symbol file generated by Apple Xcode along with the ...
                                                                                                                          • Zoho Cliq integration in Zoho Apptics

                                                                                                                            Overview Zoho Cliq integration offers real-time notifications for crashes, non-fatal, in-app feedback, and store reviews that you receive for your app. You can do the configuration once you create an account in Zoho Cliq for your organization. You ...
                                                                                                                            Wherever you are is as good as
                                                                                                                            your workplace

                                                                                                                              Resources

                                                                                                                              Videos

                                                                                                                              Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                              eBooks

                                                                                                                              Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                              Webinars

                                                                                                                              Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                              CRM Tips

                                                                                                                              Make the most of Zoho CRM with these useful tips.



                                                                                                                                Zoho Show Resources