Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Class 'MyApplication' is never used

After I successfully integrated flurry SDK into the library by using this code in my build.gradle file.

    compile 'com.flurry.android:analytics:6.8.0'

I created java Class to integrate my API Key into my code, and since Im running my app on an external device I suppose some data needs to show on my flurry account, but it is now four days and nothing changed, only zeros are showing on my dashboard ...

Also, i have this message on my java file

Class 'MyApplication' is never used

enter image description here

Ps: I'm new to android studio

like image 848
Neo Avatar asked Feb 27 '17 23:02

Neo


1 Answers

You must specify MyApplication in manifest file. It will not be used otherwise:

<application
    android:name=".MyApplication"
    ....
like image 184
Marcin Orlowski Avatar answered Oct 16 '22 04:10

Marcin Orlowski