Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

compile kivy apps with obspy

39 views
Skip to first unread message

Iacopo Sagliano

unread,
Mar 31, 2025, 2:03:55 PMMar 31
to Kivy users support
Hi, has anyone had experiences in compiling kivy apps that use the obspy library?

I installed ndk as requested for compilation with buildozer. Initially version r21e that apparently is the last version having gcc/gfortran support.

[DEBUG]: Create directory /home/pc/Repositories/py_iuno_stream/OLD_py_live_view_app/test_buildozer/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds [INFO]: Found Android API target in $ANDROIDAPI: 31 [INFO]: Available Android APIs are (31) [INFO]: Requested API target 31 is available, continuing. [INFO]: Found NDK dir in $ANDROIDNDK: /home/pc/Android/ndk/android-ndk-r21e [INFO]: Found NDK version 21e [ERROR]: Build failed: The minimum supported NDK version is 25. You can download it from https://developer.android.com/ndk/downloads/. [INFO]: Instructions: Please, go to the android NDK page (https://developer.android.com/ndk/downloads/) and download a supported version. *** The currently recommended NDK version is 25b ***



This has not worked saying the minimum required version is r25. I then installed and set r25c as default ndk location, it returns that I don't have gfortran installed. But the gfortran package is only available for ndk versions up to r21e as far as I found.

Anyone can help?

Thanks







Thanks for your help,
Iacopo

Shubhodeep Roy

unread,
Apr 11, 2025, 10:45:46 AMApr 11
to Kivy users support
I require help concerning the same problem, only difference is I am using the library Scipy which requires gcc/gfortran support. If anybody has the solution, please let us know.

Thank you,
Shubhodeep

Message has been deleted

ElliotG

unread,
Apr 12, 2025, 9:56:52 AMApr 12
to Kivy users support
lacopo, Looks like you would need to create a custom recipe for obspy.  see: https://github.com/Android-for-Python/Android-for-Python-Users?tab=readme-ov-file#creating-a-recipe
You might want to try the android area on the kivy discord.   

Edited: The link in my previous response was to an unrelated YouTube link. 
Reply all
Reply to author
Forward
0 new messages