Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error uploading the json file on Play store #20

Open
iminderN opened this issue Jan 27, 2017 · 6 comments
Open

Error uploading the json file on Play store #20

iminderN opened this issue Jan 27, 2017 · 6 comments

Comments

@iminderN
Copy link

When I try uploading the Json file on Play store, I get this error :"Your Externally-hosted APK Definition file is missing the mandatory attribute application_label."

I have checked the json file, it indeed doesnt have the application_label attribute

@hdurer
Copy link
Contributor

hdurer commented Jan 31, 2017

That field (like various others as outlined in theREADME.md file) are indeed required.
The tool failed to extract that information from the output of the aapt tool. I'm not sure what's going on there — it worked for my apk when I tried it.

I suggest you manually add that field to the file and try again.

We should fix the tool to warn about values that are required but not be extracted. Or maybe we could even use some sensible default values for certain fields that have such defaults we could use.

@deepakypro
Copy link

When I try uploading the Json file on Play store, I get this error "The APK is externally hosted so it cannot be signed by Play".

@ghost
Copy link

ghost commented Apr 25, 2018

It sounds like when you initially created the app you enrolled in Google Play App Signing which is incompatible with Externally Hosted Apps.

AFAIU, you'll need to create a new app as enabling Google Play App Signing is irreversible.

Make sure you choose to opt-out of Google Play App Signing when you go to upload your JSON file:
select "OPT-OUT" when uploading the App

HTH,

Matt

@pranaysharma
Copy link

HI @mekeller thanks for the reply.
Is it possible to upload the above json using an API?

@ghost
Copy link

ghost commented May 22, 2018

Hi @pranaysharma

No. Publishing externally-hosted apps is only supported via the Play Developer Console UI.

Thanks,

Matt

@pranaysharma
Copy link

Hi @mekeller How about this api:
https://developers.google.com/android-publisher/api-ref/edits/apks/addexternallyhosted
Have not tried it yet though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants