genymotion generic unknown error - android

I have recently downloaded Genymotion in hopes of having a speedier emulator for working in Android Studio. Everything looks like it downloaded correctly, and I have linked my Genymotion to my Android Studio. The problem is when I try to sign into Genymotion, it keeps saying "unknown generic error." I have contacted Genymotion many times about this issue, and they have not gotten back to me. I even tried re-downloading Genymotion, and creating a new account. Nothing seems to help.

In your GenyMotion go to:
Settings -> Network
Check Use HTTP Proxy
Insert HTTP Proxy and Port
Click "OK"
Now try to login genymotion.
Hopefully it helps

Mine got resolved by doing the following:
Opening Virtual Box -> Preferences -> Network - > host-only networks -> Edit Virtual Host-Only Ethernet Adapter -> DHCP Server -> uncheck Enable server.
it may help some.

I had the same issue but I solved it by this steps
1. get your Ip address that you use it to enter internet
2. open network and sharing center
3. open virtualbox host-only network
4. put your internet Ip as default gateway and prefered dns server
it should work after that.
Explanation: virtual machine made a network card and give it default IP "192.168.56.1" if this IP can't access internet so you can't login so but your internet ip as default gateway and dns
that's worked for me.

I had the same issue and I logged in at Genymotion website and then I tried logging in with app. It worked for me.

Almost like #Flowra mentioned:
Find the IP address and default gateway of your network (cmd ->
ipconfig).
Open Network and Sharing Center and click on Virtual Box host only Network.
Click Properties -> IP4 Properties
Put your network's default gateway (eg. 192.168.1.1) in the default gateway and your IP address as the Preferred DNS Server
Then restart Genymotion.

I fixed it by enabling network access in AhnLab Internet Security blabla installed in my computer.... That app is blocking the network access in Genymotion...

I have faced the same issue...
First
Open Virtual Box -> Preferences -> Network - > host-only networks -> Edit Virtual Host-Only Ethernet Adapter -> DHCP Server -> uncheck Enable serve
Then
Open setting "Open Network and Sharing Center" > Change Adaptor Setting > Right Click on "Virtual Box Host-Only Network" > Properties > Select "Internet Version Protocol 4 (TCP / IPv4)" > Click on "Properties" Tab > Check "Obtain IP Address Automatically" as well as "Obtain DNS Server Automatically"
At this point, the problem still wasn't solved
Finally
Open Antivirus >Internet & Network > Programme Rules > Allow Genymotion
and it's done!

Try different types of networks. If it fails, click the login-in button more than one time, and then it will work.

I use window 7 n use Internet Connection by wireless, not LAN cable.
Open settiing "Open Network and Sharing Center"
I've 2 network :
2.1 Wireless connection (that have Internet connection)
2.2 VirtualBox network (that no network to access internet)
Check my IP Address from wireless connection (2.1)
Example : 192.168.aa.bb subnet : 255.255.255.0 gateway: 192.168.aa.1
Open my VirtualBox network n I found this:
IP Address : 192.168.xx.yy subnet: 255.255.255.0
Make IP from Wireless as Preferred DNS Server
Change subnet from VirtualBox to 255.255.0.0 (because aa different with xx, so I use subnet class B --> 255.255.0.0)
And I successfullly login in genymotion to choose n download new virtual device.
So, this is my final setting for VirtualBox network:
IP address: 192.168.cc.dd
Subnet: 255.255.0.0
Default gateway: -empty-
Preferred DNS server: 192.168.aa.bb --> IP my internet connection (2.1)
Alternate DNS server: -empty-
Hope my answer can help U.

The way i fixed it:
1.- Unplug LAN cable, connect to my WiFi network
2.- Retry to sign in to Genymotion
And it worked :-)

If "Remember my credentials" is checked, try logging in with it unchecked. It asked me my credentials every time, but it works.

I faced the similar problem, I just unchecked the http proxy setting in Setting->Network->Use http Proxy, and logged in. The problem is solved.
If this does not work go to Genymotion Site and try edit the password and try again.
Hope this will help.

(worked with my case)
In your GenyMotion go to:
Settings -> Network
Uncheck Use HTTP Proxy

Just login to the website, https://www.genymotion.com (on your browser) and your problem will be fixed.
If doesn't: Search for your WiFi's server IP (ex. 192.168.1.1).
Go open your VirtualBox>Preferences>Network>Host-Only Network.
Edit: VirtualBox Host-Only Ethernet Adapter
Change IPv4 Address to your Internet's IP and also all other similar to the former number you've replaced.

Related

Internet Connection lost when setting Charles proxy on Android

