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

How to package simplepyble into APK #3101

Open
tsiens opened this issue Dec 29, 2024 · 0 comments
Open

How to package simplepyble into APK #3101

tsiens opened this issue Dec 29, 2024 · 0 comments

Comments

@tsiens
Copy link

tsiens commented Dec 29, 2024

1、simplepyble='>0.8.1' in pyproject.toml,simplepyble/_simplepyble.so" is for EM_X86_64 (62) instead of EM_AARCH64 (183)
2、build recipe



class SimplepybleRecipe(PythonRecipe):
    version = '0.8.1'
    url = 'https://pypi.python.org/packages/source/s/simplepyble/simplepyble-{version}.tar.gz'
    depends = ['setuptools']


recipe = SimplepybleRecipe()

Traceback (most recent call last):
File "/root/.local/share/python-for-android/build/other_builds/simplepyble/arm64-v8a__ndk_target_24/simplepyble/setup.py", line 8, in
import pybind11

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

No branches or pull requests

2 participants