Python Forum
apk file not working on android
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
apk file not working on android
#1
Question 
I'm trying to create a apk file of a python application via buildozer. But the apk does not run on android. I decided to run the primitive "Hello world" code, but the apk file does not open either. Please help me solve the problem

-python version 3.9
-The operating system is windows 10, but the creation of the apk file takes place on a virtual machine in linux
I looked for a solution to a similar problem on the Internet, but it did not help me. Pycharm does not give errors, the apk file is compiled

I am attaching the "Hello world" code(111.py) and the text of the buildozer.spec file (in .txt)

The code:
.py   111.py (Size: 244 bytes / Downloads: 184)

import kivy
from kivy import *
from kivy.app import App
from kivy.uix.label import Label

class Main(App):
    def build(self):
        return Label(text='Hello World')

if __name__ == '__main__':
    main1=Main()
    main1.run()
I will be very grateful for your help!

Attached Files

.txt   buildozer spec.txt (Size: 15.04 KB / Downloads: 216)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Open/save file on Android frohr 0 280 Jan-24-2024, 06:28 PM
Last Post: frohr
  Subprocess.Popen() not working when reading file path from csv file herwin 13 14,624 May-07-2021, 03:26 PM
Last Post: herwin
  Python File to EXE Not working. MianDoesCoding 9 6,668 Jun-09-2020, 08:21 AM
Last Post: MianDoesCoding
  Working with LibreOffice file FASB 0 1,964 Jun-13-2019, 01:23 PM
Last Post: FASB
  .py File extension now working Pronger05 5 4,284 Sep-26-2017, 08:50 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020