Open fredykoci opened 3 months ago
I think it is the same issue: from simple flet app:
import flet as ft def main(page: ft.Page): page.add(ft.SafeArea(ft.Text("Hello, Flet!"))) ft.app(main)
Error running app
Traceback (most recent call last):
File "
Build on mac and running on iPhone
flet version 0.22.0 python 3.12.2 on mac silicon
had the same issue since flet 0.21 but thought would be solved with new flet version
Thanks
i encountered the problem, i just added the library to the requirements.txt eg. uuid==1.30 flet
try this it should help. i still have an issue: C:\Users\ajuga\AppData\Local\Android\sdk\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\llvm-strip.exe: error: 'C:\Users\ajuga\AppData\Local\Temp\flet_flutter_build_b66Tj6w6Ss\build\serious_python_android\intermediates\merged_native_libs\release\out\lib\arm64-v8a\libpythonbundle.so': The file was not recognized as a valid object file
C:\Users\ajuga\AppData\Local\Android\sdk\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\llvm-strip.exe: error: 'C:\Users\ajuga\AppData\Local\Temp\flet_flutter_build_b66Tj6w6Ss\build\serious_python_android\intermediates\merged_native_libs\release\out\lib\armeabi-v7a\libpythonbundle.so': The file was not recognized as a valid object file
C:\Users\ajuga\AppData\Local\Android\sdk\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\llvm-strip.exe: error: 'C:\Users\ajuga\AppData\Local\Temp\flet_flutter_build_b66Tj6w6Ss\build\serious_python_android\intermediates\merged_native_libs\release\out\lib\x86_64\libpythonbundle.so': The file was not recognized as a valid object file
@fredykoci have you got a solution to your issue ?
after build on macos
flet version 0.21.2 python version 3.9.6 on mac silicon