Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/SKbarbon/fpyo2apk
Browse files Browse the repository at this point in the history
  • Loading branch information
SKbarbon committed May 11, 2023
2 parents b0d4838 + 48c9673 commit 1bb5ec3
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# fpyo2apk
A python package tool for create Android apps project for a `flet-pyodide` `dist` folder. Its very easy to use.

For iOS/iPadOS ? [fpyo2ipa](https://github.com/SKbarbon/fpyo2ipa)

## requirements
- python: up than python3.8
- Android Studio: This is very important to make `briefcase` work.
- briefcase==0.3.14 (it will be auto installed if you install this package)

* `Note`: This package is tested on macOS only, but it should work on windows as will. if there is any issues report it here: [issue](https://github.com/SKbarbon/fpyo2apk/issues)

## Little peek

<img width="1728" alt="Screenshot 2023-05-08 at 8 20 22 PM" src="https://user-images.githubusercontent.com/86029286/236889277-7fef846a-102d-4f93-b0fb-1b4825d8a278.png">

## usage
This is a video tutorial: [Tutorial](https://youtu.be/302AT_INDo8)

1- Publish your flet script into flet-pyodide dist. Use this command for that:

```
flet publish main.py
```

2- Create a python virtual environment (highly recommended):

```
python3 -m venv venv
```

3- Install `fpyo2apk` package:

```
pip install fpyo2apk --upgrade
```

4- Start building your Android App project.

* Make sure that your `dist` folder is in the current cmd's folder, and make sure that you are done with Android Studio setup.
```
python3 -m fpyo2apk.build
```

0 comments on commit 1bb5ec3

Please sign in to comment.