Open iminderN opened 7 years ago
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.
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".
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:
HTH,
Matt
HI @MEKeller thanks for the reply. Is it possible to upload the above json using an API?
Hi @pranaysharma
No. Publishing externally-hosted apps is only supported via the Play Developer Console UI.
Thanks,
Matt
Hi @MEKeller How about this api: https://developers.google.com/android-publisher/api-ref/edits/apks/addexternallyhosted Have not tried it yet though
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