the android virtual emulator is too slow :( - IDEs, Libraries, & Programming Tools

Hi
I'm starting to programm android's app , I'm attending a course and in this course the professor recomment us to install the JDK version 6 . On the oracle's site I have seen that there is JDK version 7.
I have read that there are incompatibilities between Android platform and JDK 7, is still true ?
Thanks to all
EDIT :
I'm back , because I've problem with the emulator..
I downloaded the ADT BUNDLE for 64bit, I unzipped the file and a Try to use it . At the beginning I had no problems, but when I try to use the emulator the first problems appeared : the emulator is too slow .. :/
My notebook has :
intel core i5
4gb ram
hard disk 5400rpm :/
window 8
What can I do for speed up the emulator ? I read of HAXM on intel forum, can it resolve my problem ?
thanks

aeroxr1 said:
Hi
I'm starting to programm android's app , I'm attending a course and in this course the professor recomment us to install the JDK version 6 . On the oracle's site I have seen that there is JDK version 7.
I have read that there are incompatibilities between Android platform and JDK 7, is still true ?
Thanks to all
Click to expand...
Click to collapse
You need to install JDK 6 for Android app development ..
You can download the JDK here : http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html

niranjan94 said:
You need to install JDK 6 for Android app development ..
You can download the JDK here : http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html
Click to expand...
Click to collapse
mmm ok,
I asked because on my pc I have installed jdk 7 ,but then I will install the previous version
Thanks

aeroxr1 said:
mmm ok,
I asked because on my pc I have installed jdk 7 ,but then I will install the previous version
Thanks
Click to expand...
Click to collapse
Your welcome .. All the best for you development ! :good: :good:

I'm back , because I've problem with the emulator..
I downloaded the ADT BUNDLE for 64bit, I unzipped the file and a Try to use it . At the beginning I had no problems, but when I try to use the emulator the first problems appeared : the emulator is too slow .. :/
My notebook has :
intel core i5
4gb ram
hard disk 5400rpm :/
window 8
What can I do for speed up the emulator ? I read of HAXM on intel forum, can it resolve my problem ?
The bottle neck is the ram ? 4gb ram is not enough for the emulator 64bit on window 8 ?
thanks

aeroxr1 said:
I'm back , because I've problem with the emulator..
I downloaded the ADT BUNDLE for 64bit, I unzipped the file and a Try to use it . At the beginning I had no problems, but when I try to use the emulator the first problems appeared : the emulator is too slow .. :/
My notebook has :
intel core i5
4gb ram
hard disk 5400rpm :/
window 8
What can I do for speed up the emulator ? I read of HAXM on intel forum, can it resolve my problem ?
The bottle neck is the ram ? 4gb ram is not enough for the emulator 64bit on window 8 ?
thanks
Click to expand...
Click to collapse
4Gbytes will do ok, but there will be times when you'll have to economize on the simultaneous running applications.
The emulator is what it is. Some of the system images are buggy, worse than others. I have 4.1.2 images that perform reasonably well, with OpenGL ES 2.
HAXM is a way of running the x86 system images in Windows (there's another means of doing that within Linux). This is sometimes significant because not all application development is able to target x86 builds of Android. If you're sticking to Java, though, it should be no problem, and yes, the x86 images are much faster.
You don't have enough RAM for genymotion and development - though with a tight squeeze that might work. Genymotion uses Virtual Box to run Android inside a VM. It's an x86 build - may be SLIGHTLY better than the x86 emulator images, but I've not had a problem with the emulator generally.
All that said, you really need to consider a device. There's nothing quite like debugging on a real device. Used Kindle Fire first generation makes a good purchase (it will be used). The hardware is fairly standard - not impressive. However, it's 2.3.3 Android is great for low end target testing (as in, compatible with early devices). Further, there are custom ROM builds for the device (and it's not locked), so you can install Android 4.4 on it - test as if it were a brand new device with the latest OS.
Many would likely frown at a Kindle, but frankly it's a good overall device for debugging at the likely price point you'll find. You'll need to purchase a USB cable for it, but otherwise its a good solution.

Yes I have a galaxy nexus and with it I haven't any problems , but the virtual emulator is also slow to start ... boh !
maybe is 4.4 image fault !

A Galaxy Nexus should be nice dev phone. I'm using devices for practically all my development, and only use the emulator for testing compatibilty with other OS versions. Not only is working with a device quick, but it also allows you to judge what your app 'feels' like on an actual device, which is something that tends to be overlooked easily in the whole emulator/device debate.

Wouldn't you need a multitude of devices to test on? Isn't there a possibility that what might work on Galaxy Note 3 for example may not work for all devices.

Check out Jar of Beans on the forums here
I built a performanced enhanced version of the Jar of Beans application (which is an improved Android emulator) that completely loads the Android virtual machine and associated binary files into a dedicated RAM disk on my Windows 7 64Bit dev machine running 4GB of RAM and Core Duo Quadcore.
All I can say is that performance is out of this world! Will wooop the arse off any phone I know of lol
Anyway, just a suggestion...try it out. If you are any good with AutoIT code I can share you my sources for additional performance boosting you r Android avd

I use genymotion as a device emulator. I highly recommend it. Very easy to setup and works great with Eclipse IDE.
Sent from my SM-N900 using xda app-developers app

Since you have a newer Intel chip it should come with HAXM support. After setting up HAXM you need download the x86 emulator images. Creating an AVD with an x86 image and HAXM setup properly should make the emulator run faster than an actual phone. Just search the android developer pages on how to set it up based on your dev enviroment. There are drivers that can be installed through the SDK manager in the extra section if you're using windows.

mrsegev said:
I use genymotion as a device emulator. I highly recommend it. Very easy to setup and works great with Eclipse IDE.
Sent from my SM-N900 using xda app-developers app
Click to expand...
Click to collapse
+1, the intel HAXM is better than the default ARM-7 emulator, but the Genymotion is the fastest one I've tried.
Genemotion > Intel HaxM > Arm-7
I was getting a lot of stuttering and frame drops using the HAXM, but with Genemotion, completely smooth and fast on my i5 with 6GB. There's plug-ins for use with Android Studio.

Genymotion is the best emulator, work perfectly
Wysłane z mojego iPad przez Tapatalk

Use bluestacks
aeroxr1 said:
Hi
I'm starting to programm android's app , I'm attending a course and in this course the professor recomment us to install the JDK version 6 . On the oracle's site I have seen that there is JDK version 7.
I have read that there are incompatibilities between Android platform and JDK 7, is still true ?
Thanks to all
EDIT :
I'm back , because I've problem with the emulator..
I downloaded the ADT BUNDLE for 64bit, I unzipped the file and a Try to use it . At the beginning I had no problems, but when I try to use the emulator the first problems appeared : the emulator is too slow .. :/
My notebook has :
intel core i5
4gb ram
hard disk 5400rpm :/
window 8
What can I do for speed up the emulator ? I read of HAXM on intel forum, can it resolve my problem ?
thanks
Click to expand...
Click to collapse
we all know that the emulator is very laggy,thats why i use blue stacks for testing apps !

Emu help
man you can use Bluestacks app player .. its so fast and secondly if you have an android phone you can use usb debugging !
The only thing is that if you want to check your apps on different devices you have to have the standard provided emulator !!

Use genymotion only.
I have never seen people using Android emulator now days.It is very slow.
Instead go for Genymotion as it is virtual box based solution and works very fast.Sometime faster than device
I have been using it on my windows machine , some times it crashes when high resolution device image is created. But I guess it is not very frequent.So save your time using Genymotion.
Thanks,

The original emulator is painfully slow, try using BlueStacks.

Related

Linux on HTC?

Hi there!
I was just wondering if anyone got linux up and running on one of this phones (especially I'm interested in the s730). Some kind of openmoko on a HTC would just be really great
So anyone - any information?
thx
Ali
EDIT:
I think, it should be possible, cause Android seems to run (better: is designed to run) on Qualcomm MSM7k series...
nothing? nobody?
[bump]
There is a thread here about running win95 using bochs. I want to try to run DSL on bochs the problem is that i cannot find the wince version of the emu. If that is successfull i am looking at building a small gentoo system using matchbox as the window manager. Unless i can find a wince port for gtk that is
look up the WIKI and u will find all your answers
@cornelha:
bochs isn't the best solution when it goes down to linux. I think using the right compiled kernel (for arm9/11) would do it...
@ather90:
thanks
will look into that

Google's Android on Magician !

Hi all,
Just read an artice on the hack of Google's impressive Android mobile OS. Hackers have used files from the emulator and installed the OS on some Linux phones. I was just thinking that there was a post on this forum saying that Linux could be Installed on Magician. Also Android uses Linux's kernal. So why not give Android a try. Would be great to use the new Android on Magician.
Any clues on how to proceed with the Installation ?
Is it really? I listen about porting on only Linux-PDA but Magican isn't Linux-PDA.
Of course, Android can run on the Magician, BUT never forget that you need drivers for the device - even for Linux!
And that's the problem: if you don't have any information about the chipset etc you will need month or even years to develop them.
If you want to run Linux on the Magician, there is already a project which try to develop drivers for Linux. Last time I read from their progress Linux runs on the Magician with the possibility to use the phone (but no GPRS)...
Use the search if you are interested;-)
Melkor said:
If you want to run Linux on the Magician, there is already a project which try to develop drivers for Linux. Last time I read from their progress Linux runs on the Magician with the possibility to use the phone (but no GPRS)...
Use the search if you are interested;-)
Click to expand...
Click to collapse
It is http://www.handhelds.org/moin/moin.cgi/Magician , isn't it?
So If Linux can be installed, then Android can also be installed. Because it supports all Linux compatible devices according to the hack.
For the DRIVER part, pls check the official Android website-
http://code.google.com/android/
and let us know. Waiting for your reply...
Thanks!
Peoples - a hve WORKING linux on my HTC magician.
name is Angstorm with GUi OpenMoko.
Work - tochscreen,Sound,GSM,blootuth.
thet meens - drivers are exist and work
Can anybody say, where i can download Google's Androuid for ANY platform ?
I'm Find =) Android For Zaurus
it seems to me, For using rootfs on magician we mast change drivers in it
http://www.omegamoon.com/blog/static.php?page=ZaurusAndroid
As me say one man, it takes compiling magican's drivers using Google android SDK.
Some useful links
Буржуйский форум -> http://www.oesf.org/forum/index.php?showforum=158
ЗАУРУС -> http://www.omegamoon.com/blog/static.php?page=ZaurusAndroid
Cкрины -> http://androidzaurus.seesaa.net/article/75516785.html
Angstrom на Qtek s110 -> http://grigio.org/howto_openmoko_htc_magic...dual_boot_wince
Немного о портировании для OMAP -> http://elinux.org/Android_on_OMAP
Sory for my English =)
does anyone know how to actually download the Android platform? regardless of phone model or drivers? or is it just included in the SDK and you gotta compile it yourself? If I can somehow get my hands on a copy of the image I'll probably end up spending the next 3 weeks trying to flash it natively into the ROM
The Android sources can found on this page: http://code.google.com/p/android/downloads/list
It is only kernel. Without drivers.
Found a new article for search on "Android on HTC", got this:
Android Kernel Found, Android on HTC Kaiser imminent
It says, that the kernal works only on MSM7200A chipset for now.
Take a look, link: http://fandroid.net/content/android-kernel-found-android-htc-kaiser-imminent
what i cannot understand is:
if there is an working linux kernel (http://wiki.xda-developers.com/index.php?pagename=MagicianXanadux) than android should be executable also!?
All necessary driviers shold be available.
So why should it be impossible to have a running android on a Magician?
cheers
aitsch
p.s.: the Magician is a very fast device. maybe android is running well on it.
UPDATE: Google has released a new version of Android, v0.9
Any updates on running Andriod on Magician ?
I could run Linux (Openmoko) successfully.
yea! Android 1.0 it very good
we need this
linux can run on a magician and u can use phone on it but no sms and it's full of bug's
Hi all,
I have tried to download the angstrom linux and follow the instruction from this site http://linuxtogo.org/~ph5/magician/....
but I always had kernel panic when start booting the linux, after then I found out the unzipping wasn't successful there is an error occurred during unzipping.
Does anyone ever encounter the error when unzipping? your help would be much appreciated. thank you
wayne
Hi everybody,
are there any news on running android on magican. Did anybody manage to get it running?
w00t!
I for one cannot wait to boot winCE on my Magician! Id love to put ANDROID on it! from what it looks like they are only 80% done!
I have opie II running on magician (http://linuxtogo.org/~htcpxa/htcmagician/)
and it runs perfectly (except a little bug eith the menu).
And here is a list what works in linux (http://www.handhelds.org/moin/moin.cgi/Magician)so android should work
header2k said:
I have opie II running on magician (http://linuxtogo.org/~htcpxa/htcmagician/)
and it runs perfectly (except a little bug eith the menu).
And here is a list what works in linux (http://www.handhelds.org/moin/moin.cgi/Magician)so android should work
Click to expand...
Click to collapse
Interesting, I'll take a look! What are the bugs you personally notice?

Java SDK Version queried

Hello All
I've been in a bit if a tiz lately, I am very interested in developing for Android as well as BlackBerry.. The problem is that for the Android SDK I want to use I NEED to use JDK 7uxx.. However I still am pulling in money with BlackBerry for OS 7 and Below and that REQUIRES JDK 6uxx
I'm wondering if it possible to install BOTH SDK versions on the same machine and assign the correct version to the correct SDKs????
I would love your feedback and any suggestions onto how to do this if this is possible at all..
Thanky so much in advance
Sent from my BlackBerry 9320 using Tapatalk

[MOD][x86][ARM] Genymotion ARM Translation support

Thread is dead. Files are no more available and won't be any more.
Code:
Hello XDA!
I recently installed Genymotion on my PC with Windows because I needed to use CamScanner to present some work in college.
[I]Note that I have no physical device and I can not buy one. [/I]
Before, I had installed Android x86 in VirtualBox but when you open a JPEG in CamScanner it immediately crashes.
As a fairly common phrase where I live says: [B]Necessity is the mother of invention[/B].
I installed the Genymotion ARM Translation found in this thread: [url]http://forum.xda-developers.com/showthread.php?t=2528952[/url]
but it did not work at all, CamScanner and other apps closed immediately.
So I decided to do something and did a recompilation of functional ARM libraries, now CamScanner works great along with the rest of gapps.
So I share my find on XDA:
This YouTube video proof how it works: [B]Video was reported and taken down from YouTube.[/B]
In the video's description you'll find the URL for downloading the file using Google Drive. [I]Because of the reported video (without reason), the links are lost, my Google Drive is empty and all versions of this are lost forever.[/I]
This flashable ZIP makes work the apps I need, these are the list of apps that closed I've tried and work:
CamScanner, Netflix, Derby Highway, Chrome Remote Desktop (partially works), Hangouts, Voice Search.
Please: Note that the file is compressed using the 7-zip format. There is no Android device that can flash a 7-zip file, that includes GenyMotion. In that 7-zip file you'll find 2 files, one a text file which contains the SHA sums for the file and other zip file. That zip file, "libhoudini.zip" is the flashable file. That means, you MUST have to uncompress the 7-zip file in order to access to the zip flashable file.
The specs of my virtual machine:
Android: Android 4.4.4 KitKat
Genymotion: 2.3.0
Virtualbox: 4.3.16
Host Operating System: Windows 8.1 64bit
The rest of this thread is to report what work and what doesn't work. For best results, use this example as a basis:
[CODE]1. CamScanner: Working. Android 4.4.4, 2.3.0 Genymotion, Virtualbox 4.3.16, Host: Windows 8.1 64bit Intel.
2. Chrome Remote Desktop: partially works (crash on the fly). Android 4.4.4, 2.3.0 Genymotion, Virtualbox 4.3.16, Host: Windows 8.1 64bit Intel.
3. Game Of War: partially works (crash in 1st screen). Android 4.4.4, 2.3.0 Genymotion, Virtualbox 4.3.16, Host: Windows 8.1 64bit Intel.
If it worked for you, press the thanks button (follow the rules). This thread is NOT dedicated to Genymotion problems (for example Drag and drop does not work, player.exe crashes, etc.).
Any suggestions are welcome.[/CODE]
can someone confirm how to make "Game of War" work on genymotion ??
I tried installing Arm 1.1 and Gapps, tweaking the Vbox and what not... nothing helps the app just starts and closes a few seconds later.
Well, this one works better with gapps than the one I found on github. Still couldn't get Age of Ishtaria to work though, logcat reports "Unsupported feature (ID:0x1140001a)." for houdini now, rather than the segfault it was getting with the other version. Using linux geny 2.3.0 with 4.4.4.
hey dude,
so your a super intelligent guy and you managed to fix genymotion to run some apps, but can you make Game of War to work too ?
that would be amazing !
Keep us posted on your great job
Good attempt at fixing the issue - I have tried every OS available with Genymotion and the issue has not been resolved. What all of these OSes have in common is the same Google Play appstore version, eventually, after the updates, so I wonder if that is the culprit. Perhaps we could find a way to run an older version of the appstore without it updating....I am just not sure.
were is the download i would like to try it!
You didn't trust me even with the checksums, great. But reporting the YouTube video was not needed (happen long time ago, I personally taken down the video on the report and didn't mind it till today, when I found a new answer to this thread).
Actually, I don't understand, I didn't wanted anything but share something that may help you (and actually, this helped some people), that was not fair. If some mod read this, please close this thread immediately. If you keep a copy of the 7-zip, you can do whatever you want but please don't even mention me.
However, I have to say that I found how and where Genymotion found it's libraries, and I though it would be nice to keep them update. But you didn't wanted it and I understand. Please, don't ask me about this, I will never make a mistake like this again in XDA. I have a real life and a reputation to keep clean, this didn't help me with it.
NoTengoBattery said:
You didn't trust me even with the checksums, great. But reporting the YouTube video was not needed (happen long time ago, I personally taken down the video on the report and didn't mind it till today, when I found a new answer to this thread).
Actually, I don't understand, I didn't wanted anything but share something that may help you (and actually, this helped some people), that was not fair. If some mod read this, please close this thread immediately. If you keep a copy of the 7-zip, you can do whatever you want but please don't even mention me.
However, I have to say that I found how and where Genymotion found it's libraries, and I though it would be nice to keep them update. But you didn't wanted it and I understand. Please, don't ask me about this, I will never make a mistake like this again in XDA. I have a real life and a reputation to keep clean, this didn't help me with it.
Click to expand...
Click to collapse
libhoudini?
@phillibl I'm sorry for disturbing your peace, but I will be glad if you can close this thread form me. Thank you.
timofonic said:
libhoudini?
Click to expand...
Click to collapse
Nope. If you are wondering I get the libs using a custom method over some x86 system image.
https://www.google.com/url?sa=t&rct...81bb175e380f&usg=AOvVaw3N4NfVwwB6WUjkgKTUryKi
visit this link for ARM TRANSLATOR TOOL X86 FOR GENYMOTION ANDROID VERSION 8 OREO
Sezi01 said:
https://www.google.com/url?sa=t&rct...81bb175e380f&usg=AOvVaw3N4NfVwwB6WUjkgKTUryKi
visit this link for ARM TRANSLATOR TOOL X86 FOR GENYMOTION ANDROID VERSION 8 OREO
Click to expand...
Click to collapse
Thanks man

Nokia Lumia 1520 help

I need help or some one can point me to the right direction.
One of my employee give me Nokia lumia 1520 window 8.1 he ask me If I can put Androids app to this phone. I never root this type of phone before ( only Samsung phone). Can some one tell me what I need to download or send me a link what steps I need to do in order to root and install android apps on this phone if is possible.
thanks in advance.
No dude. You cant install Android on Windows Phone. You need to buy Android Phones for that. In earlier versions of Wp10 it was possible but not now
Ajshal said:
No dude. You can't install Android on Windows Phone. You need to buy Android Phones for that. In earlier versions of Wp10 it was possible but not now
Click to expand...
Click to collapse
Something close is possible, You can install Appx File.... It's the Universal Apps : there might be some that have be converted from android to Windows phone.. Just google Appx Downloads and see if you can find something he wanted. If so, that is what is possible. The previous : A Older version of Windows on the phone had a special file/command, whatever you wish to call it. """Bash""". It allowed Linux to run on windows. Sadly they removed this, it would give programmers to do things Microsoft did not want to happen.
ryanromerosr said:
Something close is possible, You can install Appx File.... It's the Universal Apps : there might be some that have be converted from android to Windows phone.. Just google Appx Downloads and see if you can find something he wanted. If so, that is what is possible. The previous : A Older version of Windows on the phone had a special file/command, whatever you wish to call it. """Bash""". It allowed Linux to run on windows. Sadly they removed this, it would give programmers to do things Microsoft did not want to happen.
Click to expand...
Click to collapse
I think what you meant was sideloading apk using adb in W10 build 10149 . The Exploit which allowed more or less sandboxing of Android app. It Ran the basic Android Apps which didnt have much dependency on Google Play services and more in use by Project Astoria.That means if an android app that required the GMaps plug-in would crash in W10M. Well that's basically not possible now as they removed the Linux Subsytem. You cant install Android Apps now on Windows 10 (btw Nowadays which dev is spending time on Lumia devices? ) I dont think there would be more development of Windows 10 mobile in future as they have shown that Full blown Windows 10 would soon run on ARM devices which has SD835 or more( Just think SD835+6GB RAM+LQS)That would be amazing. But Microsoft Doesnt have the Required no. of Apps in store (Admitting, UWP was not a great success) and enough market share. But dev's like @feherneoh and @banmeifyouwant have done great thing in porting Android to SG Lumias. :cyclops:
feherneoh said:
SD835 might be a great SoC, but we'll have to wait and see. But that will give us x86 Windows apps, not Android
Yeah, there is the 52X port, but note that we have no connectivity at all....
Click to expand...
Click to collapse
Atleast if the perfomence if fine on SD835 soc , I Mean more than 2.5Ghz and enough page memory, I Think running or emulating Android apps would be smooth.Moreover if its full fledged Win10 the bootloader stuff Etc. would be easier to unlock and build Android for that. Yeah as you said we have to wait and see.
Yeah, Connectivity is major barrier on L52X Android Ports. If you guys could solve that, L52X Android port would the topic of debate and hopefully open the doors for future development. Good luck with connectivity though. Anyway you guys have done a great work on dead Lumias

Categories

Resources