set ADB_HOST=192.168.1.1
adb connect 192.168.1.24:5555
回去再试一下
2011-6-1
见鬼了,在公司的平板电脑上可以,在自己的开发板上咋的就不行了呢?
能ping通就是连不上,
C:\Documents and Settings\fanfq>ping 192.168.1.105
Pinging 192.168.1.105 with 32 bytes of data:
Reply from 192.168.1.105: bytes=32 time=2ms TTL=64
Reply from 192.168.1.105: bytes=32 time=1ms TTL=64
Reply from 192.168.1.105: bytes=32 time=3ms TTL=64
Reply from 192.168.1.105: bytes=32 time=1ms TTL=64
Ping statistics for 192.168.1.105:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 3ms, Average = 1ms
C:\Documents and Settings\fanfq>set ADB_HOST=192.168.1.1
C:\Documents and Settings\fanfq>adb kill-server
* server not running *
C:\Documents and Settings\fanfq>adb connect 192.168.1.105:5555
* daemon not running. starting it now *
* daemon started successfully *
unable to connect to 192.168.1.105:5555
求各位大神指教如何成功的翻——————墙啊,木有VPN啊U97也用不了了····
im_chat_head.xml:
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="40dp"> <HorizontalScrollView android:layout_width="fill_parent" android:scrollbars="none" android:layout_height="fill_parent"> <FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout android:layout_width="800dip" android:id="@+id/lt_chat_head_total" android:layout_gravity="right" android:layout_height="fill_parent" android:orientation="horizontal"> <GridView android:layout_width="wrap_content" android:numColumns="auto_fit" android:layout_height="50dip" android:id="@+id/gv_chat_user_head"></GridView> </LinearLayout> </FrameLayout> </HorizontalScrollView> </LinearLayout>
这里将android:scrollbars="none" 设置none使得滚动的那个跳栏不可见
im_chat.xml:
<include android:id="@+id/im_chat_wrap_head" android:visibility="visible" android:layout_alignParentTop="true" android:layout_width="fill_parent" android:layout_gravity="right" android:layout_height="wrap_content" layout="@layout/im_chat_head"> </include>
效果图: