I was programming in Android Studio on Windows using an Intel Processor for about 1,5 years. Due to my switch to AMD Ryzen, i'm not able to run a virtual device on Windows cause of it's need of Intel HAXM. That's why I switched to Linux, more accurate to Ubuntu 16.4.
I spent a lot of time searching for answers, assured myself to have KVW running, installed the latest Java version (which was quite difficult for a Linux beginner) and Android Studio is working fine, however I'm not able to run a virtual device. The gradle build finishes quite fast, however the Virtual Device won't come online.
Does anyone have the same problem and knows how to solve it?
Thanks in advance!
Related
"Cannot launch AVD in emulator.
Output:
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!"
I can't use a virtual device because of this. Yes, I installed the Accelerator from the Manager and even went into my app data and ran the intelhax.exe program, but there I found ANOTHER error telling me that my computer couldn't handle something about Intel.
I need help with this, and I can't start making apps until I get passed this block.
You need to open Android SDK Manager and download HAXM package from Extras
In order to use HAXM (including the x86 targets) you will need to have the additional functionality available from a product that only runs on Intel processors. You must have an Intel processor in your computer, then will need to install additional tools (including a driver) on your machine.
Your first problem was not having the additional drivers installed, your second problem, is that you can't install them because you don't have a compatible Intel processor.
You don't need to use HAXM to run the emulator (although it IS much faster). When creating a new AVD, target the "arm" system images, instead of the "x86" ones.
Another alternative is to download and use the Genymotion product which is a 3rd party emulator, and works well.
I'm working with LibGDX 1.5.6 on Windows and had successfully exported my app to Desktop, Android and HTML5.
But..
Assuming that I had previously selected the iOS project when creating the Gradle projects in the libGDX setup. And that I have a registered Device, Developer License and Provisioning Certificates for iOS development.
Is there a way to export my app to iOS, working on Windows?
Since Robovm depends on XCode to be installed I don't think it would be possible to deploy to iOS within Windows.
See the prerequisites from the official libgdx documentation here.
However, I was able to do it by running a virtual machine with Mac OS X, but my experience with it was not very pleasant, it runs very slow, specially if you use the iOS simulator. You will need a machine with a lot of RAM (8 RAM minimum). So I ended up buying a Mac Mini.
I used to use VMWare Workstation for emulation, but I had to download patches to make it work on the latest OS X version since it is not supported officially. It is a little hard to find any Mac OS X images to install on a virtual machine. I do not have any links to OS X images since that was quite a while ago, but you might be able to find some.
I am very enthusiastic in learning and developing android applications using the native java language. Sadly my emulator is not running at all. It ran once but it was very very very slow. I am using Eclipse and the Android ADT bundle.
If it is a hardware thing here then please see my specs below. As far as I'm concerned, these are pretty decent specs for a laptop for developing apps.
Can anyone shed some light on why the emulator is unable to run properly? I really would like to start developing apps as soon as I can.
You can try three things:
Check whether your processor supports Intel HAXM. This will make the
emulator as fast as real device.
Try GenyMotion.
Alternatively, consider developing on Linux. The Linux kernel contains a module called kvm that is the equivalent of the Intel HAXM driver on Windows. The emulator is blazing fast on Linux with any kind of processor.
References:
1. Why is the Android emulator so slow?.
2. Speed up your Android Emulator!.
3. 8 Tips to Speed Up Your Android ARM Emulator.
4. How to speed up the Android Emulator by up to 400%.
The stock emulator is very slow. I had the same issue currently I am using Genymotion emulator which is way to better than the emulator that is packaged with the SDK.
here the download link:
https://www.genymotion.com/#!/download
Though it does not have all the features available for free
I recently installed the Bluestacks Android emulator. I happened to look at the process running under ProcessExplorer and was surprised to see that it is a .NET application.
The HD-Frontend.exe is the Bluestacks UI process and is highlighted yellow because it has loaded the .NET framework. There are a number of other processes associated with Bluestacks and most are also .NET.
Opening the EXE in Reflector.NET also shows that it is .NET.
I thought Android was Java-based. What's going on here?
Android is Java-based, but that does not mean an Android emulator has to be written in Java -- just functionally emulate Android devices.
While BlueStack's site does not list any system requirements for its emulator that I could find, at least a couple sites -- e.g. Bazooka Apps and Android Emulator for PC -- mention .NET as a requirement.
Ultimately the proof of what's going on is right in the process list and Reflector results you found.
its an emulation tool whose job is to read the dex code respond to that how the android phone should respond and not to compile and run that dex so it could be on python or ruby also there is no boundation at all that you have to make android emulator on java becuase android is built upon java.
our requirement is to implement USB file transfer from PC to android phone. I have search for 10 days and used JUSb and jan libraries but nothing worked right for me. so i am just confused that should i implement this or quite to implement. does anybody have any idea on this how i can proceed further. i konw there is default USB mass storage is available where we are doing the same thing but here my manager requires his own implementation. this can be possible but it requires lots of research and mainly TIME which we dont have much more. i need to take seriouse decision today itself to move further or not.
As of my testing in 2012 with 4.0.3, USB file transfer to and from Android device works only under Windows 7 but not on XP and not on Ubuntu. This is because Android does not longer act as mass storage device; it uses MTP protocol instead and the support for this protocol is now required.
Windows 7 has not exactly native support but can download and install driver through Windows update.
While Ubuntu (10.04 LTS) seems providing some MTP-named packages, they seem not finished till the end in my version. Even with command line tools, I was only able to get a list of files from device but seems very slow and unstable. Big shame ...
Update: as of 2013, something was probably changed in Windows XP update servers as that machine unexpectedly found and downloaded the MTP driver - so now can be used to access the phone.