APK does not work with Angular js

Hey guys,

I Need your help with an Problem i eben Running through. I have made an App with Ionic 3 and Angular js. In the App i simple call a http request with Angular from a Webserver and it should Output something. When I run the app with Ionic serve or Ionic lab for example it does work fine and I get “hello world” from my Webserver But when decided to make an apk for Androids to send it to my friend, I first run into thousands of problems. Main problem was that I don’t had installed android studio. When I fixed all the errors I finale became my apk file. And i’ve Followed the steps on the Ionic documents to get this so it’s also signed and zipped. But when tried to install and execute it on an phone it doesn’t work. I mean it does start and i can see all the Ionic coded stuff but it was like the script that i build with angular was gone and it don’t displayed me “Hello World” anymore. I don’t know how to fix this. Maybe you can help me.

Here is the link to the docs I followed to get the apk:
https://ionicframework.com/docs/v1/guide/publishing.html

I really hope you can help me.

See you soon

Max

Hi, You can run ionic cordova run android with your device plugged, after that if the apk was installed you can debug your app from chrome https://developers.google.com/web/tools/chrome-devtools/remote-debugging/local-server?hl=es so you can see whats went wrong.

Btw, Ionic 3 doesn’t work with AngularJS just Ionic v1.