With reference to the Android implementation outlined here:
and also a similar issue at Failed to detect New Relic instrumentation
This is an Android app using the Ionic framework and the Ant implementation seems the most relevant.
Step 1 Like the issue above, when I download NewRelic_Android_Agent_4.87.0.zip I get newrelic.android.jar and not newrelic.agent.jar, but I can confirm that this is in the /libs dir.
Ant path: -javaagent:/Users/User/Github/Development/newrelic-android-4.87.0/lib/class.rewriter.jar
Step 2 is confirmed in the AndroidManifest.xml in platforms/android
Step 3 is confirmed within platforms/android/src/com/ionicframework/ionicdemo3/Testapp.java
public class Testapp extends CordovaActivity
public void onCreate(Bundle savedInstanceState)
// Set by in config.xml
Step 4 is confirmed within app root (platforms/android)
The build is successful and this is from the logs from the app running on GenyMotion.
E/com.newrelic.agent.android( 1444): Failed to detect New Relic instrumentation. Something likely went wrong during your build process and you should contact email@example.com.
I/com.newrelic.agent.android( 1444): Application state monitor has started
Any suggestions or ideas on what to fix would be very helpful.
New Relic Edit
- I want Android Java 8 support, too
- I have more info to share (reply below)
- I have a solution for this
We take feature ideas seriously and our product managers review every one when plotting their roadmaps. However, there is no guarantee this feature will be implemented. This post ensures the idea is put on the table and discussed though. So please vote and share your extra details with our team.