trying to build apk from github actions #4143
Unanswered
settur1409
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Duplicate Check
Describe the bug
flet build apk is stuck for more than 1 hour and not proceeding further.
Now go finish building something awesome! 💪 You rock! 🤘🤩
Like the package? Please give it a 👍 here: https://pub.dev/packages/flutter_native_splash
[11:17:31] Generated splash screens ✅
Run subprocess:
['/opt/hostedtoolcache/flutter/stable-3.22.2-x64/bin/cache/dart-sdk/b
in/dart', 'run', 'serious_python:main', 'package',
'/home/runner/work/ChatBot_mobile_app/ChatBot_mobile_app',
'--mobile', '--platform', 'mobile', '--dep-mappings',
'flet=flet-embed', '--req-deps', 'flet-embed', '--exclude', 'build']
Running package command
Creating asset directory: /tmp/flet_flutter_build_zcJqarnShf/app
Copying Python app from /home/runner/work/ChatBot_mobile_app/ChatBot_mobile_app to /tmp/serious_python_tempCKOYVL
Configured mobile platform with sitecustomize.py at /tmp/serious_python_sitecustomizeCHRLRP/sitecustomize.py
Installing dependencies [flet-embed, flet_route] with pip command to /tmp/serious_python_tempCKOYVL/pypackages
Downloading Python distributive from https://github.com/indygreg/python-build-standalone/releases/download/20231002/cpython-3.11.6+20231002-x86_64-unknown-linux-gnu-install_only.tar.gz to /tmp/cpython-3.11.6+20231002-x86_64-unknown-linux-gnu-install_only.tar.gz
Extracting Python distributive from /tmp/cpython-3.11.6+20231002-x86_64-unknown-linux-gnu-install_only.tar.gz to /tmp/hostpython3.11_TLEBPL
I am using below under workflow yaml
run: |
flet build apk --verbose
under requirements.txt I have flet and flet_route (no specific version).
Code sample
Code
To reproduce
running below yml file
name: Simple Python Setup
on: [push]
env:
https://flet.dev/docs/publish#versioning
BUILD_NUMBER: 1
BUILD_VERSION: 1.0.0
PYTHON_VERSION: 3.11.6
FLUTTER_VERSION: 3.22.2
jobs:
build:
runs-on: ubuntu-latest
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]
Operating System
Linux
Operating system details
ubuntu
Flet version
latest
Regression
I'm not sure / I don't know
Suggestions
No response
Logs
Logs
[Paste your logs here]
Additional details
No response
Beta Was this translation helpful? Give feedback.
All reactions