android - FirebaseAnalytics.getInstance showing warning but compiles successfully -


when write code firebase analytics firebaseanalytics.getinstance() warning message:

missing permissions required firebaseanalytics.getinstance: android.permission.access_network_state , android.permission.wake_lock

here screenshot:

enter image description here

i didn't found googling.

i tried cleaning , rebuilding project. restarting android studio. nothing worked.

what's issue?

edit: permissions there. can see in merged manifest. still gives error.

enter image description here

add <uses-permission android:name="android.permission.access_network_state" /> , <uses-permission android:name="android.permission. wake_lock" /> manifest file


Comments

Popular posts from this blog

c# SetCompatibleTextRenderingDefault must be called before the first -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -

c++ - Fill runtime data at compile time with templates -