Apptics insights Android Studio plugin | Zoho Apptics

Apptics insights - Zoho Apptics' Android Studio plugin

Overview

Android studio plugins are similar to how extensions in the marketplace work for browsers and web apps. They provide additional functionalities from within the IDE, the Android Studio. 

Apptics insights is our Android Studio plugin that brings Zoho Apptics’ crash and error reporting directly into your IDE, allowing you to debug issues without switching tabs. It is available in Jet Brains marketplace alongside the other Android Studio plugins.

Notes
Note: The Apptics insights Android Studio plugin can also be used with Flutter and React Native apps, provided your app code is written in native Android (Java/Kotlin).

Requirements to start using Apptics Android plugin

  1. Android Studio IDE (recommended to install and use latest versions)
  2. Account created in Apptics with a portal and project
  3. Apptics SDK integration with your Android project

Steps to install Apptics Android Studio plugin

  1. Open Android Studio and navigate to Settings/PreferencesPlugins in the sidebar.
  2. At the top of the Plugins panel, click on the Marketplace tab.
  3. Search for "Apptics insights" and once it appears, click Install.
<Screenshot of Apptics insights in marketplace once published and made available in jetbrains>
  1. Once the installation is complete, restart Android Studio when prompted.
  2. After Android Studio restarts, you’ll see a Apptics logo appear in the tool window (left strip) within the IDE.

Access Apptics insights plugin in Android Studio

  1. Restart Android Studio after installing the plugin and the Apptics logo will appear in the tool window (left strip) within the IDE. Click on Apptics insights tab will be listed alongside other tools like Logcat, Terminal, and Build.

  1. Log in to your Apptics account.
  2. You will be redirected to this screen for API authentication. Click on I agree and continue.
  1. Once you log in successfully, you will now be able to view crashes, ANRs, and non fatal in Android Studio Plugin IDE.
Notes
Note: You must be a part of the Apptics project and have crash management privilege to access reports from Apptics in Android Studio via the plugin.

The Apptics Android plugin window can be divided into three parts:

Unique issues


The left pane shows the unique issues list that is shown in the crashes page in Apptics. You can view all the crashes, ANRs, and non fatal errors reported for the past 90 days here along with the crash/error instances, i.e., the number of occurrences for each issue.

Stack trace and diagnostic details

When you click on an individual issue from the left pane, you will be able see the stack trace and the diagnostic details in the centre pane. The hyperlinked texts in the stack trace redirect you to the exact files or lines of code. 



You can say that it is equivalent to the device timeline page in Zoho Apptics, but with stack traces that point out the root cause and provide direct access to source code to help you debug issues faster.

Affected devices and app versions


You will see the top affected devices and app versions for the selected issue in the right pane with as meta details.

Filters


You can filter through the issues based on:
  1. Environment (Production and Development)
  2. Date range
  3. App version (currently in the form of API levels)
  4. Crash type (Crash, ANR, and non fatal error)
  5. Devices
  6. OS versions

Troubleshooting tips

  1. Ensure your app is registered and Apptics SDK configuration is completed successfully.
  2. Check your Apptics JSON config file and ensure that it has the correct details.
  3. Make sure you verify API authentication during the initial plugin setup.
  4. We recommend you have the latest version of the Apptics plugin installed.

How Apptics insights is different from LogCat in Android Studio?

Apptics insights plugin
Logcat 
It shows crashes, ANRs, and non fatal error reports inside Android Studio.
A command-line tool and Android Studio feature that shows runtime logs from devices/emulators. 
Captures crashes/errors in both production and development environments (depending on the Apptics integration).
Displays logs while the app is running, typically during development/debugging, or on a connected device/emulator.
Symbolicated stack traces with hyperlinks that traces back to the exact code line/file for debugging.
Redirects stack traces directly to the corresponding line/file by default, if source code is available.
Provides structured crash/error reports with context, trends, and metadata.
Outputs raw logs in real time, requiring manual filtering.