Linux下Android开发环境搭建详细步骤(5)
3、尝试查看Android设备:
[android@bogon platform-tools]$ ./adb devices
* daemon not running. starting it now on port 5037*
* daemon started successfully *
List of devices attached
???????????? no permissions
[android@bogon platform-tools]$
可以看出,该命令执行失败,返回的结果,本人不知。
4、加入创维M6的ID到adb_usb.ini文件下(必须拥有root权限,并且该文件存在于隐藏的.android文件夹下):
[android@bogon ~]$ suroot
密码:
[root@bogon android]# ls-al
总用量 200
drwx------. 34 android android 4096 4月 13 09:10 .
drwxr-xr-x. 5 root root 4096 4月 13 08:57 ..
drwx------. 3 android android 4096 4月 13 09:01 .adobe
drwxrwxr-x. 3 android android 4096 4月 13 09:18 .android
drwxrwxr-x. 4 android android 4096 4月 13 09:13 Base Env
-rw-r--r--. 1 android android 18 6月 22 2010 .bash_logout
-rw-r--r--. 1 android android 176 6月 22 2010 .bash_profile
-rw-r--r--. 1 android android 124 6月 22 2010 .bashrc
drwxr-xr-x. 3 android android 4096 4月 13 08:58 .cache
drwxr-xr-x. 6 android android 4096 4月 13 09:13 .config
drwx------. 3 android android 4096 4月 13 08:58 .dbus
-rw-r--r--. 1 android android 500 1月 24 2007 .emacs
-rw-------. 1 android android 16 4月 13 08:58 .esd_auth
drwx------. 4 android android 4096 4月 13 08:59 .gconf
drwx------. 2 android android 4096 4月 13 09:09 .gconfd
drwxr-xr-x. 7 android android 4096 4月 13 09:07 .gnome2
drwx------. 2 android android 4096 4月 13 08:58 .gnome2_private
drwxrwxr-x. 3 android android 4096 4月 13 08:58 .gnote
drwx------. 2 android android 4096 4月 13 08:58 .gnupg
drwxrwxr-x. 2 android android 4096 4月 13 08:58 .gstreamer-0.10
-rw-rw-r--. 1 android android 200 4月 13 08:58 .gtk-bookmarks
drwx------. 2 android android 4096 4月 13 08:58 .gvfs
-rw-------. 1 android android 310 4月 13 08:58 .ICEauthority
-rw-r--r--. 1 android android 794 4月 13 08:58 .imsettings.log
drwx------. 3 android android 4096 4月 13 09:09 .kde
-rw-r--r--. 1 android android 121 6月 29 2010 .kshrc
drwxr-xr-x. 3 android android 4096 4月 13 08:58 .local
drwx------. 3 android android 4096 4月 13 09:01 .macromedia
-rw-r--r--. 1 android android 124 6月 25 2010 .mkshrc
drwxr-xr-x. 5 android android 4096 4月 13 08:58 .mozilla
drwxr-xr-x. 2 android android 4096 4月 13 08:58 .nautilus
drwx------. 2 android android 4096 4月 13 08:58 .pulse
-rw-------. 1 android android 256 4月 13 08:58 .pulse-cookie
-rw-------. 1 android android 218 4月 13 09:07 .recently-used.xbel
drwxrwxr-x. 3 android android 4096 4月 13 08:58 .redhat
drwx------. 2 android android 4096 4月 13 08:58 .ssh
drwx------. 3 android android 4096 4月 13 09:10 .thumbnails
drwxrwxr-x. 3 android android 4096 4月 13 09:10 workspace
-rw-------. 1 android android 50 4月 13 08:57 .xauthoxIGCv
-rw-------. 1 android android 4401 4月 13 09:26 .xsession-errors
-rw-r--r--. 1 android android 658 12月 9 2009 .zshrc
drwxr-xr-x. 2 android android 4096 4月 13 08:58 公共的
drwxr-xr-x. 2 android android 4096 4月 13 08:58 模板
drwxr-xr-x. 2 android android 4096 4月 13 08:58 视频
drwxr-xr-x. 2 android android 4096 4月 13 08:58 图片
drwxr-xr-x. 2 android android 4096 4月 13 08:58 文档
drwxr-xr-x. 2 android android 4096 4月 13 09:13 下载
drwxr-xr-x. 2 android android 4096 4月 13 08:58 音乐
- 上一篇:Linux操作系统下设置基本网络参数四种方法
- 下一篇:linux下零拷贝技术介绍