silexlabs / Cocktail

An HTML/CSS rendering engine for the Haxe language
http://www.silexlabs.org/haxe/cocktail/
Other
192 stars 34 forks source link

OpenFL / Android crashes on first touch with dce -full #417

Open RafaelOliveira opened 10 years ago

RafaelOliveira commented 10 years ago

With the option: < haxeflag name="-dce" value="full" / >

The app renders correctly, but as soon as I touch the screen, the app crashes. I compiled with the verbose option, and found this:

W/Binder ( 1960): Caught a RuntimeException from the binder stub implementation. W/Binder ( 1960): java.lang.NullPointerException W/Binder ( 1960): at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280) W/Binder ( 1960): at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129) W/Binder ( 1960): at android.os.Binder.execTransact(Binder.java:404) W/Binder ( 1960): at dalvik.system.NativeStart.run(Native Method)

My test app went from 10,42mb to 8,75mb, so I think the support of dce is very important. On mobile every bit counts.