# $state.go not working on android

**URL:** <https://forum.ionicframework.com/t/state-go-not-working-on-android/5855>\
**Category:** ionic-v1\
**Created:** [June 19, 2014, 12:28am UTC](https://forum.ionicframework.com/t/state-go-not-working-on-android/5855 "2014-06-19T00:28:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnny](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@johnny](https://forum.ionicframework.com/u/johnny)\
**Post date:** [June 19, 2014, 12:28am UTC](https://forum.ionicframework.com/t/state-go-not-working-on-android/5855/1 "2014-06-19T00:28:29Z")

</div>

I have built an app that works perfectly when i run it in the browser, but when i try to test it on my android device, either using **ionic run android** or using _HockeyApp_, $state.go(‘xyz’) does not seem to work. Anyone else had this problem?

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [June 20, 2014, 1:47pm UTC](https://forum.ionicframework.com/t/state-go-not-working-on-android/5855/2 "2014-06-20T13:47:21Z")

</div>

What version of android are you testing on? Also what version of Ionic are you using? Can you do any remote debugging?

---

<div class="post-metadata">

**Author:** ![Mabdylon](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mabdylon/32/77801_2.png) [@Mabdylon](https://forum.ionicframework.com/u/Mabdylon)\
**Post date:** [April 1, 2015, 8:23pm UTC](https://forum.ionicframework.com/t/state-go-not-working-on-android/5855/3 "2015-04-01T20:23:16Z")

</div>

I’ve the same problems couple of time, it work on chrome, in remote debug via chrome, but not on my device.

Here the two solutions i’ve found :

1/ Name your url without MAJ : SuperView.html =\> super-view.html  
2/ Be sure that your url are relative : templateUrl : ‘/js/superview.html’ =\> templateUrl : ‘js/superview.html’

I hope it helps