I am trying to set charles proxy on Android 8.0( S8 ). I have installed the root certificate-> Changed WIFI settings to charles proxy settings. But After connecting to proxy, Internet connection is lost. Tried multiple times. Is there any other security certificate I need to install for Android 8.0. Please suggest. Thanks
The sequence of steps is really important:
Connect the Android device and the computer that running Charles to the same LAN (WiFi) network
Start Charles
Then set the Charles machine LAN IP as manual proxy on your phone. Open the list of Wifi connections, then touch and hold the connected network, and select Modify network.
Proxy: Manual
Proxy hostname: Open the Help > Local IP Address menu in Charles and paste into it the address displayed
Proxy port: 8888 (This is the default value that can be changed in the Proxy > Proxy Settings menu.)
Open a browser on your phone and make some network traffic
After that you have to click into the Charles app window. You will see a confirmation dialog that asking you to allow network traffic from the mobile device, press Allow.
After all, open the https://chls.pro/ssl URL on your device and install the .pem file for VPN and apps (Use Chrome browser on Android, and Safari for iOS devices.)
Troubleshooting
When Charles is the background, the confirmation dialog will not be visible automatically, you have to activate (bring back to the foreground) the Charles application window to see it.
To check the device connection permission, go to Proxy > Access Control Settings. You should also see its LAN IP on the list.
To getting your Android phone LAN IP address open the Dialer and enter: *#*#4636#*#*, then select Wi-Fi information > WiFi status and refresh stats.
If anyone who is still looking for answer then try these steps. It worked for me ☺️
When you enter proxy, there will be one more option that is "Bypass for" in this field enter * as value, and thnx me later.

Genymotion emulator no internet connection

