Android - Standalone emulators for testing apps - android

I know that Android studio comes with an Emulator for testing apps. but this Emulator is too damn slow and never runs on my machine.
so i was checking for alternatives like if at all there is a standalone emulator which i can install on my system and upload my APKs and test. It is good if this emulator tool kit also shows the logs.
I just want something to test my Apps without the Emulator that comes with Android SDK.
While i was browsing SO i bumped into this here check for the comment that Paul Ratazzi has written, (second comment) this one is a paid solution so i did not dig into it much.

Genymotion is free for individuals. So you can use it unless its commercials and better than Emulators.

Related

Can Genymotion used with Katalon

Currently we are using Android emulator by Android Studio along with Katalon. Most of the time the app crashes. We are looking to buy Genymotion but before that we want to make sure it works with Katalon. When I googled it, I saw a old post on 2018 that Katalon won't support Genymotion. What about now?
I haven't tried Katalon Studio yet, but Genymotion Desktop virtual devices usually show up as real devices to other tools. So it should work.
The easiest way to make sure it works for you is to give a try. For the best performances, you can download the latest beta from https://www.genymotion.com/download-beta/.

Stand alone Android emulator

I'm building a sandbox for testing Android applications and I need to isolate the emulator from the sdk as I wish to reduce the size of the tool as much as possible. I've been searching around for a stand-alone version of the emulator which can be put pre-configured and run without sdk. The important part is that I need adb to work mandatorily.
Where can I find a stand-alone Android emulator (even better if headless) ? Is there any other solution to this ?

Fast Deployment of App to Android Emulator Always Fails

I am attempting to Use Fast Deployment to quickly test my Android App in the emulator. I am doing this because, as you probably know, building and testing an app on the emulator is incredibly slow and quite frustrating so I need to speed this up.
PS: If you have any advice on how you can deploy and run an app on an emulator in under 30 seconds I'd greatly appreciate it. My app is tiny and simple so it shouldn't take bloody 1.5 mins to run on the emulator?
The deployment is failing and giving me the error:
Xamarin.AndroidTools.AndroidDeploymentException:
FastDevDirectoryCreationFailed at
Xamarin.AndroidTools.AndroidDeploySession.WaitForRemoteDirCreation(String
destinationPath, CancellationToken token) at
Xamarin.AndroidTools.AndroidDeploySession.InstallAssemblies(String
destinationPath, CancellationToken token) at
Xamarin.AndroidTools.AndroidDeploySession.FastDev(Boolean useExternal)
at Xamarin.AndroidTools.AndroidDeploySession.Run(CancellationToken
token) at
Xamarin.AndroidTools.AndroidDeploySession.RunLogged(CancellationToken
token) at
Xamarin.AndroidTools.AndroidDeploySession.Start(CancellationToken
token)
How I can fix this error? And successfully Use Fast Deployment and deploy it to the emulator? How you speed up Android emulator deployment and testing?
Relevant information:
On Windows 8.1 Surface Pro 2 (4gb ram)
Using VS2013 Professional
The Android emulator is a Nexus (API 21) CPU = Intel ATOM x86. I am using this because Xamarin suggests this to speed up deployment.
The project uses Xamarin and MVVM Cross
If I deploy to a different emulator using Use Fast Deployment I get no deployment error but when the app runs it crashes immediately with: Unfortunately 'app' has stopped
Though I don't know what fast deployment is, I can however suggest a very fast emulator - Genymotion. I use it for my app and it deploys in under 10 seconds. Below is the link. https://www.genymotion.com/
A few quick points, the document recommends using the Xamarin Android Player, so I would recommend using that too. If you don't really need to use a simulator, then deploying to device is also nice and quick too. That said, this scenario should work, is it possible to send over some more details on your issue to contact#xamarin.com and someone should be able to help (and mention I sent your issue this way?
If Genymotion doesnt work for you try Andy emulator. If both are still too slow for you try using xamarin studio with genymotion
Visual Studio Emulator for Android
also works very well. It uses hyper-V, so no need to install VirtualBox like GenyM, which can cause conflicts with hyper-V if you're doing windows developement at the same time.
For me, this error just randomly started appearing when trying to build from Visual Studio. It seems like something was wrong with the phone.
I cleared the phone's cache and I was able to install the app through Visual Studio again. To clear a phone's cache, you usually need to turn it off and then turn it back on in "Recovery booting". Usually this means holding some combination of volume button/power button/main button. Once booted in this mode, you should be able to see a "clear cache" option and then restart.

It's 2012, are people still using Eclipse for Android? What about emulators?

