To ensure you have the most current version of the Android agent, see the Android agent release notes. Instructions to upgrade your Android app will vary, based on which version of the Android agent SDK you are currently using.
If you have previously installed version 2 or 3 of the Android SDK: Go to one.newrelic.com > Mobile > (select an app) > Settings > Upgrade.
If you have previously installed version 1 of the Android SDK, follow these steps before upgrading to version 2 or higher.
Open your AndroidManifest.xml file, and remove the
When you first ran nrandroid-setup, the
If you had an existing
Mobile monitoring no longer requires the custom Ant wrapper script for Android applications. Once you upgrade, simply use your standard build tools.
If you modified an existing Maven configuration to invoke the mobile build steps, remove those modifications, and use the revised build instructions.
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.