Application crashes in onCreate due to newrelic exception

前端 未结 3 922
遥遥无期
遥遥无期 2021-01-05 13:16

I\'ve created an Android app using Android Studio beta 0.8.2 and all was going well until the last few days when i started getting this exception just as i run it:



        
3条回答
  •  粉色の甜心
    2021-01-05 14:12

    1. Build your New Relic enabled project
    2. Run gradle --stop from the terminal/command line
    3. Open your non-NR enabled app and clean & rebuild
    4. Run the app

    If you still get messages about New Relic in your non-NR app, you can go to the ~/.gradle/caches and remove it. Then try the above steps again.

    Newer versions of gradle utilize a daemon which caches New Relic instrumentation. So this will stop the daemon and allow the app to build.

    You will also want to upgrade to the latest version of New Relic. 2.426.0 is many versions behind. Go here: http://docs.newrelic.com/docs/releases/android

提交回复
热议问题