Python Forum
apk file not working on android - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: apk file not working on android (/thread-36311.html)



apk file not working on android - polya001 - Feb-06-2022

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:[attachment=1582]

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!