You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add code to replace setuptools with ''distutils.core`
Before modification, there will be the following error:
```
Leaving ARM environment
Call build_click
Entering in ARM environment
Compiler found at /home/human/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin//arm-linux-androideabi-gcc
Traceback (most recent call last):
File "setup.py", line 3, in <module>
from setuptools import setup
File "/home/human/.local/lib/python2.7/site-packages/setuptools/__init__.py", line 12, in <module>
from setuptools.extension import Extension
File "/home/human/.local/lib/python2.7/site-packages/setuptools/extension.py", line 8, in <module>
from .dist import _get_unpatched
File "/home/human/.local/lib/python2.7/site-packages/setuptools/dist.py", line 18, in <module>
from setuptools import windows_support
File "/home/human/.local/lib/python2.7/site-packages/setuptools/windows_support.py", line 2, in <module>
import ctypes
File "/home/human/Work/browser/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/ctypes/__init__.py", line 10, in <module>
from _ctypes import Union, Structure, Array
ImportError: /home/human/Work/browser/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/lib-dynload/_ctypes.so: wrong ELF class: ELFCLASS32
```
the `setuptools` looks Could not to use, so I changed it to use `distutils.core`.
0 commit comments