Invalid API Key for package = com.test.awarenesstests .Status code received = 6

Samebug tips5

Android SDK 23 introduced a new way to handle permissions, so as a temporary workaround you can set it to build for SDK below 23. As a permanent solution you have to ask user during runtime for permissions with checkSelfPermission() or requestPermissions()


You need to request READ_PHONE_STATE permissions before using of this method.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1297

Stack trace

  • java.lang.SecurityException: Invalid API Key for package = com.test.awarenesstests .Status code received = 6 at android.os.Parcel.readException( at android.os.Parcel.readException( at$zza$zza.zza(Unknown Source) at Source) at$zzc.zzapi(Unknown Source) at$ Source) at java.util.concurrent.Executors$ at at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at Source) at

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown UserUnknown User
2 times, last one
Indri YunitaIndri Yunita
2 times, last one
franky lifranky li
4 times, last one
Ranjana DangolRanjana Dangol
12 times, last one
Hiren AmaliyarHiren Amaliyar
669 times, last one
232 more bugmates