java.lang.SecurityException: Invalid API Key for package = [package_name] .Status code received = -1

Stack Overflow | andrei_zaitcev | 6 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. 0

    Google Awareness API SecurityException is thrown

    Stack Overflow | 6 months ago | andrei_zaitcev
    java.lang.SecurityException: Invalid API Key for package = [package_name] .Status code received = -1
  2. 0

    Is geofencing completely unusable in Android?

    Stack Overflow | 3 weeks ago | Bruno Bronosky
    java.lang.SecurityException: Invalid API Key for package = de.stocard.stocard .Status code received = -1
  3. 0
    samebug tip
    You should add the permission android.permission.READ_EXTERNAL_STORAGE to your manifest file.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Missing permission to control media error on Android 5/L

    Stack Overflow | 2 years ago | Kevin
    java.lang.SecurityException: Missing permission to control media.
  6. 0

    VoiceInteractionService API21 startSession error

    Stack Overflow | 2 years ago | Zrilit
    java.lang.RuntimeException: Unable to start service com.test5.simpleapphotword.simpleapphotword.MainInteractionService@17c3e453 with Intent { cmp=com.test5.simpleapphotword.simpleapphotword/.MainInteractionService }: java.lang.SecurityException: Caller is not the current voice interaction service
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.SecurityException

    Invalid API Key for package = [package_name] .Status code received = -1

    at android.os.Parcel.readException()
  2. Android Platform
    Parcel.readException
    1. android.os.Parcel.readException(Parcel.java:1540)
    2. android.os.Parcel.readException(Parcel.java:1493)
    2 frames
  3. com.google.android
    zzpw$zzf.run
    1. com.google.android.gms.common.internal.zzu$zza$zza.zza(Unknown Source)
    2. com.google.android.gms.common.internal.zzd.zzqz(Unknown Source)
    3. com.google.android.gms.internal.zzpw$zzc.zzapl(Unknown Source)
    4. com.google.android.gms.internal.zzpw$zzf.run(Unknown Source)
    4 frames
  4. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    4 frames
  5. com.google.android
    zzrn.run
    1. com.google.android.gms.internal.zzrn.run(Unknown Source)
    1 frame
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:818)
    1 frame