Skip to content

dobrous155/py-to-apk-with-Google-Colab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

PYTHON TO APK CONVERSION VIA GOOGLE COLAB

This repository provides a streamlined solution for developers encountering difficulties when compiling Python (.py) files into Android (.apk) packages.

--- INSTALLATION & SETUP ---

  1. DOWNLOAD THE FILES:

    • Click the green "Code" button and select "Download ZIP".
  2. EXTRACT THE ARCHIVE:

    • Locate the downloaded .zip file on your computer.
    • Right-click the file and select "Extract All..." or use your preferred unzipping software (e.g., 7-Zip, WinRAR).
    • Choose a destination folder and complete the extraction.
    • Note for Linux users: You can use an online unzip tool if you prefer not to use the terminal.
  3. LOCATE THE Compile.bat:

    • Navigate to the newly extracted folder: py-to-apk-with-Google-Colab-main/Compile/

--- EXECUTION ---

  1. RUN THE Compile.bat:

    • Execute the "Compile.bat" file.
    • This script will automatically open the site https://colab.research.google.com/ and launch the local instruction file: py-to-apk-with-Google-Colab-main/Compile/Source/README.txt
    • Note for Linux users: Since the automated script is designed for Windows, Linux users (like myself) will need to perform this step manually.
  2. FOLLOW INSTRUCTIONS:

    • Follow the step-by-step guide in the README.txt to finish the build within the Google Colab environment.

--- CREDITS & ATTRIBUTION ---

The core logic for this process was adapted from a solution shared by Stack Overflow user "Moses B" Original documentation can be found at: https://stackoverflow.com/questions/75913006/locate-package-libffi6-kivy-app-to-apk-colab