Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open app on android 4.0.4 #928

Closed
piernik opened this issue Mar 27, 2014 · 14 comments
Closed

Can't open app on android 4.0.4 #928

piernik opened this issue Mar 27, 2014 · 14 comments
Assignees
Milestone

Comments

@piernik
Copy link

piernik commented Mar 27, 2014

Don't know weather it's cordova (3.2) issue or my device or ion but I can't open any app on android 4.0.4.
Here if forum post and test app http://forum.ionicframework.com/t/app-test-is-it-working/2327

@programming-kid
Copy link

yea i too had same issue i presume u are trying ionic seed app .??

@piernik
Copy link
Author

piernik commented Mar 27, 2014

Yes - did You find solution?

@programming-kid
Copy link

nope i just tried to create app manually and it worked , may be there is something wrong with seed app

try this http://ionicframework.com/docs/guide/ see if it works , it worked for me

@rvanbaalen
Copy link

Does this have something to do with the lib folder missing perhaps? I read in the forums that you need to execute Gulp before trying to build & compile.

@piernik
Copy link
Author

piernik commented Mar 27, 2014

But I have lib folder, I can build release apk (which is signed) and it is still not working on android 4.0.4 and is working on android 4.1 and 2.3

@programming-kid
Copy link

yea it works on emulator running 2.3 but not on device running 4.0.4 its strange when i open the app i get black screen and later app exits .

@adamdbradley
Copy link
Contributor

I'm guessing this is an Ionicons bug I've seen with Android 4.0. Try removing ionicons entirely just to test if that's the issue or not. If so I'll dig more into what's the deal w/ Ionicons and Android 4.0, thanks.

@adamdbradley
Copy link
Contributor

I was able to replicate the crash on an Android 4.0 device. After slowly taking things away I was able to narrow it down to the following scenario:

  1. Css selector with :after
  2. Contains property display: -webkit-box;
  3. Contains content property
  4. Using an icon font

If I changed any of the above then my Android 4.0 browser did not crash. My fix involves not using flexbox to vertically align the nav icon, but instead using the simplified top:50% and a negative margin half the size of the icon (luckily in this case we know the size of the icon).

In my tests I wasn't able to crash the browser like before, but there could be other scenarios which also crash an app. Could I get this group to test out the latest nightly build (build 1520 or later):
http://code.ionicframework.com/#nightly

Thanks

@piernik
Copy link
Author

piernik commented Apr 2, 2014

It works for me with nightly - great thanks.
But new issue came out - problem with virtual keyboard: #1020

@programming-kid
Copy link

works for me , actually it was working for me before too only things which was not working was ionic-seed ,

@oori
Copy link
Contributor

oori commented Apr 2, 2014

@adamdbradley Nightly solved it on 4.0.4 here, thanks! But as @piernik said - it introduced the keyboard issue.

@adamdbradley
Copy link
Contributor

Closing this issue, and issue #1020 was recently closed too.

@ak5
Copy link

ak5 commented Apr 22, 2014

Not sure how related this is, but I cannot open the sample app after running the scaffolded sample app on Android 4.0.4

ionic start myApp sidemenu

After that I added the android platform and ran it. The phone screen turns black, and exits after about 7 secs back to the phones home screen. I do not see anything except black during this time.

Funnily enough, ionic start myApp tabs works just fine.

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 6, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants