Page 1 of 1

Apps immediate quit after start.

Posted: Thu Nov 19, 2015 3:29 pm
by terryho
Hi All,

I face problem on deploy Android apk file in the Android real device. I make a standalone file(apk) of the attach sample stack and install in the android device, then it will run and immediate exit the apps and return to android desktop. But if I change those chinese character in the stack, Then the standalone file will not have this proboem. The following device I had test, which face the same problem :

Brand name Model Android os version Lc version
Xiaomi 4i 5.0.2 LC 6.7.7 or above
Xiaomi Redmi Note 2 5.0.2 LC 6.7.7 or above
Asus zenfone 2 4.1.1 LC 7.1.1 rc3

I think the problem is happen on some brand name of device.

Please help me to test the attach LC sample stack and make a standalone file, install in your device and advice the result. please provide the following information :

Device brand name :
Device model :
Android version :
Your Live code version :
Your development platform : Mac OSx version/ Win 8/ Win 10 or other
Android SDK version :
Can run with Chinese character : Yes/No
Only run without Chinese character : Yes/No

Regards

Terry Ho

Re: Apps immediate quit after start.

Posted: Sat Nov 21, 2015 6:25 am
by capellan
Hi Terry,

Device brand name : Polaroid
Device model : PMID800
Android version : 4.0.3
Your Live code version : LC Community 7.1
Your development platform : Ubuntu Linux
Android SDK version : API Level 8/10/16
Can run with Chinese character : Yes, I can view Chinese Chars in the text field
Only run without Chinese character : No, compiled app launches and quits fine too

Re: Apps immediate quit after start.

Posted: Sat Nov 21, 2015 5:39 pm
by jacque
It could be a font problem. The devices that crash may not have the right fonts installed. Does the stack specify a particular font?

Re: Apps immediate quit after start.

Posted: Sat Nov 21, 2015 6:17 pm
by FourthWorld
jacque wrote:It could be a font problem. The devices that crash may not have the right fonts installed.
Do you know if a bug report has been filed against that?

Re: Apps immediate quit after start.

Posted: Sat Nov 21, 2015 6:53 pm
by capellan
By the way, Terry,
Could you post a screenshot of your stack?
LC7Test_UbuntuLinux.png
In this way, we could verify if
chinese characters displayed
in our computers are the same
that you wrote in your stack.

Alejandro

Re: Apps immediate quit after start.

Posted: Sat Nov 21, 2015 8:54 pm
by capellan
Hi Jacque,
jacque wrote:It could be a font problem. The devices that crash may not have the right fonts installed. Does the stack specify a particular font?
Using an Hexadecimal Editor, the only font name found
in the stack is Helvetica Neue,unicode.

Content of text field is <p>&#20013;&#22830;&#25991;</p>

Alejandro

Re: Apps immediate quit after start.

Posted: Sun Nov 22, 2015 1:33 am
by terryho
Hi all,

I had file this bug, and confirmed.

I notice that it is happen for device, which using Android 5.0 or above.
In theory for device which using android under 5.0 will not have this problem.

Thanks your help.

Regards

Terry Ho