0

have a code that loads an image online with the AsyncImage module in kivy. i wrote the code in python3 which runs well on the pc but doesnt work on a packaged apk. i think this is because i packaged it using python2.7 buildozer. thanks an image showing the error in logcat

this is the code.

class Gallery(Screen,GridLayout):
    scroller = ObjectProperty(None)
    grid = ObjectProperty(None)
    def __init__ (self,**kwargs):
        super(Gallery, self).__init__(**kwargs)
        if len(self.ids.grid.children) == 0:
            for i in range(13):
                src = "http://placehold.it/480x270.png&text=slide-%d&.png" % i
                image = MyTile(source=src, allow_stretch=True)
                self.ids.grid.add_widget(image)
2
Contributors
4
Replies
15
Views
1 Year
Discussion Span
Last Post by mcroni
0

thanks i followed the directions perfectly but i dont know why this is happening

0

Looks like it's time to contact the author to report a bug. Let me share that for our Android work we stick to Android Studio.

0

i have solved the problem, i just had to add openssl to the dependencies.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.