How to speed up SDK ARM emulator? - IDEs, Libraries, & Programming Tools

I would like to install an apk on an emulator but as I know it only has an ARM build because if I try to install it using an X86 emu which is very fast of course, Google Play says that it is not compatible with my device. I have tried it on my phone which has the same Android version as the emulator but it is (of course) ARM and the apk installs and runs there. I can create an ARM AVD but that is very very slow. It takes 15-30 minutes for it to boot and after that it is useless, too slow. E.g. if I click the More apps/Menu button then it begins loading or showing a black screen.
Is there any way to speed up SDK ARM emulator? Is there any way to install that app on x86 (I think no)? Any other suggestions?

Related

Android Virtual Device DOES NOT loads at all! :(

Hello. I was hired to build an Android app but I am having problems.
I understand
1) Java SDK
2) Android SDK
3) Eclipse
4) Eclipse plug-in
5) Java programming
I just finished Java Certified exam, so I'm really fresh with Java
However, I am having problem with
1) Android Virtual Device
I create one, run, emulator.exe runs, but NOTHING shows up
Even if I wait 2 hours, nothing shows up
I am running Windows 7 64-bit
I already reinstalled Google Android SDK (latest version)
It's weird
I pushed the program to my cell phone and I had no problem with that, it worked wonders
The app runs on my cell phone, but it won't run on my emulator
I need the emulator to work because I want my apps to communicate to each other (I hope that can be done)
But anyway, I want to develop FAST so pushing a new APK to my cell phone 20 times per day is not a solution, I REALLY need the emulator to work
Thanks in advance

Windows 8 and SDK Installer

Guys i have a trouble...
I installed windows 8 and JDK 7 without problems but when i go to install the android SDK tools the installer says to me that can't find Java SE Development Kit.
Don't worry I'm not a noob and yes i downloaded the right version of JDK. Simply the SDK installer can't find C:\windows\system32\java.exe when in fact the file is in that folder.
I go to set an environment variable Java_home that point to Java.exe but does not work.
Can anyone help me? Thanks.
Mine is working fine. I downloaded the latest version of JDk. There was no neeed of setting environment variables.eclipse and adk works fine.i use latest juno with with updated sdk.
send from Gods Own Country........
Java and the Android SDK
Uninstall Java and when you start to install the Android SDK it will prompt you to install Java and provide a link. Once it does that click on the link and let it take you to the Java download page and install the latest JDK. If that does not work open your hard drive and make sure that the Android SDK and Java are both under program files and not your username or something else. I just had a problem with the Android SDK and for some reason it installed it self under my user name and I had to move the folder myself and once I did that everything installed fine.
I just bumped into the exact same situation as OP, I solved it by removing the 64 bit JDK 7 and installing 32 bit version. I'm using Windows 8 if that matters.
Have same issue, will try to do suggestion and report back.
Sent from my Nexus 7 using XDA Premium HD app
njankit said:
I just bumped into the exact same situation as OP, I solved it by removing the 64 bit JDK 7 and installing 32 bit version. I'm using Windows 8 if that matters.
Click to expand...
Click to collapse
after trying for 2 hours with different "fixes" and guides, this one works and it's so simple, can confirm on windows 8 64bit installing java jdk 7 32bit makes the android sdk see java
The SDK is probably set to require the 32-bit JRE for some reason. Not sure what's up with that... some software (Minecraft comes to mind) insists on 32-bit in its manifest, even though it actually runs better under 64-bit Java. You can try checking for a manifest specifying 32-bit in the relevant jar...

How To Install PhoneGap Build .xap On Developer Unlocked Phone

