I am following the video that is in the documentation with which we are taught to create an app with Polymer, Cordova and PhoneGap and I have a small problem. (Jmix Community – Jmix)
I’m following all the steps, I created the emulator in Android Studio, I have everything installed, however, when I give the command “cordova emulate android”, I get a message that I have taken the emulator I want (since I have only one), but then it gives an error (attached screenshot).
Yes, it seems that now it works, so it should not have any problem in that aspect. Now I have another small problem, and that is that the project that is used in the tutorial if launched with Cuba works great, you put username and password and it works perfectly.
Now, all the same in the Android emulator tells you that the login is incorrect, and are the same credentials.
Thanks for the answer, in my case I am adding “http: // localhost: XXXX / app-front /” and it still does not work, I’ve also tried with “/ app / rest /” and nothing, something else I should do?
It’s weird, I have in Cuba the app displayed in localhost, until then I understand that everything is fine. However, I just made an “ipconfig” on my machine, I pick up the IP and I put it as it is there and still does not work. The back side, “app / rest /” is mandatory? Or simplementa was an example and in my case is “/ app-front /” ??
I’m sorry to bother you so long but it still does not work. I am testing with several options:
http: // myIP: 8080 / app / rest /
http: // myIP: 8080 / app-front /
http: // myIP: 8094 / app / rest /
http: // myIP: 8094 / app-front /
Port 8094 is where I have the application deployed in Cuba, and it keeps giving me login error every time I try it from the emulator. I do not know what else I should do.
With the Android Studio emulator it still does not work. I have connected my smartphone as you have mentioned and I am seeing the app on my mobile, however, my intention was to use the emulator, but if there is no other option I should throw it there.
Now another small problem. I have tried the app on the mobile with developer options as if it were a web site and everything was fine. But when I have uploaded the app to my PhoneGap space (end of the tutorial), I downloaded it and my screen remains blank, why does this happen?