Support of Android Emulator: done

256 views
Skip to first unread message

Mathieu Virbel

unread,
Mar 22, 2013, 10:52:13 PM3/22/13
to kivy-...@googlegroups.com
Hi everyone,

I've tested the Android emulator today, and found 2 bugs.
The first one is the glGetString(GL_SHADING_LANGUAGE_VERSION) who make the app crash,
And the second was glGetShaderInfoLog(), where we were passing NULL to *length parameter: all the gl command queue was shifted off by 4 bytes.

Anyway, now you can create an avd with GPU support, and push kivy apk on it (You need APK from the latest kivy as for today). I've tested only the showcase so far, but that's the most complex example we got, so that should be ok.

In case of, here is the avd configuration i've used.

Enjoy everyone!

Mathieu ∆

DefaultAndroid/config.ini
----------------------------------
avd.ini.encoding=ISO-8859-1
hw.dPad=no
hw.lcd.density=240
hw.cpu.arch=arm
hw.device.hash=499058361
hw.camera.back=none
disk.dataPartition.size=200M
hw.gpu.enabled=yes
skin.path=480x800
skin.dynamic=yes
hw.keyboard=yes
hw.cpu.model=cortex-a8
hw.ramSize=343
hw.device.manufacturer=Google
hw.sdCard=yes
hw.mainKeys=yes
hw.accelerometer=yes
skin.name=480x800
abi.type=armeabi-v7a
hw.trackBall=no
hw.device.name=Nexus S
hw.battery=no
hw.sensors.proximity=yes
image.sysdir.1=system-images/android-17/armeabi-v7a/
hw.sensors.orientation=yes
hw.audioInput=yes
hw.camera.front=none
hw.gps=yes
vm.heapSize=32

Rohman Syah

unread,
Mar 24, 2013, 10:42:09 PM3/24/13
to kivy-...@googlegroups.com
Thanks Mathieu and Kivy Teams :)

2013/3/23 Mathieu Virbel <m...@kivy.org>

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
-- Regards --
Rohman Syahril

Niko Skrypnik

unread,
Mar 26, 2013, 1:00:28 AM3/26/13
to kivy-...@googlegroups.com
Wow, great. Thank you guys!

суббота, 23 марта 2013 г., 4:52:13 UTC+2 пользователь Mathieu Virbel написал:

Carsten Thielepape

unread,
Apr 2, 2013, 4:17:45 AM4/2/13
to kivy-...@googlegroups.com
Hello,

only available on the "nighties" until 1.6.1 is official?

Nevertheless: Thanks, will speed up things a lot.

Carsten Thielepape

unread,
Jun 11, 2013, 10:31:54 AM6/11/13
to kivy-...@googlegroups.com
Tried it today with 1.71. Still no luck to install my app on the emulator...

Akshay Arora

unread,
Jun 11, 2013, 11:50:34 AM6/11/13
to kivy-...@googlegroups.com
You need to enable sdcard and host GPU and even then only use os with
 4.0.3 and above as GPU passthrough is only only available there.

Just mentioning "still no luck" with no details does not give enough info to
see what's wrong with your setup.

Regards


--

Carsten Thielepape

unread,
Jun 12, 2013, 7:49:31 AM6/12/13
to kivy-...@googlegroups.com
Hello,
when I try to install my apk (which is working on a "real" device), I get the error


C:\dev\android-sdk\platform-tools>adb install ORCA.apk
199 KB/s (19646280 bytes in 96.055s)
        pkg: /data/local/tmp/ORCA.apk
Failure [INSTALL_FAILED_CONTAINER_ERROR]

Or "App not installed" when I try to install from the Android gui.

I am using the given settings file, but using android version 4.2.2.

Akshay Arora

unread,
Jun 12, 2013, 1:29:12 PM6/12/13
to kivy-...@googlegroups.com
You could try on a fresh emulated device or follow the procedure mentioned on that StackOverflow link.

Regards

Reply all
Reply to author
Forward
0 new messages