Hello...
I just set up a Windows Phone developer account and registered my phone (HTC 8x) as a developer unlocked phone.
I have build an app with PhoneGap build and I can download the .xap, but I have yet to figure out how to install it.
Using a QR Reader asks if I want to search the store for something to open the file.
I've seen tutorials on how to build a PhoneGap app within Visual Studio.
I haven't seen any means of installing it from PhoneGap Build, though.
Any ideas?
JJ
The SDK installs a tool called Application Deployment on your PC. Run that, connect your phone via USB, and use it to sideload the XAP.
Man, it would be great if you could install them directly from the PhoneGap site (like iOS and Android - I haven't tested Blackberry).
Having to do it from a computer that has, at least, a Core i5 CPU and Visual Studio is kind of jacked.
Also, I can only have 3 developer devices on my account.
Apple allows 99, I think.
Of course, Android doesn't even require to to register a device (just turn on the "install unapproved apps" feature.
JJ
Fa310tx said:
Man, it would be great if you could install them directly from the PhoneGap site (like iOS and Android - I haven't tested Blackberry).
Having to do it from a computer that has, at least, a Core i5 CPU and Visual Studio is kind of jacked.
Also, I can only have 3 developer devices on my account.
Apple allows 99, I think.
Of course, Android doesn't even require to to register a device (just turn on the "install unapproved apps" feature.
JJ
Click to expand...
Click to collapse
You do not need SLAT (i5 CPU) to side load things.
That is for emulators only.
There is homebrew to do that on WP7. We'll just have to figure out a way on WP8. It's not very hard, once we can get the needed permissions.
mcosmin222 said:
You do not need SLAT (i5 CPU) to side load things.
That is for emulators only.
Click to expand...
Click to collapse
Well, that's handy to know.
It would still be nice to not require Windows 8 and Visual Studio just to install an app.
JJ
And don't need to be a W8, you can install xap's on Windows 7.
http://www.windowsmania.pl/poradnik...xap-na-systemie-windows-7-32-64-bitowym-3843/
English translated version of that link...
http://translate.google.com/transla...xap-na-systemie-windows-7-32-64-bitowym-3843/
Windows Phone Power Tools...
http://wptools.codeplex.com/
JJ
djtonka said:
And don't need to be a W8, you can install xap's on Windows 7.
http://www.windowsmania.pl/poradnik...xap-na-systemie-windows-7-32-64-bitowym-3843/
Click to expand...
Click to collapse
Has anyone been able to do this on Windows 7 x64 machine ? I am sure I am just missing something...
I downloaded "Windows Phone Power Tools" after installing .NET 4.5 but, it just gives me an error of "Unable to install or run the applications. The application requires that assembly Microsoft.SmartDevice.Connectivity version 11.0.0.0 be installed in the Global Accembly Cashe (GAC) first." when I attempt to run it..
As most of us know, SDK 8.0 REQUIRES Windows 8, I would love to be able to install XAPs on Windows 7 so I don't have to reboot my PC to use my Windows 8 partition just to install a quick XAP time to time. I can't download or find where to download the full install to extract a few fles as said in the directions...
Any idea to get this installed ?
I didn't get it working with my Windows 7 workstation.
I have a Windows 8.1 laptop, so I just use it.
Being able to do it at work would be nice, though.
JJ
Try install SDK7.1
djtonka said:
Try install SDK7.1
Click to expand...
Click to collapse
I have SDK 7.1 installed, still can't run Windows Power Tools on Windows 7 x64, I get the same error listed in my past post.
Anyone have a good step by step with details on how to do this?
bump...anyone ?
DavidinCT said:
Has anyone been able to do this on Windows 7 x64 machine ? I am sure I am just missing something...
I downloaded "Windows Phone Power Tools" after installing .NET 4.5 but, it just gives me an error of "Unable to install or run the applications. The application requires that assembly Microsoft.SmartDevice.Connectivity version 11.0.0.0 be installed in the Global Accembly Cashe (GAC) first." when I attempt to run it..
As most of us know, SDK 8.0 REQUIRES Windows 8, I would love to be able to install XAPs on Windows 7 so I don't have to reboot my PC to use my Windows 8 partition just to install a quick XAP time to time. I can't download or find where to download the full install to extract a few fles as said in the directions...
Any idea to get this installed ?
Click to expand...
Click to collapse
Yes you have to instal win 8 on your machine that,s a requierment.
Win 8
explorer 10
64 bit
eefdriehuis said:
Yes you have to instal win 8 on your machine that,s a requierment.
Win 8
explorer 10
64 bit
Click to expand...
Click to collapse
Or use VMware and create a virtual machine with the above requirements.
@DavidinCT @Fa310tx
You can install the WP8 SDK on Windows 7...it works just fine. The secret that Microsoft doesn't want you to know is that the WP8 SDK can be installed on Server 2008 R2...Server 2008 R2 is based on Windows 7 x64. Therefore, it will work with no issues.
http://forum.xda-developers.com/showthread.php?t=2422751

Having difficulty launching emulator in Android Studio.

I'm new to development, but I thought I'd try my hand at it. I got android studio, and after a little trouble shooting got it to work, but I cannot get the emulator to work. When I try I get the following error: "J:\Users\Tatsuno\AppData\Local\Android\sdk\tools\emulator.exe -avd Nexus_S_API_21 -netspeed full -netdelay none
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 enabled virtualizing in my bios (I hope I did it right, I've never done it before) and attempted to install intelhaxm-android.exe. but when I tried to install that I got the following error: "VT not suported
This computer does not support Intel virtualization Technology (VT-x). HAXM cannot be installed
Please refer to the intel HAXM documentation for more information"
As I understand it, my problem is that my computer isn't acknowledging that virtualizing is enabled. any ideas on how to fix this?
Standard emulator very slow, use Genymotion or some other fast emulator

Can I force an app to install as ARM instead of x86?

I have a game, Chain Chronicle, that runs correctly when installed as ARM (on my phone and Andyroid) but is broken when installed as x86 (on the Nexus Player and Genymotion). It seems to be caused by broken/missing libraries. Is there a way to force it to install as ARM? I realize it will run slower, but that's better than not running at all.
Mogster2K said:
I have a game, Chain Chronicle, that runs correctly when installed as ARM (on my phone and Andyroid) but is broken when installed as x86 (on the Nexus Player and Genymotion). It seems to be caused by broken/missing libraries. Is there a way to force it to install as ARM? I realize it will run slower, but that's better than not running at all.
Click to expand...
Click to collapse
Can you download the APK from APKMirror. Can select the architecture to x86, x86-64, or universal.
Nexus Player uses an Intel Atom Z3560 x86 processor. That cannot install ARM APKs on x86 platform, you can install x86 APKs instead.
I agree, using apkmirror or dumping the APK from your phone is the way to do this. Just disable auto-updates or resign it with a debug key.

Categories

Resources