HELP - I can't upload or install signed APK

#1

Hi!

I can not upload or install the first apk release of my app!

(I display the apk name as android…signed.apk to not publish the original url)

After getting a succesfull build
03:00:42 [exp] Successfully built standalone app: https://exp-shell-app-assets.s3-us-west-1.amazonaws.com/android...signed.apk

I get INSTALL_FAILED_INVALID_APK error if I try to install it

adb install android...signed.apk
android...signed.apk: 1 file pushed. 5.1 MB/s (35353392 bytes in 6.577s)
	pkg: /data/local/tmp/android...signed.apk
Failure [INSTALL_FAILED_INVALID_APK]

and get an error with the package name if I try to upload it to Google Play

Your APK's package name must be in the following format "com.example.myapp". It may contain letters (a-z), numbers, and underscores (_). It must start with a lowercase character. It must be 150 characters or fewer.

Please! I’m not seeing any error on my package name, it’s following the “com.example.myapp” format.

Any ideas?

0 Likes

#2

What is your package name? This would be specified in ‘app.json’.

0 Likes

#3

@nikki

yes, I have my package name in app.json

"android": {
  "package": "com.facuescobar.4fcch",
  "versionCode": 1
}

I’ve tried multiple times to upload or install the signed android apk, but I always get the same errors.

0 Likes

#4

See: https://developer.android.com/studio/build/application-id

Each segment must start with a letter.

0 Likes

#5

it might be that then, I’ll give it a try!

0 Likes

#6

Thank you so much @nikki! that was the problem!

Now I need to disable unused permissions that my app does not use.

One more question!
Do you know if any of this permissions needed for background JS updates?

Your app has an apk with version code 1 that requests the following permission(s): android.permission.CAMERA,android.permission.RECORD_AUDIO,android.permission.READ_PHONE_STATE,android.permission.READ_CONTACTS. Apps using these permissions in an APK are required to have a privacy policy set.

Because I don’t need them and I’m thinking on removing them.

Thanksss!

0 Likes

closed #7

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

0 Likes