I am trying to connect my genymotion emulator to internet and got this message:
emulator network configuration:
On Mac Os I solved No Internet Connection Problem on Genymotion emulator using next steps:
Go to Android Settings -> System -> Developer Options -> Turn On Developer Options
In Settings go to Network & Internet -> Mobile Network -> Turn Off Data Roaming
In Settings go to Network & Internet -> Data usage -> Turn Off Mobile Data
In Settings go to Network & Internet -> Wi-Fi -> Turn On Wi-Fi
And Internet Connection should be established. Also restarting the emulator may be required.
I didn't change anything in VirtualBox:
Best network configuration for an optimal use of Genymotion
To run properly, Genymotion uses two different network configurations:
An internal and technical network (Network > Adapter 1 of VirtualBox settings)
This network is used for example to display the virtual device screen or forward events (clicks or widgets) to the virtual device.
Changing this network configuration may prevent Genymotion to run properly.
If you get the message Unable to connect to the virtual device, please refer to When I start a virtual device, why does the window remain black?.
A network simulating access to your local network and to the Internet (Network > Adapter 2 of VirtualBox settings)
You can configure it as desired, but be aware that an error in this configuration may prevent Genymotion to access the local network and the Internet.
We recommend that you use the following configuration:
NAT, if you are using Genymotion on your local machine.
Bridged Adapter, if you need your virtual device to use an IP address of your local network (a DHCP server in your local network is required).
Currently, this network is regarded as the Wi-Fi connection of your virtual device.
Reference:
https://www.genymotion.com/#!/support?chapter=network-configuration#faq
First of, check your VirtualBox Host-Only Network #2 in: Control Panel\Network and Internet\Network Connections, has the correct properties as follows:
Navigate to Control Panel\Network and Internet\Network Connections and Right click the Connection: VirtualBox Host-Only Network #2
Select Properties
From the popup, activate the VirtualBox NDIS6 Bridged Networking Driver by checking/ticking the check-box and click OK
Lastly, navigate to Oracle VM Box\Google Nexus 7 4.4.4 ...\Settings\Network\Adapter 2 and enable the Network Adapter 2.
Hope this helps resolve your issue.
PS.
If you are connected via wireless and you have followed the above, do try un-checking the cable connected check box under Adapter 2 as shown in the image below.
Try this:
Just turn Wifi on and select WiredSSID network.
1) Open the Oracle VM VirtualBox manager
2) Settings->Network
3) Select the Adapter 2 (Adapter 1 is used primary by Genymotion and cannot change)
4) Select the NAT
5) Restart the VM and Genymotion
Otherwise:
Try on the virtual device > go into Settings > Wi-Fi > Select the IP automatically > After that just click on Done > and now... connected to the internet.
try to uninstall your android virtual device that cannot access internet in genymotion, and re-install a new virtual device. I tried and fixed.
The reason I guess is I installed genymotion and add virtual device before install the virtualbox.
Update Virtualbox and clear-cache work in my case
update virtualbox
genny motion - preference - misc - clear-cache -> restart emulator
I faced the same issue and followed all above instructions, but not worked.
Open Oracle VM Virtual box
Select the custom phone ->right click->settings->General->Basic
Change the type to your current OS (My case Mac OS X)
Choose Version of the Mac OS (64 bit)
Only this solved my problem.
My problem was that I changed the IP of my machine, and I already had the vitual device configured. To solve, I clicked on wifi on the virtual device, clicked on the WiredSSID network and chose the "forget" option.
Open the Oracle VM VirtualBox manager, Settings->Network, Select the Adapter 2 because Adapter 1 is used primary by Genymotion and that's why each time you change it and restart the vm it reset itself to old settings, using Bridged Adapter and select the working network card. if you are behind proxy, please use NAT
In my Mac, genymotion device's WiFi was off. So I solve this issue only by turning on the WiFi. and internet starts back to work
Try to ping your VM ip :
ping 192.168..
it is possible that a firewall blocks the connection. try to stop it : go to process and search for firewall and stop it.
I had similar issue:
I had a LAN cable internet connection to my laptop. (No wifi )
In Genymotion, I opened wifi and there was a wifi network available , just connected to that network. Then it worked.
(But actually I haven't turned my modem wifi, I think its some kind of virtual wifi)
In your Computer go to Control Panel > All Control Panel Items > Network Connections then change the Network Adapter Preferred DNS Server to 8.8.8.8 which is Google Server
Below steps helped me:
(i) Enabled network from sidebar
(ii) Enabled Developer Options
Late but I had a similar issue when running Genymotion(3.2.1) on Windows10
I had the Windows "Virtual Machine Platform" on as I was using WSL2
I disabled it,restarted my system and Genymotion got connected to internet.
Hope someone finds this useful.
What worked was pulling down the notification bar and clicking the Wi-Fi icon to turn it off and then back on again 😂

How to enable Genymotion emulator to use the WIFI internet the host is using

The app I am running on Genymotion emulator needs internet. The internet does not seem to work on the Genymotion emulator. I tried to confirm this by opening the browser, and this is what I got:
I am running Windows 7 on my laptop and using the Wifi internet. I opened Oracle VM Virtual box, navigated to Settings > Network, and the following two images show what I see there:
So how do I enable the emulator to use the internet from my computer?
Note: Please tell me in layman terms. I saw articles and questions talking in terms of IP addresses and other things which are strange for me.
EDIT 1:
goto settings in the device and turn on the device wifi, in the android OS. You haven't mentioned it in your post I'm just covering the basic solutions here.
Simply choose the Host-only Adapter for Adapter 1 and NAT for Adapter 2.
Make sure the cable-connected is selected(ticked).
Host-only can be used to create a network containing the host and a set of virtual machines, without the need for the host's physical network interface. Instead, a virtual network interface (similar to a loopback interface) is created on the host, providing connectivity among virtual machines and the host.
This works for me.
Hope it helps.
Try just turning on the WiFi in GenyMotion and selecting the WiredSSID.
I know this question been answered, but thought a picture would be easy to understand. Hope it helps.
No of the above solution worked for me, I fixed the issue by changing the ip address settings on the adapter by going to File >> Preferences >> Network in VirtualBox:
Adapter
IP: 192.168.217.2
Network Mask: 255.255.255.0
DHCP Server
Server Address: 192.168.217.100
Server Mask: 255.255.255.0
Lower Address Bound: 192.168.217.101
Upper Address Bound: 192.168.217.254
Go to settings >> Network in VirtualBox: adapter 1 >> advanced >> MAC address button generated new mac address.
I hope it solves the problem.
Go to your PC Ethernet or WIFI Settings and change the Adapter Preferred DNS Server to 8.8.8.8
In Genymotion,
Go to settings of your device and make sure adapter that you have selected is NAT(Default) not bridged or anything..
Now, make sure that your PC is connected to Internet...
It will work , most probably

Genymotion proxy with user/password

I'm running Android through Genymotion using the following configuration:
For the Host-Only I used 192.168.1.213 and DHCP allocates addresses starting with 192.168.1.214
My computer is behind a Squid proxy that has user and password, and address 192.168.1.2 with port 4444
I start the Android VM and in Genymotion Configuration I can see IP Management to be IP 192.168.1.214. I can also ping this address from my computer with success, so all good until here.
If I go to Menu -> Settings -> Wireless & Networks -> Wi-Fi -> WiredSSID -> Modify Network, I see IP address 10.0.3.15 - why is that?
Also, if I try to configure proxy, all I get is host and port, but no options for user/pass, so when I try to access a page in the browser, it says that proxy authentication doesn't work.
Is there a way to configure Android to work through my proxy? If so, what should I configure?
Thank you
Your IP configuration looks correct.
There is two connection between genymotion and your host.
The first one is only technical, to allow Genymotion to run (host
only).
The other one is the one that will be used when trying to get
internet from Genymotion. (NAT)
In Genymotion Settings, under proxy settings, you will be able to set your username & password for your proxy.
If you want to do more complex authentication schemes, like NTLM or Kerberos, Genymotion won't work. But as a workaround, you could use tools like Cntlm, or NtlmAps, that will provide a local, non authenticated, proxy and take care of upstream proxy authentication for Genymotion.
This settings will only work for the sofware Genymotion.
Inside Android, you will also need to set a proxy in the settings.
Go to: Settings -> Wi-Fi -> Long Click on "WiredSSID" -> Modify network -> Check "show advanced settings".
As mentionned there, the proxy will only works for the Browser, and maybe Gmail also.
You will need to set it also on the settings of each app you trying to use.
Not all of your apps will provide a proxy setting. I think Twitter does, but if your app doesn't provide one, you're screwed!
I found a much simpler solution.
All you have to do is to create a rule in proxifier which will let genymotion to use the host default ip. In this way it will manage to connect to the oracle virtual machine ( which has no problem with working with proxifier; obviously, in proxifier you will setup your proxy with its authentication credentials).

How to access localhost from a Genymotion android emulator?

I can not figure out how to access localhost from a Genymotion android emulator. By the way, Im using MAMP.
Update
After genymotion update to 2.2 you can use 10.0.3.2, ref
Another approach
To access your localhost through Genymotion is using your PC IP address. to get your IP address go to:
start -> cmd -> ipconfig
then search for IPv4, copy the IP and paste it in your URL. It should looks like the following:
String YourURL = "http://192.168.0.106:8888/your_script_location.php";
Hope this works too for you, give me a feedback.
P.S: if it didn't work, turn off the firewall and any anti-virus application you have in your PC.
you need this structure
Genymotion
http://10.0.3.2/
Default AVD
http://10.0.2.2/
the http it's very important and the port it's for default It depends on your server.
you can check this url in your browser the smartphone
The IP returned by ipconfig dit not work for me. However 10.0.3.2 worked for me even though the IP address in the Wifi setting is 10.0.3.15.
Genymotion 2.2.0
it works for me by using http://192.168.56.1:8080
to know your IP just use the following command
for
(mac and linux) ifconfig vboxnet0
windows command ipconfig vboxnet0
and make sure the port is collect.
I got the answer from : here
Genymotion! It works for me using IP 10.0.3.2 but depends on your localhost port. Apache it will be just IP and Tomcat with default port 8080. Here I take screenshots.
1. Apache Screenshot
2. Tomcat Screenshot
Hope this is helpful. Thanks!
Intro:
Long story short, Genymotion is running on Virtualbox, and the default network configuration is “Host-Only.” This method essentially emulates a physical network that is shared by your Genymotion VM (the emulator) and your host machine. The name of the network is vboxnet0, and if you run “ifconfig vboxnet0” (or “ipconfig vboxnet0” if running Windows) on your host machine, you should receive the IP address of your host on the vboxnet0 network. The default IP is most likely 192.168.56.1.
Solution:
This is the IP address to use when accessing your host machine from the Genymotion emulator. For my Rails app, this meant calling “192.168.56.1:3000” instead of “10.0.2.2:3000.”
Link:
http://bbowden.tumblr.com/post/58650831283/accessing-a-localhost-server-from-the-genymotion
run xampp(def 127.0.0.1:80) and go to Control Panel\All Control Panel Items\Network and Sharing Center
select connection
When i used genymotion in my ubuntu
i used the ip address of the virtual machine as local host and it worked .
in virtual box goto file > preferences > network > select host only network and select adapter tab copy the ipv4 address and use it instead of localhost ...
like http://192.168.56.1/qrstuff/json/
Check your Internet Connection on PC first,
then Turn on Wifi in your Genymotion Emulator Device
After goto Cmd by Pressing ctrl+r then type Cmd and hit enter you will see an command line window
type ipconfig and hit enter...
here you can see your ipv4 address type it in your Genymotion Emulator Device's Browser now you can connect to your local webserver....
In my case 10.0.3.2 didn't work. I changed to virtual box host-only network : 192.168.128.2 it works.
You have to try other virtualbox adapters IP if it doesn't work with 192.168.56.1.
My environment is behind a corporate proxy and I was running an embedded undertow server.
Hope it helps.

Categories

Resources