android - AngularJS, PhoneGap, ionic, grunt difference between web and mobile -
okay not sure what's going on...
i build simple app using: "angularjs, phonegap, ionic, grunt"...
after grunt:dist or grunt serve see nicely working in browser
but
when try run grunt ripple or grunt build + phonegap build android + phonegap run android able see ionic header , no content... idea possible wrong? because have no idea causing it.
is there need take care when switching mobile? or ?
the console clean well:
→ adb logcat | grep -i console i/web console(28936): falling on prompt mode since _cordovanative missing. expected android 3.2 , lower only.:966
ahhhhhhhhhhh found answer!!!
as eduardo mentioned there problem slash @ beginning of template path.
it should be:
templateurl: "scripts/src/landingpage/views/home.html",
maybe find useful.
for more detailed explanation checkout eduardo's answer.
Comments
Post a Comment