I know the IDE question has been asked before, but I'm hoping there are new IDEs/options available to developers. Eclipse is too slow/unstable, even with my 8 GB of RAM.
Also, do we have any other options for emulators? The Android emulators, aside from being slow, I find is not a real world simulator of an Android device.
This is my first post on Stack Overflow, and hopefully by opening up older questions I haven't broken any of the rules.
I have 4GB on Windows 7 x64, AMD PhenomX2 and Eclipse it is not slow. I would suggest modifying eclipse.ini to give more RAM memory to eclipse :
-Xms512m
-Xmx768m
-XX:MaxPermSize=768m
You could also have a look at this blog post : Eclipse and memory settings.
As for the AVD, the emulators run better than before, but still if you want to simulate an 3.1+ Platform Device, you'll be in serious problems, since it is very slow. So as you said, it's 2012, you should probably test on some real devices.
There are other IDEs and emulator solutions out there.
For IDE Check : http://www.jetbrains.com/idea/
Other Emulation Option : http://www.android-x86.org/
By the way, I use eclipse and AVDs! :)
I'm hoping there are new IDEs/options available to developers
Nobody is forcing you to use an IDE. I wrote three books on Android application development using a plain ol' text editor and the command line. The only reason I use Eclipse now is because it's drag-and-drop GUI building support now makes it so compelling to developers that I feel I have to cover Eclipse more in my books.
Also, do we have any other options for emulators? The Android emulators, aside from being slow, I find is not a real world simulator of an Android device.
The closer you get to hardware, the more the emulator will behave like an emulator. Outside of that, it is as "real world" as you are going to get. For things where the emulator is insufficiently "real world" or is too slow (e.g., tablets, video playback), test using an Android device. All devices that legitimately have the Android Market on them are capable of serving as app development test devices.
Its true that eclipse is very slow and unstable but I still work on eclipse due to its Drag and drop design support. If you don't need that feature then go for IntelliJ IDE, It was the first IDE that I used for android development and is really better than eclipse in terms of stability, debugging and launching emulator.
As of the emulators, there are many new emulators available like Youwave, BlueStacks etc. but still you have to stick to android sdk emulator as it can be easily integrated with development and debugging.
Eclipse is probably the most used IDE by developers.
By providing Android plugins for Eclipse you don't have to ask developers to learn how to use a new environment (key bindings, windows, perspectives, buttons, ...).
I'm pretty happy to develop Android applications using the same IDE I use for other Java, C and C++ projects.
Regarding performances issues, I use it on Ubuntu and with 4GB ram and an i5 processor I don't find it slow or sluggish.
A 'vanilla' Eclipse install with Android Development Tools runs fine for me (I run it on an i5 with 4GB of ram and also on Core Duo2 with 8GB of ram).
You can also use a simple text editor for your Android projects if you want, or IntelliJ Idea community edition which is free and comes with Android support.
The problem with Eclipse (for me) is the number of plugins you've installed, if you just keep it down to the basics (java, c++) it works quite fast, some plugins are just CPU HOGS (FlashBuilder, STS ...)
I'm a happy user of Eclipse on Mac and have been developing for Android for years now. Prior to that I was doing JSP/JAVA in Eclipse using the built in support for Tomcat - awesome stuff.
It's priceless that one IDE can help you do WEB, Dynamic WEB (JSP/JAVA), Mobile development (Android) all with the same UI. No need to learn new stuff - how can you go wrong with that!!
Android Studio by Google. Is much better than Eclipse. It makes life easy and improves speed beyond your imaginations.

An Alternative to the Android-Emulator?

I know I could use my Desire Z as a test phone, but what if I want to develop for 3.0 Honeycomb? What's an alternative for the emulator since it's so slow?
http://www.bluestacks.com/
This site has been getting some press recently. It seems that they are going to launch a windows runnable version of android later this year. This will be another alternative to using devices or emulators for testing I would imagine.
A general solution to the slowness of processor-emulation based emulators is to run a build of the embedded environment compiled for the same processor and general architecture as the hosting machine, in virtual machine software which can run most of the code native, and only has to trap and emulate privileged/hardware-related actions.
In other words, you run the x86 build of android in VirtualBox, vmware, or whatever, and dispense with the overhead of emulating an arm processor.
In quick web searching I'm not getting a confident answer if there's a working build of Honeycomb for x86 yet, but presumably there will be a build of that or a later android version at some point.
The only alternative is to have a physical device with Android 3.0 imaged on it.
Try this one for a change it actually provides an eclipse plugin and it uses cloud i guess it is faster than the emulator comes with android by default http://www.genymotion.com/features/

Categories

Resources