awslabs / aws-crt-python

Python bindings for the AWS Common Runtime
Apache License 2.0
87 stars 42 forks source link

Android support #486

Closed set-soft closed 1 year ago

set-soft commented 1 year ago

Describe the feature

Add support for Android targets

Use Case

The Kivy tool can create portable Python applications that runs on Android.

It uses Python 4 android and buildozer to create the APK.

Proposed Solution

I guess this is something possible because the aws-c-* already compiles for Android, to create aws-crt-java for Android.

But the builder.json config disables android with a comment disabled until we have a reason to support python on android, so perhaps this is a reason ;-)

Other Information

P4A is supposed to support compiling C extensions from sources using recipes. I tried it but faced many problems, the particular way pthreads are handled on Android (cmake fails to detect it) and cross-compiling issues (the ARCH wrongly detected). After reading #444 I realized that this isn't trivial.

Acknowledgements

jmklix commented 1 year ago

Sorry, but this is not something that we plan on adding support for anytime soon. Closing this feature request