Failure [INSTALL_FAILED_INVALID_APK] installing APK on Android Emulator

I’ve tried all the solutions I found on this same issue other people had. Nothing seems to work.

I’m trying to integrate Facebook sign-in to my Android app.

I got this problem when I tried to install the Facebook APK

Here’s the error I got

Mopkaloppts-MacBook-Pro:platform-tools mopkaloppt$ ./adb install Facebook-35.0.0.48.273.apk
1550 KB/s (229004 bytes in 0.144s)
pkg: /data/local/tmp/Facebook-35.0.0.48.273.apk
Failure [INSTALL_FAILED_INVALID_APK]

The package name in Manifest and the applicationId in build gradle file are the same, which is “com.example.mopkaloppt.mocat”

I’m on Android Studio using API 22 and the emulator is Nexus4 API 22 as well.

So what else could the problem be?


Source: facebook

Leave a Reply