Skip to content

Troubleshooting Android SDK integration

When an crash happens generally it is good practice to provide some information as to why it happened.

Some good information to provide from developers are:

Stack trace

  • Generated whenever your app crashes because of an error or an exception.

  • Try to filter the messages to show just the error messages when a crash happens.

Layout with Layout Inspector

  • Tools > Layout Inspector, allows it to analyze the screen construct.

Capture a bug report from a device

  • Be sure you have Developer Options enabled.

  • In Developer options, tap Take bug report.

  • Select the type of bug report you want and tap Report.

  • After a moment you get a notification that the bug report is ready.

Capture a bug report from the Android Emulator

  • Click More in the emulator panel.

  • In the Extended controls window, select Bug Report on the left.

  • This opens a screen where you can see the bug report details such as the screenshot, the AVD configuration info, and the bug report log.

  • You can also type a message with reporoduction steps to save with the report.

  • Wait for the bug report to finish collecting, and then click Save Report.

  • To share the bug report, tap the notification.

Capture a bug report using adb

  • If you have just one device connected, you can get a bugreport using adb as follows

  • $ adb bugreport E:\Reports\MyBugReports

What are the steps to replicate the issue ?

  • Try to write steps to replicate issues including additional information such as AppKey, device version, SDK and Contextual version and Campaign name.

Provide videos to help us understand the issue better:

  • Sometimes a recording the issue can help us understand the issue a little bit better. A good software for windows 10 is Hit the Windows key and G. For window MAC it is QuickTime Player from your Applications folder.

Android:exported needs to be explicitly specified for element .

  • Upgrade gradle for your project if you encounter this issue:

Android:exported needs to be explicitly specified for element <activity#com.pointzi.AskPermissionActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined


Last update: 2024-01-14