Hi there ,
I have recently started android development and I am very excited about it .
I have installed eclipse and android SDK and set up the connection and other stuff. However , I found that the emulator that comes with it is very slow.
So , I installed Virtualbox and created a virtual machine with android Froyo 2.2 in it . It works great , opens the app in less than 2 seconds . But I have done that when my laptop was connected to internet.
Can I connect the adb to the android vm offline ie when the pc is not connected to internet? I have tried giving a static ip to the android machine but the adb manager doesn't connect with that .
Here is what I used on terminal in android virtual machine .
[HIGH]$ su
# netcfg
lo 127.0.0.1
eth 192.168.1.3 /* this is the ip that gets assigned dynamically when my laptop is connected to the internet.*/[/HIGH]
Then I open adb in dos window(as I use Windows 7 64-bit HomeBasic):
[HIGH]C:/path.../platform-tools> adb connect 192.168.1.3
[/HIGH]
It gets connected successfully when my laptop is connected to internet . However , it is not connected when laptop is not connected to internet.
I want to connect adb to the virtual machine at anytime . How can I do that ?
I hope ,I am clear and expect someone to reply soon...thanks
I have recently started android development and I am very excited about it .
I have installed eclipse and android SDK and set up the connection and other stuff. However , I found that the emulator that comes with it is very slow.
So , I installed Virtualbox and created a virtual machine with android Froyo 2.2 in it . It works great , opens the app in less than 2 seconds . But I have done that when my laptop was connected to internet.
Can I connect the adb to the android vm offline ie when the pc is not connected to internet? I have tried giving a static ip to the android machine but the adb manager doesn't connect with that .
Here is what I used on terminal in android virtual machine .
[HIGH]$ su
# netcfg
lo 127.0.0.1
eth 192.168.1.3 /* this is the ip that gets assigned dynamically when my laptop is connected to the internet.*/[/HIGH]
Then I open adb in dos window(as I use Windows 7 64-bit HomeBasic):
[HIGH]C:/path.../platform-tools> adb connect 192.168.1.3
[/HIGH]
It gets connected successfully when my laptop is connected to internet . However , it is not connected when laptop is not connected to internet.
I want to connect adb to the virtual machine at anytime . How can I do that ?
I hope ,I am clear and expect someone to reply soon...thanks