I have developed an Android app and it's ready for launching , now i wanted to test it on different possible devices ,but unfortunately i can't afford all the devices physically and I can't download emulators for all the Android devices , is there any way to test my app in different Android devices and see how they work on that device's
Thanks for your time and help.
Use Genymotion, it is very light and clean, better than AVD (Android Virtual Device)
it's the android studio should be able to test almost every screen size you can also try testing on android emulators like bluestacks and others they'll help
Related
I am trying to test on two different Android devices as a set first, then Android plus Apple devices set next, while running the test scenario code from my Mac PC with an Appium framework at the same time. Will this work ? Will this splitter device be useful ?
If you have multiple devices connected, you can go to the devices drop down in Android Studio and, click "Select Multiple Devices...", then select the devices you'd like to run simultaneously. That device, should allow you to have multiple devices connected at once, as any 1-to-many USB splitter would.
(Android Studio Chipmunk | 2021.2.1 Patch 2)
I purchased the device and tried connecting two android devices, which have the application under test already installed, and then when I started the app from with in the IDE while giving both the device configuration given in the testNG.xml file, an error came up saying some session could not be started. I could not figure out what is the real reason.
As I could not run it with two devices, I am believing, it could not be done.
If any one could suggest an answer, it is most welcome
I am trying to learn android on a dell device having 4gb ram and intel pentium chipset. I am trying to run hello world app on a emulator but it actually take much time(more than 5 minutes) to start the process and at the end give error message "Error while waiting for device: Timed out after 300seconds waiting for emulator to come online". As far as testing on device is considered i find it fast and easy.
So my question is that possible to always test an app on real device and skipping the testing on an emulator.
Also suggest me some tips to make my android studio run faster.
.
Its always better to test on a real device. Its very fast especially when debugging. If your emulator is taking long to load imagine a situation where you are trying to debug and want to check the app's behaviour after each change in code. Just install the usb drivers and sdk tool that your device's api version is running on
Sure it is!
First of all, enable the developer mode in your device (if it's not enabled already). Info for doing this here.
Then just plug your device via USB and it will appear when you run your project in Android Studio.
NOTE: The first time you attempt to run the project, your phone will ask for permissions, make sure you allow it!
It will be good if we are testing the application in real device rather than emulator if you have the device. But we can't buy different density, different dimension, different android version devices for testing so for that purpose we need to use emulator.
To improve the speed of android emulator install HAXM in your system, it will speed up the emulators.
OK so I am trying out Genymotion for testing my app, so that I can reproduce the errors that my users are telling me they experience with my app, which leads me to fixing the issues. I guess that is the main reason for using Genymotion.
Real life example:
A guy says: "I'm using a Moto X (2013) on Android 5.1.1 and I can't do X with your app.
Me: Looks at Genymotions list of virtual devices and can't find neither the brand of phone nor the android system. I can only find android 5.1.0.
Does this mean that I Genymotion just doesn't have what I need, or is it because one of the other options are just as good? I really don't know. What am I missing?
Any help would be appreciated.
Brian
An emulator, be it the default android emulator or Genymotion or any other emulator will not be able to replicate a real physical device to the complete extent.
The devices available on Genymotion are just templates to recreate the device with values such as RAM, Screen size etc. You could try creating a custom device by using the values for Moto X.
One possible idea would be to get the stacktrace from your friend and see what's going on. The best way to do that would be to integrate crash reporting system like Crashyltics. You will automatically get crash reports in your fabric dashboard.
Ive written an app and had the build target set as Gingerbread. Ive followed the beginning android games book and so the opengles ive used is v1.0. Ive not written any specific features that need v2.3 or up. The min sdk is v7 and the target is 10. THe app runs perfectly on my gingerbread phone and ICS tablet. It runs fine on the 2.1 and 2.2 emulator. But on on a 2.2 device(a motorola). THe app installs fine but hangs on a white screen?
Any ideas?
thanks
Enable USB debugging on your phone then run your app on your phone instead of the emulator. and see what errors come up on the cat log
I found the problem. I thought i had my texture dimensions at power of two values. But I didnt. Rescaled and it works fine
I have created an application its working fine on HTC Wildfire but one of my application user having HTC Thunderbolt has reported that it is generating Application Force Close dialog.
As i don't have real device and i want to sort out the issue, i want to know is there any emulator available for HTC Thunderbolt so that i can test my application on it?
Hardware related bugs can't be tested with the emulator. So the answer is no, there is no such thing.
If the two phones have different Android versions and that is the source of the error then you can find the error with an emulator
An emulator won't help much to fix a problem with a specific device.
First of all you should acquire a stacktrace from the user using the Android Market or an EMail intent.
After that you can try to reproduce the problem using a service like http://www.deviceanywhere.com/ for example.