Here's my error.
# korge
l
Here's my error.
d
Uhm. Which KorGE version are you using? Are you embedding KorGE into an existing Android app, or it just uses the default gradle android tasks provided by KorGE?
l
Hi, I fixed to problem by replacing AppCompatActivity by KorgwActivity on my main activity. But now I've another problem... I'm implementing Korge on an existing Android project and I need to load an image, so I use
Copy code
resourcesVfs["top_arrow.png"].readBitmap()
But I got java.io.FileNotFoundException: top_arrow.png. Where do I have to put the file on an Android project ?
Here's my project.
d
So you are creating an android application in the end, right? You have a sample android project using KorGE here: https://github.com/korlibs/korge-samples/tree/master/integrations/android
l
Thanks for your answer. Finally found the solution by creating an "assets" folder inside src/main.
👍 1