Android Programming; ...Unfortunately Stop Working - Android Q&A, Help & Troubleshooting

Hi
i have problem with first running of my android app
it s an example from Book, completely compile without any error But
i have problem in AVD, almost of time it force stop activities.
i m working in windows 7 - 64bit
Eclipse
(everything up to date )
i tried to set more RAM for AVD but it shows this warning;
"On windows, emulating RAM greater than 768M may fail to launch ... "
any advice to have smoother android virtual device?
Thanks

Related

[Q] Need help to setup Android Enviorment

Hi ,
I am Java programmer and want to learn Android development. I have two laptops one is core-2-due with 2 gb ram with windox xp and other is cori-i7 4gb with windos7.
I downloaded the ADT bundle (Android SDK + ecliplse) from developer.android.com. On xp laptop it did not work although I installed java jdk and sent the JAVA_HOME in evn. variable but when I create first app and run it, nothing happen. I think either my laptop is very slow so it is unable to run it. But when I run the bundle on core-i7, the simulator is on but I dont see my application on it.
My first concert is how should I setup the Android development env. so that it is as faster as possible like should I set it individually eclipse then sdk manually and the plug in and manually configuration or bundle is fine and does not effect on speed of computer?
2) I have HTC desire phone and google nexus tablet, should I connect it to my pc to use as testing my application, would it be faster or computer simulator is faster.
Please guide me the stepts to set up android enviroment which runs fast on low configuration and old laptop/pc.
Thanks.

[Q] [Question] Bluestacks in VM Fusion

Hello All,
I had been annoying for weeks for this problem. When I start my game in Bluestacks in a Window under a VM environment, the game always goes into blank screen. I can know that the game has successfully loaded as when I click on some button (which I know where they are in normal situation), the app will proceed and be able to display some screen like notice page, which are some static page with text only. But it seems to be not the graphic of playing the game
I tried in VM of Window and also VM of Mac, neither of them is working... I also tried the latest BS from the official site or the 0.8.4.3036, both of them not working as well.
My VM Fusion is 10.1 and the windows is Win 7 Ultra version (T. Chinese), I am thinking if it is related to the tablet setting in the BS but I found no way to change it under 0.8 version, can anyone shed me some lights on this issue?
Thanks a lot!
Anyone have any idea?
Just updated the VMWare Fusion 6.0.2 today, but still got the blank screen in the bluestacks when load the game
getting black screen on bst while launching a game
Bluestacks is giving problumes or bored with it. Try best and fastest alternatives for bst.
Genymotion is the fastest Android emulator for app testing and presentation or even gaming. Genymotion is the evolution of AndroVM open source project, already trusted by 300 000 developers. Here I am using 64 bit Windows 8 for using Genymotion. Here we are going to setup Android 4.2.2 on a Windows operating system using Genymotion.
*Features of Genymotion:
1.Fastest Android emulator on the planet.
2.Do your simultanous automatic tests on unlimited virtual appliances .
3.Directly launch Genymotion from your Eclipse and Android Studio platforms.
4.It has Open GL acceleration ,multiscreen and full screen display.
*Steps to Setup Genymotion Android Emulator in Windows OS:
1.Go to official site of genymotion and sign up.
2.After logging in download genymotion for Windows 32/64 bits from the "get genymotion" option on official site
3.Download and install virtualbox
4.Now run the the downloaded genymotion-2.1.1.exe and install the Genymotion on your PC.
5.Then launch Genymotion and login with your Username and Password.
6.Select Add to create a new virtual device, then select a device from the list and click Add.
7.Then select next and the Virtual image starts downloading.
8.When the download is completed select next from the window.
9.Then you will be asked to enter a name for the downloaded Genymotion virtual device. Enter a name and select create and the click finish.
10.Now the virtual device will be listed in -Your virtual devices- in the home screen.
11. Then select play to start your virtual device.For the first time it asks to configure sdk path for using ADB , select the sdk path and you will be booted to Android home screen.
*installing an apk:after you did above procedure just drag and drop your .apk file of game to vertual machine. It will start installing. After installation complete. Open app bar and play just installed game. Many times faster and without getting black screen

Can't run some old apps

Hello,
This is my first topic here, so i don't know if am am doing something wrong.
Sometime ago i runned windows xp and 98 and tried some linux in my old galaxy s3 . In that time i found other apps to do that:
-Limbo pc emulator
libSdl (qemu)
and for running old games winulator.
The limbo's developer said in the description that the app couldn't run any windows after 98 becase of the android's storage low speed. But i could run windows xp. Now i have a galaxy s6 that has a much more faster storage, much more ram, more internal memory, much faster processor, but these apps doesn't run in my phone.
Limbo opens, i create a virtual machine but when i run it, the app just closes up and android show-me that warning that the app closed unexpectedly. Bochs opens, start to boot and a second after he opened, it just closes without any error, bochsout doesn't give nothing too and if i see in the wright time he recognizes the img's. libSdl opens, start to boot windows 98, and closes some seconds after opening, withou any error. Winulator chrashes the game when i try to run, and many people in internet says that winulator do that becase he is incompatible with the new JavaJVM.
I think that is some incompatibility of the app with my android version. My cell phone is an galaxy s6 "flat", has original ROM from samsung, recently updated to 6.0, original kernel, doesn't have root, and the apps were made to "android 2.2+".
Could anyone compile for me a version of bochs for my s6 or help-me to do that ? Or even give a link to a version that works on my phone?

