# Blank Screen While running app on emulator or device

**URL:** <https://forum.ionicframework.com/t/blank-screen-while-running-app-on-emulator-or-device/19901>\
**Category:** ionic-v1\
**Created:** [March 28, 2015, 10:37am UTC](https://forum.ionicframework.com/t/blank-screen-while-running-app-on-emulator-or-device/19901 "2015-03-28T10:37:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![arunmettle](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@arunmettle](https://forum.ionicframework.com/u/arunmettle)\
**Post date:** [March 28, 2015, 10:37am UTC](https://forum.ionicframework.com/t/blank-screen-while-running-app-on-emulator-or-device/19901/1 "2015-03-28T10:37:34Z")

</div>

My app runs smoothly on web page but when installed on emulator or android device, it appears to be blank.

Please help me out… 😪

---

<div class="post-metadata">

**Author:** ![joyhom](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@joyhom](https://forum.ionicframework.com/u/joyhom)\
**Post date:** [April 7, 2015, 4:48pm UTC](https://forum.ionicframework.com/t/blank-screen-while-running-app-on-emulator-or-device/19901/2 "2015-04-07T16:48:58Z")

</div>

I am encountering the same problem, but only on the device (not emulator).

With the latest CLI if I run with livereload it works but not without livereload

The following works for me on the device.

ionic run ios --device -l

If I do the following, I get a blank white screen on launching

ionic run ios --device

---

<div class="post-metadata">

**Author:** ![jnahum](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jnahum](https://forum.ionicframework.com/u/jnahum)\
**Post date:** [July 18, 2015, 5:13pm UTC](https://forum.ionicframework.com/t/blank-screen-while-running-app-on-emulator-or-device/19901/3 "2015-07-18T17:13:45Z")

</div>

I’m having the same issue! I could really use some help on this.  
Blank screen when I do ionic run ios, or run the .xcodeproject file  
But it works just fine whenever i do ionic run ios -l or ionic serve

Thanks!

---

<div class="post-metadata">

**Author:** ![moemanchu](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/moemanchu/32/90811_2.png) [@moemanchu](https://forum.ionicframework.com/u/moemanchu)\
**Post date:** [August 16, 2015, 2:42pm UTC](https://forum.ionicframework.com/t/blank-screen-while-running-app-on-emulator-or-device/19901/4 "2015-08-16T14:42:09Z")

</div>

Having the same issue, app works with ionic run ios -l, but doesn’t run without it

---

<div class="post-metadata">

**Author:** ![noor\_mohiuddin](https://avatars.discourse-cdn.com/v4/letter/n/76d3ee/32.png) [@noor\_mohiuddin](https://forum.ionicframework.com/u/noor_mohiuddin)\
**Post date:** [September 15, 2015, 3:31pm UTC](https://forum.ionicframework.com/t/blank-screen-while-running-app-on-emulator-or-device/19901/5 "2015-09-15T15:31:39Z")

</div>

I had the same problem. Turned out that the directive definitions that I was using had a leading slash in the URL. i.e. instead of

```
.directive("login", function (){
		return {
		restrict: 'E',
		templateUrl : '/templates/login.html'
	};
});

```

I needed remove the trailing slash:

```
.directive("login", function (){
		return {
		restrict: 'E',
		templateUrl : 'templates/login.html'
	};
})

```

For other people, fixing their src import links solved the problem.

Its odd that the application works with livereload regardless, though.
