Hi, I have an app built with pythonforandroid, which runs perfectly until I add stockfish functionality.
...
I/python: File "/home/user/.local/share/python-for-android/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/subprocess.py", line 1516, in _execute_child
I/python: PermissionError: [Errno 13] Permission denied: 'stockfish'
Python for android ended.
I/python: Exception ignored in: <function Stockfish.__del__ at 0xd279efa8>
I/python: Traceback (most recent call last):
I/python: File "/home/user/.local/share/python-for-android/build/python-installs/chess/stockfish.py", line 140, in __del__
I/python: AttributeError: 'Stockfish' object has no attribute 'stockfish'
I/TMSDISP: AcsAndroidVirtualDisplayIntfImpl::~AcsAndroidVirtualDisplayIntfImpl - Enter
AcsAndroidVirtualDisplayIntfImpl::~AcsAndroidVirtualDisplayIntfImpl - Enter2
AcsAndroidVirtualDisplayIntfImpl::~AcsAndroidVirtualDisplayIntfImpl - mSource2
AcsAndroidVirtualDisplayIntfImpl::~AcsAndroidVirtualDisplayIntfImpl - Exit
Process 4572 terminated.
I don't really know how stockfish works though or where to start fixing this. Perhaps my app doesn't have permission to access the engine itself? But that still leaves me wondering where the attribute error comes from. Any insight into how I can get stockfish working with android? Is this a simple fix or will it require a lot of legwork and hacking around?