Thanks for your help. I'm having a number of small issues, not sure of the best
way to handle them.
I'm trying to hide the navigation bar on android, see this gist:
https://gist.github.com/rnixx/add38d808b5a8ad73947
First, the module crashes on Linux with UnicodeDecodeError. I understand now it
doesn't run there, but the module shouldn't crash with an obscure error on
import. I added another exception handler to handle that.
Next, noticed that I was getting a "android" module ImportError, so had to add
it to my requirements in the buidozer.spec. Will this make it hard to use for
iOS in the future? So I built/installed the android module.
Next I get this crash message:
I/python (22386): Android: API level 19
I/python (22386): Android: set hide_menu.
W/dalvikvm(22386): JNI WARNING: static fieldID 0x4194a558 not valid for class
Lorg/renpy/android/PythonActivity; (GetStaticObjectField)
W/dalvikvm(22386): base=0x429acf60 count=0
W/dalvikvm(22386): in
Lorg/jnius/NativeInvocationHandler;.invoke0:(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
(GetStaticObjectField)
I/dalvikvm(22386): "main" prio=5 tid=1 RUNNABLE
I/dalvikvm(22386): | group="main" sCount=0 dsCount=0 obj=0x41644ca8
self=0x4157e408
I/dalvikvm(22386): | sysTid=22386 nice=0 sched=0/0 cgrp=apps handle=1074864468
I/dalvikvm(22386): | state=R schedstat=( 533852336 271809870 1223 ) utm=35
stm=18 core=1
I/dalvikvm(22386): at org.jnius.NativeInvocationHandler.invoke0(Native Method)
I/dalvikvm(22386): at
org.jnius.NativeInvocationHandler.invoke(NativeInvocationHandler.java:26)
I/dalvikvm(22386): at $Proxy0.run(Native Method)
I/dalvikvm(22386): at android.os.Handler.handleCallback(Handler.java:733)
I/dalvikvm(22386): at android.os.Handler.dispatchMessage(Handler.java:95)
I/dalvikvm(22386): at android.os.Looper.loop(Looper.java:136)
I/dalvikvm(22386): at android.app.ActivityThread.main(ActivityThread.java:5001)
I/dalvikvm(22386): at java.lang.reflect.Method.invokeNative(Native Method)
I/dalvikvm(22386): at java.lang.reflect.Method.invoke(Method.java:515)
I/dalvikvm(22386): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
I/dalvikvm(22386): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
I/dalvikvm(22386): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm(22386):
E/dalvikvm(22386): VM aborting
Not sure what to do here? Thanks again.