Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Support for Android App Bundle #52

Open
rakeshgirase opened this issue Jun 11, 2019 · 5 comments
Open

Support for Android App Bundle #52

rakeshgirase opened this issue Jun 11, 2019 · 5 comments

Comments

@rakeshgirase
Copy link

Add example for uploading aab file to playstore.

@vashisthg
Copy link

vashisthg commented Jul 23, 2019

When I try to upload a .aab file I get this error.

  File "/Users/XYZ/Library/Python/2.7/lib/python/site-packages/googleapiclient/discovery.py", line 814, in method
    raise UnacceptableMimeTypeError(media_mime_type)
googleapiclient.errors.UnacceptableMimeTypeError: application/x-authorware-bin

@rakeshgirase
Copy link
Author

rakeshgirase commented Aug 12, 2019

You can try https://github.com/rakeshgirase/app-release-manager. This is a java project but on similar lines you can do a python one.

@mujavidb
Copy link

@rakeshgirase managed to get this done by editing the upload call to include mime type:

+    service.edits().bundles().upload(
       editId=edit_id,
       packageName=package_name,
       media_body=apk_file,
+      media_mime_type="application/octet-stream"
).execute()

@redixhumayun
Copy link

Any updates on this?

@osfunapps
Copy link

osfunapps commented Feb 9, 2021

@redixhumayun you can use this library

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

No branches or pull requests

5 participants