Installing .apk files?

A project to port LÖVE to Android handhelds
Locked
Germanunkol
Party member
Posts: 712
Joined: Fri Jun 22, 2012 4:54 pm
Contact:

Installing .apk files?

Post 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.
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Installing .apk files?

Post by bartbes »

The emulator doesn't do GLES, so that's why you can't test it in there.
Germanunkol
Party member
Posts: 712
Joined: Fri Jun 22, 2012 4:54 pm
Contact:

Re: Installing .apk files?

Post 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...
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Installing .apk files?

Post by bartbes »

Maybe it does support GLESv1.1 but not GLESv2.
User avatar
slime
Solid Snayke
Posts: 3166
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Installing .apk files?

Post 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.
Locked

Who is online

Users browsing this forum: No registered users and 1 guest