--------- beginning of /dev/log/main
D/DHCP ( 70): ===== DHCP message:
D/DHCP ( 70): op = BOOTREQUEST (1), htype = 1, hlen = 6, hops = 0
D/DHCP ( 70): xid = 0x330c0000 secs = 0, flags = 0x8000 optlen = 14
D/DHCP ( 70): ciaddr = 0.0.0.0
D/DHCP ( 70): yiaddr = 0.0.0.0
D/DHCP ( 70): siaddr = 0.0.0.0
D/DHCP ( 70): giaddr = 0.0.0.0
D/DHCP ( 70): chaddr = { 08 00 27 4d 57 9a }
D/DHCP ( 70): sname = ''
D/DHCP ( 70): file = ''
D/DHCP ( 70): op 53 len 1 { 01 } discover
D/DHCP ( 70): op 55 len 4 { 01 03 06 1c }
D/DHCP ( 70): ===== DHCP message:
D/DHCP ( 70): op = BOOTREPLY (2), htype = 1, hlen = 6, hops = 0
D/DHCP ( 70): xid = 0x330c0000 secs = 0, flags = 0x0000 optlen = 312
D/DHCP ( 70): ciaddr = 0.0.0.0
D/DHCP ( 70): yiaddr = 192.168.56.101
D/DHCP ( 70): siaddr = 0.0.0.0
D/DHCP ( 70): giaddr = 0.0.0.0
D/DHCP ( 70): chaddr = { 08 00 27 4d 57 9a }
D/DHCP ( 70): sname = ''
D/DHCP ( 70): file = ''
D/DHCP ( 70): op 53 len 1 { 02 } offer
D/DHCP ( 70): op 54 len 4 { c0 a8 38 64 }
D/DHCP ( 70): op 51 len 4 { 00 00 0e 10 }
D/DHCP ( 70): op 1 len 4 { ff ff ff 00 }
D/DHCP ( 70): --- dhcp offer (2) ---
D/DHCP ( 70): ip 192.168.56.101 gw 0.0.0.0 prefixLength 24
D/DHCP ( 70): server 192.168.56.100, lease 3600 seconds
D/DHCP ( 70): ===== DHCP message:
D/DHCP ( 70): op = BOOTREQUEST (1), htype = 1, hlen = 6, hops = 0
D/DHCP ( 70): xid = 0x340c0000 secs = 0, flags = 0x8000 optlen = 26
D/DHCP ( 70): ciaddr = 0.0.0.0
D/DHCP ( 70): yiaddr = 0.0.0.0
D/DHCP ( 70): siaddr = 0.0.0.0
D/DHCP ( 70): giaddr = 0.0.0.0
D/DHCP ( 70): chaddr = { 08 00 27 4d 57 9a }
D/DHCP ( 70): sname = ''
D/DHCP ( 70): file = ''
D/DHCP ( 70): op 53 len 1 { 03 } request
D/DHCP ( 70): op 55 len 4 { 01 03 06 1c }
D/DHCP ( 70): op 50 len 4 { c0 a8 38 65 }
D/DHCP ( 70): op 54 len 4 { c0 a8 38 64 }
D/DHCP ( 70): ===== DHCP message:
D/DHCP ( 70): op = BOOTREPLY (2), htype = 1, hlen = 6, hops = 0
D/DHCP ( 70): xid = 0x340c0000 secs = 0, flags = 0x0000 optlen = 312
D/DHCP ( 70): ciaddr = 0.0.0.0
D/DHCP ( 70): yiaddr = 192.168.56.101
D/DHCP ( 70): siaddr = 0.0.0.0
D/DHCP ( 70): giaddr = 0.0.0.0
D/DHCP ( 70): chaddr = { 08 00 27 4d 57 9a }
D/DHCP ( 70): sname = ''
D/DHCP ( 70): file = ''
D/DHCP ( 70): op 53 len 1 { 05 } ack
D/DHCP ( 70): op 54 len 4 { c0 a8 38 64 }
D/DHCP ( 70): op 51 len 4 { 00 00 0e 10 }
D/DHCP ( 70): op 1 len 4 { ff ff ff 00 }
D/DHCP ( 70): --- dhcp ack (5) ---
D/DHCP ( 70): ip 192.168.56.101 gw 0.0.0.0 prefixLength 24
D/DHCP ( 70): server 192.168.56.100, lease 3600 seconds
D/DHCP ( 70): configuring eth0
D/NetUtils( 70): Don't create null default route on eth0
E/vinput-seamless( 107): found PS2 device
E/vinput-seamless( 107): found seamless mouse device
I/installd( 119): installd firing up
--------- beginning of /dev/log/system
3 / 3 / 0 Регистрация: 16.06.2013 Сообщений: 185 |
|
1 |
|
09.08.2014, 10:47. Показов 13418. Ответов 4
Eclipse + Genymotion (на базе VirtualBox). Удалил, а потом установил Java. Удалил android sdk(с Eclipse). Затем скачал заново(установил все компоненты(все галочки)). Удалил полностью VirtualBox и Genymotion, установил заново версию Windows 32/64 bits (with VirtualBox)(такая и раньше была). Миниатюры
__________________
0 |
11 / 11 / 0 Регистрация: 18.02.2010 Сообщений: 153 |
|
09.08.2014, 17:48 |
2 |
что то с IP, сеть не встала при установке, возможно ее антивирус заблокировал
0 |
3 / 3 / 0 Регистрация: 16.06.2013 Сообщений: 185 |
|
09.08.2014, 17:59 [ТС] |
3 |
Strelok45
0 |
11 / 11 / 0 Регистрация: 18.02.2010 Сообщений: 153 |
|
09.08.2014, 18:41 |
4 |
у меня также через роутер сеть все отлично установилось, единственно, что настройки сети определяются при установки, следовательно она где то криво встала, проблему здесь надо искать
0 |
3 / 3 / 0 Регистрация: 16.06.2013 Сообщений: 185 |
|
09.08.2014, 19:26 [ТС] |
5 |
Я уже решил проблему. Решение напишу для других Я просто хотел узнать связано ли это с роутером, возможно и связано. Просто сеть не встала автоматически. Перед тем как добавить виртуальное устройство, я зашел в Виртуал Бокс и там залез в Настройки(нажал Машина-настроить…). Там зашел в настройки сети(Сеть). Там был какой-то адаптер(название длинное сейчас не помню точно, но он видимо и не встал автоматически), его я удалил(справа кнопка была для удаления) после этого выключил виртуал бокс и опять включил дженимоушн(запуск был долгим), и вот теперь уже видимо автоматически настроилась сеть и заработало.
2 |
Если вы используете ПК с Windows, сначала проверьте это (этот список выглядит довольно длинным, но первые три пули сообщают вам, может ли быть проблемой Hyper-V, а следующие пять пуль скажут вам если этот ответ решит вашу проблему — всего несколько минут!):
-
Откройте хорошую старомодную командную строку (а не PowerShell) с правами администратора и введите:
bcdedit
Enter
-
Посмотрите на элемент в списке:
hypervisorlaunchtype
. -
Если
hypervisorlaunchtype
отсутствует в списке или естьOff
, выйдите из этого ответа и посмотрите один из других ответов на этой странице. -
Если
hypervisorlaunchtype
находится в списке и установлен вAuto
, Hyper-V установлен и включен. -
Отключить
hypervisorlaunchtype
, набравbcdedit /set hypervisorlaunchtype off
Enter
-
Reboot
-
Попробуйте снова запустить свое устройство Genymotion.
-
Если он все еще не работает, включите
hypervisorlaunchtype
, введя в командной строке администратора:bcdedit /set hypervisorlaunchtype Auto
Enter
-
Reboot
-
Выход из этого ответа и ознакомьтесь с одним из других ответов на этой странице.
-
-
В противном случае, если ваше устройство Genymotion теперь запущено, у вас есть выбор:
-
Если вам не нужен Hyper-V, удалите его, сняв его в
Turn Windows Features On or Off
и выйдите из этого вопроса. -
Если вам нужен Hyper-V, разрешите легкое включение и отключение по сообщение в блоге Скотта Ханзельмана, которое я опишу в следующих пулях:
-
-
Вы можете оставить значение по умолчанию
Off
, а затем добавить элемент в меню загрузки, которое позволяет включать его или наоборот. -
Если вы оставляете по умолчанию как
Off
введите в командной строке admin следующее:bcdedit /copy {current} /d "Hyper-V"
Enter
и вы получите ответ вроде этого:
The entry was successfully copied to {ff-23-113-824e-5c5144ea}.
-
затем введите:
bcdedit /set {ff-23-113-824e-5c5144ea} hypervisorlaunchtype auto
Enter
(гарантируя, что вы замените GUID на тот, который дал вам ваш вызов
copy
)- Что это, ваше дело. (Чтобы переключиться между двумя, удерживайте клавишу Shift, когда вы идете на
Restart
, а затем выберитеOther Operating Systems
на синем экране, а затемHyper-V
на следующем экране, и ваша ОС перезапустится с помощью Hyper- V включен.)
-
-
Если вы хотите, чтобы Hyper-V был включен по умолчанию, введите в командной строке администратора:
bcdedit /set hypervisorlaunchtype Auto
Enter
(который вернет загрузку по умолчанию для включения Hyper-V)
-
Затем введите следующее в командной строке admin:
bcdedit /copy {current} /d "No Hyper-V"
Enter
и вы получите ответ вроде этого:
The entry was successfully copied to {ff-23-113-824e-5c5144ea}.
-
затем введите:
bcdedit /set {ff-23-113-824e-5c5144ea} hypervisorlaunchtype off
Enter
(гарантируя, что вы замените GUID на тот, который дал вам ваш вызов
copy
)- Что это, все готово. (Как и в случае с
Off
по умолчанию выше, для переключения между двумя удерживайте клавишу Shift, когда вы идете наRestart
, а затем выберитеOther Operating Systems
на синем экране иHyper-V
на следующем экране и ваша ОС перезапустится с включенным Hyper-V.)
-
Этот комментарий и этот ответ на вопрос, который вы сейчас читаете, приводят меня к резолюции в моей и я добавляю этот ответ, чтобы описать простые шаги, которые нужно предпринять, прежде чем тратить много времени на любое решение — этот комментарий и ответ помогут вам найти ответ на этот вопрос, но я изложил его шаг за шагом в надеюсь, что вы сможете сэкономить время.
Фон:
Эта статья Скотта Гензельмана дала мне мясо того, что я изложил, этот комментарий к этому сообщению в блоге Джонатаном Дикинсоном, помогая мне понять мое понимание и помешать мне исчезнуть с кроличьей дырой, но this статья Дерека Гусова тонко настроила шаги выше.
Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
If I try to open the Genymotion Virtual Device, a message will pop up and say «Virtual Device got no IP address. The Virtualbox DHCP server has not assigned an ip address to the virtual device.» What’s wrong? I followed Ben’s instructions!
3 Answers
Hi Stephanie!
Sorry I wasn’t able to solve your issue. Anyhow, using a mobile device will always be the fastest method and is what you’ll find most major Android Developer’s using — especially if you’re running the app a lot of times and want to test it on a device with Play Services.
There are a few things left to try if you want to use them so I’ll leave them here if you want to try your luck for one last time:
- Try using a different emulator. I once had this issue and by downloading a different emulator on Genymotion it fixed it somehow (Maybe just coincidence though).
- Try setting the Adapter/DHCP Server settings as above and also making sure there is only 1 adapter in Device Manager — disable all the others.
- Completely uninstall VirtualBox by running the uninstallation file. Then, in Windows Explorer, type
%userprofile%
into the Address Bar and delete the .VirtualBox file. Then, completely install Genymotion by following the instructions here. After that, restart your computer before attempting to reinstall VirtualBox and Genymotion.
Best of luck and if there’s anything else, give me a shout
In that case, try disabling #2 and #3. To do this, right-click on the adapters and press Disable.
If you were to do something wrong (e.g: Disable the wrong adapter), you can enable them again from the same right-click menu.
Then, see if Genymotion starts up properly this time.
Hey again Stephanie!
Could you please try changing Adapter 1 to VirtualBox Host-Only Ethernet Adapter without any #’s afterwards and give that a go.
If that doesn’t work, make sure Adapter 1 is still set as above but then also update Adapter 2 so that it is attached to NAT
You can do this in VirtualBox by selecting the device, pressing Settings and going to the Network tab.
If this doesn’t work, I’ve got one last thing to check which would be the general VirtualBox Network Preference (Accessible from File >> Preferences >> Network). It could be possible that there is an IP conflict here, causing the network adapter to not start correctly.
Let me know how it goes!