龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > 操作系统 > LINUX系统 >

Linux下Android开发环境搭建详细步骤(8)

时间:2014-05-26 15:01来源:网络整理 作者:网络 点击:
分享到:
????????????no permissions [android@bogon platform-tools]$ ./adb kill-server [android@bogon platform-tools]$ ./adb start-server * daemon not running. starting it now on port 5037* * daemon started suc

????????????   no permissions                                      

[android@bogon platform-tools]$ ./adb kill-server

[android@bogon platform-tools]$ ./adb start-server

* daemon not running. starting it now on port 5037*

* daemon started successfully *                    

[android@bogon platform-tools]$ ./adb devices      

List of devices attached                           

????????????   no permissions                     

[android@bogon platform-tools]$ cd /etc/udev/rules.d

[android@bogon rules.d]$ ll                         

总用量 76                                          

-rw-r--r--. 1 root root 6627  6月 24 2010 40-hplip.rules

-rw-r--r--. 1 root root  226  8月 18 2010 51-dlm.rules 

-rw-r--r--. 1 root root  495  6月 24 2010 56-hpmud_support.rules

-rw-r--r--. 1 root root 1652  8月 26 201060-fprint-autosuspend.rules

-rw-r--r--. 1 root root 1060  6月 29 2010 60-pcmcia.rules           

-rw-r--r--. 1 root root  452  8月 13 2010 60-raw.rules              

-rw-r--r--. 1 root root  292  7月 17 2010 70-cups-libusb.rules      

-rw-r--r--. 1 root root  788  2月 21 02:41 70-persistent-cd.rules   

-rw-r--r--. 1 root root  460  2月 21 01:49 70-persistent-net.rules  

-rw-r--r--. 1 root root 1914  1月 13 2010 85-pcscd_ccid.rules       

-rw-r--r--. 1 root root  320  5月 15 2009 90-alsa.rules             

-rw-r--r--. 1 root root   83  7月 28 2010 90-hal.rules              

-rw-r--r--. 1 root root  359  8月 18 2010 90-rdma.rules             

-rw-r--r--. 1 root root   53  4月 19 2010 91-drm-modeset.rules      

-rw-r--r--. 1 root root 2486  6月 30 201097-bluetooth-serial.rules 

-rw-r--r--. 1 root root  292  8月 30 2010 98-kexec.rules            

-rw-r--r--. 1 root root   54  4月  9 2010 99-fuse.rules              

-rw-r--r--. 1 root root   53  4月 13 09:39 imx-android.rules                                    

[android@bogon rules.d]$ su root

密码:                         

[root@bogon rules.d]# chmod+rx imx-android.rules

[root@bogon rules.d]# ll                         

总用量 76                                        

-rw-r--r--. 1 root root 6627  6月 24 2010 40-hplip.rules

-rw-r--r--. 1 root root  226  8月 18 2010 51-dlm.rules 

-rw-r--r--. 1 root root  495  6月 24 2010 56-hpmud_support.rules

-rw-r--r--. 1 root root 1652  8月 26 201060-fprint-autosuspend.rules

-rw-r--r--. 1 root root 1060  6月 29 2010 60-pcmcia.rules

-rw-r--r--. 1 root root  452  8月 13 2010 60-raw.rules

-rw-r--r--. 1 root root  292  7月 17 2010 70-cups-libusb.rules

-rw-r--r--. 1 root root  788  2月 21 02:41 70-persistent-cd.rules

-rw-r--r--. 1 root root  460  2月 21 01:49 70-persistent-net.rules

-rw-r--r--. 1 root root 1914  1月 13 2010 85-pcscd_ccid.rules

-rw-r--r--. 1 root root  320  5月 15 2009 90-alsa.rules

-rw-r--r--. 1 root root   83  7月 28 2010 90-hal.rules

-rw-r--r--. 1 root root  359  8月 18 2010 90-rdma.rules

-rw-r--r--. 1 root root   53  4月 19 2010 91-drm-modeset.rules

-rw-r--r--. 1 root root 2486  6月 30 2010 97-bluetooth-serial.rules

-rw-r--r--. 1 root root  292  8月 30 2010 98-kexec.rules

-rw-r--r--. 1 root root   54  4月  9 2010 99-fuse.rules

-rwxr-xr-x. 1 root root   53  4月 13 09:39 imx-android.rules

[root@bogon rules.d]#

6、启动/etc/init.d/udev-post服务:

[root@bogon rules.d]# /etc/init.d/udevrestart

bash: /etc/init.d/udev: 没有那个文件或目录

[root@bogon rules.d]# cd/etc/init.d/

[root@bogon init.d]# ls| grep udev

udev-post

[root@bogon init.d]# /etc/init.d/udev-postrestart

用法:/etc/init.d/udev-post {start|stop|reload}

[root@bogon init.d]# /etc/init.d/udev-postreload

精彩图集

赞助商链接