Matti

Results 104 comments of Matti
trafficstars

Although, how about https://github.com/free-audio/clap instead?

Well I was just interested in writing C++ instead of JS, but if a library doesn't seem like it has solid support, then I'm lost.

I'm also having this error with this simple "hello world" example and Kivy 2.1.0, Python 3.10.4 and Tumbleweed 20220303. kivyhelloworld.py: ``` import kivy from kivy.app import App from kivy.uix.label import...

The above produces this error: ``` python3.10 kivyhelloworld.py [INFO ] [Logger ] Record log in /home/myuser/.kivy/logs/kivy_22-04-09_16.txt [INFO ] [Kivy ] v2.1.0 [INFO ] [Kivy ] Installed at "/usr/lib64/python3.10/site-packages/kivy/__init__.py" [INFO ]...

I have the same error, but when building gcc-lua itself from https://peter.colberg.org/gcc-lua/install

I have this same problem, I've followed instructions at: https://stackoverflow.com/a/67413427 and https://python-for-android.readthedocs.io/en/latest/quickstart/#installing-android-sdk Then when building I get: ``` ~/Documents/codings/kivy> p4a apk --private $HOME/Documents/codings/kivy/ --package=org.example.myapp --name "My application" --version 0.1 --requirements=python3,kivy...

I can proceed by editing /usr/lib/python3.10/site-packages/pythonforandroid/build.py lines 116 and 117 to: ``` if exists(join(sdk_dir, 'cmdline-tools', 'bin', 'avdmanager')): avdmanager = sh.Command(join(sdk_dir, 'cmdline-tools', 'bin', 'avdmanager')) ``` But now the error becomes: ```...

I can also proceed from the previous edit of /usr/lib/python3.10/site-packages/pythonforandroid/build.py lines 116 and 117 to: ``` if exists(join(sdk_dir, 'cmdline-tools', 'bin', 'avdmanager')): avdmanager = sh.Command(join(sdk_dir, 'cmdline-tools', 'bin', 'avdmanager')) targets = avdmanager('list',...

Yes, but by using /opt/android-sdk/cmdline-tools/latest/bin/sdkmanager as given in: https://stackoverflow.com/questions/65262340/cmdline-tools-could-not-determine-sdk-root/67413427#67413427 my ~/.bashrc: ``` # Adjust the paths! export ANDROIDSDK="/opt/android-sdk" export ANDROIDNDK="$HOME/Developer/android-ndk-r23b" export ANDROIDAPI="27" # Target API version of your application export...

The reason it doesn't return any available APIs is caused by: `apis = [s for s in targets if re.match(r'^ *API level: ', s)]` at line 131 resulting to apis...