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

White page when deploying to device #484

Closed
Pimnr47 opened this issue Apr 14, 2018 · 3 comments
Closed

White page when deploying to device #484

Pimnr47 opened this issue Apr 14, 2018 · 3 comments

Comments

@Pimnr47
Copy link

Pimnr47 commented Apr 14, 2018

Hello,

I am following the documentation and I've created a new ember app, and ran corber init after that. ember server shows the ember welcome page neatly in my browser. However, when I run:

corber build --platform=android --environment=production
and then
corber proxy run android --device --nobuild

with my device connected and usb debugging enabled, it starts up the app, but it only shows a blank page.

The whole project and setup is vanilla, plainly followed the documentation. Surely something is wrong here?

I am using an Android 4.1.2 phone.

@harmvandeven
Copy link

@Pimnr47, I believe we both fell for the same small issue (yes, it caused me a couple of hours, and I needed the help of a friend to fix this). When in Ember you build for production the default Ember welcome page is not rendered. When I placed some random text in my application.hbs it appears my page is not blank at all....

@Pimnr47
Copy link
Author

Pimnr47 commented Apr 17, 2018 via email

@Pimnr47
Copy link
Author

Pimnr47 commented Apr 17, 2018

Omg, I am an idiot. It works now. I think I haven't been building the app correctly (wrong java versions, etc.) and I changed to an Android emulator running android 6 instead of my old Android phone device.

@Pimnr47 Pimnr47 closed this as completed Apr 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants