Android App deployed on Genymotion - Not logging in - android

I am trying to test my app on genymotion and am using parse as a backend.
Whenever I try to login, android displays an error: Unfortunately, the app has stopped working.
The same happens with virtualbox.
However, if I use the emulator, it works and login also works on Kindle fire jelly bean.
Any ideas on what could be wrong?
PS - If I use the internet, it works on both virtual box and genymotion.

You should add the logcat to help better. If you use google play services, you must install this in your genymotion.
You can try this:
How do you install Google frameworks (Play, Accounts, etc) on a Genymotion virtual device?

download Genymotion from this link https://cloud.genymotion.com/page/launchpad/download/ and register on site then login through your id and password...

Related

Installing PhoneGap Developer App on a virtual device

I cannot find PhoneGap Developer App on any virtual device (I checked on standard Android Studio virtual device and Genymotion), its just not listed if I search for it in Google Play, I can only see PhoneGap Demo App. I know I can test from browser on virtual android, but I am finding some plugins not working correctly in browser (like navigator.geolocation.getCurrentPosition works fine in PhoneGap Deveoper App but complains about non secure cinnection when run in browser (http://PhoneGapDesktop:3000)
Thanks
The simplest way is to download PhoneGap Developer App apk to your PC and drag it to emulator.
It will automatically install the desired app to your emulator.
Please note that since this is obviously for educational purpouse, you should first understand and legally evaluate the terms of use of PhoneGap Developer App.

How to install skype in Android Emulator?

I am new to android app development. I want to create an intent to launch Skype. In order to test this, I assume that the emulator must have Skype already installed.
I tried to launch the play store on the emulator to get the Skype App. But the Google Playstore, when launched on emulator it complains that there is no wifi or data connection.
How can I get the emulator to connect to the host wifi(Wifi which the laptop is connected to?)?
Is there a another way to get Skype app on emulator without playstore?
Thank you
Assuming that you're using the latest Android Studio and Emulator, you could get the Skype application APK file from other sites and drag it onto the emulator for it install the application.
However I do suggest as #CommonsWare stated, use a physical Android Device instead of an emulator as some (probably most) apps won't work correctly due to Google Play Services being missing. You could try the images in the Android SDK that contain part of the Google Play Services within them, it's worth a shot but not something to rely on for the long run.

Can Firebase work on Genymotion Emulator?

hi there I just want to know if my android app constructed using firebase for authentication , can only work on physical devices or there is no problem with genymotion emulator.
No problem at all. Just follow this FAQ to install OpenGapps on the device:
https://www.genymotion.com/help/desktop/faq/#google-play-services

Genymotion and Amazon Register

Can anyone with Genymotion installed please download and check if the Amazon Register app will run.
It gives an error about the device being modified/jailbroken and won't start in BlueStacks.
Please let me know if the app runs in Genymotion. https://play.google.com/store/apps/details?id=com.amazon.localregister.android&hl=en
Anyone know any alternatives that can run the app?
Payment apps like Amazon Register and Android Pay will not run on rooted or modified devices for obvious security reasons. Both BlueStacks and Genymotion fall into this category.
Just to be sure, and since you asked, I tried to install Register into a Genymotion VM running the "Google Nexus 5 - 5.1.0 - API 22 - 1080x1920" image with Google Play Services installed. Installation is fine, but running it gives the same result you describe for BlueStacks. FWIW, my rooted HTC One (M7) running AICP 10 does the same thing as well.
To overcome this, you might try something like Xposed RootCloak. There are folks reporting that they got Register working using this, but I didn't in my brief experimentation.
UPDATE: I can personally attest to the fact that Amazon Register will run on a RootCloaked device (HTC mentioned above). When I get a chance, I will try the same in a Genymotion VM.

Application working on emulator but not working on actual device

I am testing facebook Single-Sign-On application.
I am using android platform 2.2 and api level 8. I have similarly created emulator with the same configuration. It is working fine in emulator. But when i test it on actual device that is HTC Desire HD ver 2.2 froyo updated. It opens up a dialog with facebook as title and shows loading screen then disappears.
I am unable to understand the reason for such behavior.
Please help me on this.
Regards,
Pankaj
You need to get the debug on device working and see the error that appears in LogCat.You can find instructions oh how to use debug on device here
You can plug in your device using the usb cable (making sure usb debugging is on in the options).
then debug your application and you will see what the cause is in the debugging console.
I suspect tho your problem is to do with how you are transferring the apk file to the phone (it needs to be signed for facebook SSO to work and you need to have set the key correctly in your facebook app).
See here for more information:
http://www.juje.me/2011/04/export-the-signature-of-your-android-app-for-facebook-api-use/

Categories

Resources