Fiddler4 with oracle virtual box - android

Does anyone have any idea on how to use fiddler4 with Oracle VirtualBox. I am using this android OS.
http://www.andyroid.net/
I have tried to configure the proxy settings in the virtual box but it doesnt seem to be able to capture traffic.
Anyone has any idea on how about going to do this. I would prefer this emulator as it is faster than the android emulator in studio.

I did not have turned the Bridged Adapter in VirtualBox Network settings.
I found out this luckily by viewing the Mac article: http://www.telerik.com/blogs/running-fiddler-in-virtualbox-on-mac
Configuring Fiddler for Android is here: http://www.cantoni.org/2013/11/06/capture-android-web-traffic-fiddler

Related

Android VM: Can avd run on a host with Hyper-V?

I have this issue trying to run a virtual android device on my computer which runs Hyper-V because I use docker containers. The host s.o. is Windows 10 Pro. Android Studio installed, and its updates.
When I try to run a virtual device a blue screen shows and system restarts.
I want to start learning Flutter but I'm stuck in this.
Any solution / Work around?
From the Android developer's blog, you'll want to ensure your hardware and software are supported and versions are current.
Blue screen errors can be happened because of a hardware or driver errors. Please take a picture of the error and send it to us. But a general solution is to open device manager (devmgmt.msc) then check if there is a yellow sign on a driver or not. Please check if all of the drivers has been installed properly. After that, You should check if Intel virtualization technology is turned on in BIOS system

is it possible to run android emulator on client's virtual machine?

We are working remotely on client's virtual machine. I keep getting the VT-X/disabling hyper-V error even after doing the needful.
So, my question is , is it possible to run emulator, which is itself a VM on another VM?
If not, suggest a way to work around this problem.
Thanks in advance
is it possible to run android emulator on client's virtual machine?
I think the problem is not you are working remotely on client's virtual machine, the problem is that your Physical machines turn on the Windows feature : Hyper-V, but when you run an Android Emulator, it needs to disabling the Hyper-V, so it gives the VT-X/disabling hyper-V error.
I have test working remotely on client's virtual machine and turn on the Hyper-V. When I run an Android emulator from Android Studio, it failed and gives me the error message :
To solve this problem, you should turn off your hyper-v and restart the computer. If you cant do this, you could try using Visual Studio Emulator for Android. As the document said :
with Hyper-V compatibility you can run the emulator side-by-side with the Windows Phone Emulator and other Hyper-V VMs
Then, you could run the Android emulator.
I don't know about what happens in a VM.
But, emulator is not possible in nested VM. I found that out while installing android studio when I got the error message explaining the same.
Regarding working emulator with VM, we can go with #Grace Feng

how to install genymotion on vmware

Guys I've installed genymotion on virtual box provided with setup . now every time i want to start the virtual device I've to restart my laptop & sometimes even that doesn't help . So I've decided to install that on VMWare 11 . Can anyone help me please on this issue.
If anyone can solve this error which says can't connect to virtualbox ,That would be helpful also. But I still prefer solution with VMWare .
I've tried solution like DHCP server address solution which is suggested by official support site of genymotion , but that doesn't help also.
I've tried glew solution also but their support center doesn't accept log file(text) or image of error.
Snapshot of error :
I had the same issue, Genymotion can't be launched on a virtual machine!
This is quoted from their faq:
Why doesn't Genymotion start from a virtual machine? Genymotion cannot
be run from a virtual machine. Indeed, Genymotion needs a direct
access to the hardware in order to provide OpenGL acceleration.
Running Genymotion from a virtual machine prevents it to directly
access the hardware components. Therefore, Genymotion is incompatible
when installed from VMWare, Parallels, Hyper-V or VirtualPC.
About the problem with virtual box try the following steps:
1. Open Virtual box. Go to preferences.
2. Click on networks option.
3. Click on Host-only networks tab
4. Delete all host adapters.
5. Start Genymotion. It will automatically create a new network adapter with required settings.
The above worked for me.

Genymotion unable to start the virtual device

So basically I am a newbie to android development. All was working well till few days back I suddenly got error while starting my virtual device from genymotion. It is giving me this error:
Unable to start the virtual device
The virtual device got no IP address.
I have use following solutions to resolve my problem:
Edit the Host-only Network by clicking. Check that the adapter IPv4 address is in the same network (192.168.56.0/24 by default) as the DHCP server address, lower address bound and upper address bound.
Recreated the adapter with proper settings (as in step 1)
Reinstall the genymotion and virtualBox
But none of the above mentioned steps worked for me, and it is quite frutsrating as I can't spend any more time on this issue. So, is there any other way to solve this issue?
maybe some errors are related to the amount of Base Memory that we put in VirtualBox, on some systems should lower it to 1GB, not to collapse the connection between the emulator program (Genymotion) and the virtual machine.
Sorry for my english but it's not my native language ;)
see if this helps you
http://goo.gl/caE3pF
So,what i did to solve my problem was that i uninstalled both virtualBox and genymotion and upgraded my virtualbox to 4.3 version and again installed both virtualBox and genymotion.After completing all the installations genymotion is working fine.
I was getting this error even when DHCP settings was proper. Figured out finally that there was a mismatch between my host config and the VM settings for the virtual device(mine was 64 bit, while VM was 32 bit). Got it working by setting the VM to 64 bit.(right click on VM image on VirtualBox-->Settings-->General-->Version)
I got this error too awhile ago. But, none of this answer can fix it.
For my problem, I fix it by trying to run the vm on Virtual Box then I got the error message. It said VT-x is disabled by Bios, so I open the vm settings on virtual box, in System -> Acceleration -> Uncheck VT-x/AMD-V
After that, I can run the virtual device normally
If your Acceleration Tab is grayed out, you can enable it in the BIOS setting. Find out the option (Internet) Virtualization Technology and Enable it.
For ASUS, it is under CPU Configuration; For HP Laptop, it is under System configurations>Device Configurations> Virtualization Technology.
After Enabling it, you can restart your computer and check it. If still doesn't work, please completely shut down the PC and then start it.
For more detailed demo please refer to the video: How to enable Grayed Out Acceleration tab in VirtualBox
Then you can go on the settings as Raiz-al shared above.

Debugging a "remote" Android device with Xamarin?

So I am needing to do some debugging with Xamarin Android. This wouldn't be such a problem if the emulator wasn't so slow. So, I looked at setting up the x86 emulator, but because I'm running Xamarin within VMWare (host machine is Linux), that won't work. My best bet is to install either the x86 accelerated android, or use something like Android-x86 from my host machine.
How could I get Xamarin to connect to a device that not's running on the same machine though?
It's possible to configure ADB to debug over the network instead of USB. Check out Xamarin's document titled Setup Device for Development, and scroll down to the section titled Connect the Device to Computer for directions on how to do so.
This is pretty basic but have you enabled USB debugging on your Android phone?
http://www.wugfresh.com/faq/how-do-i-enable-usb-debugging-on-android-4-2-the-developer-options-menu-item-is-gone/
follow those instructions if you havent...

Categories

Resources