Android Virtual Device (AVD) can't run in Android Studio | HAXM can't be installed

Installing android virtual device (AVD) with Intel HAXM support
Installing HAXM via android studio sdk manager gives no error.. but in AVD Manager, an error displayed - "/dev/kvm is not found" and hence doesn't allow me to run AVD
Installing HAXM(6.1.2) by downloading from intel official website gives me an error "Failed to configure driver: unknown error. Failed to open driver" which I tried to resolve using this solution given on intel blog
But still not working for me as comments shows for few people it is not working too..
Now, Clicking on green run button gives me same error in addition it displays something more related to "enable Intel VT-x from bios"
Now, in my computer's bios settings.. there is no VT-x but just "Intel VT" feature that I enabled.. but still no difference.. same error message.. I tried uninstalling and reinstalling android studio and AVD.. still no solution
My PC config is :
4gb ram ddr3
Intel i3 550 3.20 ghz
BIOS version TCIBX10H.86A.0037 (not updated - latest firmware is TCIBX10H.86A.0048)
Intel hd graphics
500gb hdd
Windows 7 32bit
PS:
1. Hyper-v is not installed on my computer (may be not supported or Windows need to be installed, I never tried to install it myself)
2. There is no virtual box installed either
3. Sorry for bad english and I'm new to android app development also
One of your issues is that you are running a 32 bit system. Android devices tools require a 64 bit computer.
From what you have said about the missing bios option again tells me your pc is not compatible on a basic level. Not a whole lot you can do. Other then get a new pc to work with Android tools.
zelendel said:
One of your issues is that you are running a 32 bit system. Android devices tools require a 64 bit computer.
From what you have said about the missing bios option again tells me your pc is not compatible on a basic level. Not a whole lot you can do. Other then get a new pc to work with Android tools.
Click to expand...
Click to collapse
Thank you for your reply.
I have another PC of my colleague, but I don't know exact configuration of it. Still I came to know that it has 64-bit Windows 7 installed and some high end Nvedia graphics card installed. I'll try using it and let you know.
zelendel said:
One of your issues is that you are running a 32 bit system. Android devices tools require a 64 bit computer.
From what you have said about the missing bios option again tells me your pc is not compatible on a basic level. Not a whole lot you can do. Other then get a new pc to work with Android tools.
Click to expand...
Click to collapse
prattkool said:
Thank you for your reply.
I have another PC of my colleague, but I don't know exact configuration of it. Still I came to know that it has 64-bit Windows 7 installed and some high end Nvedia graphics card installed. I'll try using it and let you know.
Click to expand...
Click to collapse
Problem continues even on other PC and I could never find why the error continued even if I got VT - x supported and enabled on both the PCs now.. (I checked using 'IntelĀ® Processor Identification Utility' and 'securable.exe') finally i had to move on to 3rd party emulators which run on VirtualBox (like Genymotion).

How to Install Android OS on Virtual machine in PC ?

Can anybody explain me how to install android os on virtual machine on my computer. So that i can easily use the android apps on my pc without using the emulator and i think this would work better. Please Help...
You may take advantage of BlueStacks.
My recommendation: BLISS OS ( dual boot solution )
Emulators - where it doesn't matter which one - are always only a stopgap solution. Because emulators share system resources with PC, a high-end PC is neded to more or less flawlessly run an emulator instance.
Hi Kajal,
I totally agree with all the other answers like you can easily install Bluestacks on your computer and can use android apps easily. But only things only thing in bluestack is that you have good amount of RAM so that the apps can run smoothly. But still if you want to install android Operating system on virtual machine then you can follow these steps:-
Download the android ISO file from android-x86 and then download Virtualbox and install it properly.
1. Now Open Virtualbox
2. Create Virtualbox a new virtual machine
3. Configure virtual machine RAM and Harddrive.
4. Now import the ISO file in the virtual machine and setup it properly.
5. Now Adjust your Video Memory allocated for the android virtual machine.
6. Now once your android machine is created, Click on Start.
7. It will start loading the android files and then select the harddrive where it will be installed.
8. Now wait for few minutes and it will be ready to RUN.
I know the process is little longer, that i have also attached the guide showing how to install Android OS properly.
https://www.buildsometech.com/2020/01/install-android-os-on-pc-virtualbox.html
If it doesn't work. Please comment below, i would definitely love to guide you further.
Thanks,
Hope it helps
jwoegerbauer said:
My recommendation: BLISS OS ( dual boot solution )
Emulators - where it doesn't matter which one - are always only a stopgap solution. Because emulators share system resources with PC, a high-end PC is neded to more or less flawlessly run an emulator instance.
Click to expand...
Click to collapse
i like that option. next project. ty
why not use emulator?

Categories

Resources