Build:android no certificates error on adb install


#1

Hello,

I have successfully built the .apk through exp build:android. Here is the url: https://exp.host/@jefferyvincent/powerPick. When I try to install the .apk on the simulator using:

adb install ~/Downloads/powerpick.apk

I get this error:

[100%] /data/local/tmp/powerpick.apk
        pkg: /data/local/tmp/powerpick.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

Here is my app.json file:

{
  "expo": {
    "name": "Power Pick",
    "icon": "./icons/pn_app_1024_icon.png",
    "version": "1.0.0",
    "slug": "powerPick",
    "orientation":"portrait",
    "sdkVersion": "21.0.0",
    "primaryColor": "#ffffff",
    "notification": {
      "icon": "./icons/pn_app_48_icon.png",
      "color":"#ffffff"
    },
    "loading": {
      "icon": "./icons/pn_app_1024_icon.png",
      "exponentIconColor": "white"
    },
    "ios": {
      "bundleIdentifier": "com.backbaystudios.powerpick",
      "buildNumber": "1.0.0",
      "icon": "./icons/pn_app_1024_icon.png",
      "supportsTablet": true,
      "splash": {
        "image": "./splash/1242_x_2208_splash.png",
        "backgroundColor": "#ffffff",
        "tabletImage": "./splash/2048_x_2732_splash.png",
      }
    },
    "android": {
      "package": "com.backbaystudios.powerpick",
      "versionCode": 2,
      "icon": "./icons/pn_app_1024_icon.png",
    },
    "splash": {
      "image": "./splash/1242_x_2208_splash.png",
      "backgroundColor": "#ffffff",
      "tabletImage": "./splash/2048_x_2732_splash.png",
    }
  }
}

#2

Hello there. Did you make any changes to the .apk after downloading it? Looks like that’s not allowed and can result in that error.


#3

No, I didn’t. I only changed the name then I just downloaded it and ran adb install


#4

Just tried it again without changing the name and I received the same error. I don’t have any other certificate made nor is this on the play store yet. I just simply did exp build:android


#5

You can close this. The issue was due to an older version of Andriod (lollypop).


closed #6

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.