Page 1 of 1

Installing .apk files?

Posted: Sat Dec 20, 2014 12:11 pm
by Germanunkol
Disclaimer:
I have no experience developing for the android. But I can't find the answer to this anywhere here...

I'm on Arch Linux and have successfully installed and build love-android-sdl2.
I cannot find instructions on how to install the .apk, though. I'm assuming the default .apk (when no game is added) is just the no-game-screen?

I have tried installing the project using

Code: Select all

./adb install ~/Path/To/love_android_sdl2-debug.apk
This gives me an icon in the emulator (Settings for the emulator: Android 3.1 (API level 12), WXGA, SD-Card 20M) but when I start the app, I get:
"Could not create window
Could not create GLES window surface".

I tried to install sienna in the same way, no luck. This one just gives me a short flash of black and then it's back to the current screen.

Re: Installing .apk files?

Posted: Sat Dec 20, 2014 12:51 pm
by bartbes
The emulator doesn't do GLES, so that's why you can't test it in there.

Re: Installing .apk files?

Posted: Sat Dec 20, 2014 1:43 pm
by Germanunkol
Right... weird though, there was a folder with "API Samples/GLES" or similar, and those worked.

Anyway, then I'll have to get my hands on a real phone one of these days...

Re: Installing .apk files?

Posted: Sat Dec 20, 2014 2:21 pm
by bartbes
Maybe it does support GLESv1.1 but not GLESv2.

Re: Installing .apk files?

Posted: Sat Dec 20, 2014 4:25 pm
by slime
Germanunkol wrote:Settings for the emulator: Android 3.1 (API level 12)
I believe newer versions of the emulator support OpenGL ES 2, but it still might be buggy enough to not work properly.