<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Calvin's Tech Space

    成于堅忍,毀于浮躁

       :: 首頁 :: 聯系 :: 聚合  :: 管理
    當真機通過usb連接到電腦后,運行adb devices顯示no permission錯誤,需要進行如下步驟(文檔 Developing on a Device ): 
     

    Setting up a Device for Development

    With an Android-powered device, you can develop and debug your Android applications just as you would on the emulator. There are just a few things to do before you can start.

    1. Declare your application as "debuggable" in your Android Manifest.

      In Eclipse, you can do this from the Application tab when viewing the Manifest (on the right side, set Debuggable to true). Otherwise, in theAndroidManifest.xml file, add android:debuggable="true" to the <application> element.

    2. Turn on "USB Debugging" on your device.

      On the device, go to the home screen, press MENU, select Applications > Development, then enable USB debugging.

    3. Setup your system to detect your device.
      • If you're developing on Windows, you need to install a USB driver for adb. Follow the steps below for Installing the WinUsb Driver.
      • If you're developing on Mac OS X, it just works. Skip this step.
      • If you're developing on Ubuntu Linux, you need to add a rules file:
        1. Login as root and create this file: /etc/udev/rules.d/51-android.rules.

          For Gusty/Hardy, edit the file to read: 
          SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

          For Dapper, edit the file to read: 
          SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666"

        2. Now execute:
          chmod a+rx /etc/udev/rules.d/51-android.rules

    You can verify that your device is connected by executing adb devices from your SDK tools/ directory. If connected, you'll see the device name listed as a "device."

    If using Eclipse, select run or debug as usual. You will be presented with a Device Chooser dialog that lists the available emulator(s) and connected device(s). Select the device to install and run the application there.

    If using the Android Debug Bridge (adb), you can issue commands with the -d flag to target your connected device.

    posted on 2010-03-14 20:02 calvin 閱讀(2082) 評論(0)  編輯  收藏 所屬分類: Android
    主站蜘蛛池模板: a级毛片高清免费视频| 亚洲人成未满十八禁网站| 亚洲高清免费视频| 免费一级毛片正在播放| 成人亚洲国产精品久久| 国产免费午夜a无码v视频| 亚洲日本VA午夜在线影院| 成年女人视频网站免费m| 亚洲kkk4444在线观看| 日本一道本高清免费| 边摸边吃奶边做爽免费视频99 | 羞羞的视频在线免费观看| 国产成人精品高清免费| 国产成人va亚洲电影| 亚洲精品久久久www| a毛片视频免费观看影院| 久久夜色精品国产亚洲AV动态图| 中国国语毛片免费观看视频| 亚洲人JIZZ日本人| 性无码免费一区二区三区在线| 亚洲欧洲第一a在线观看| 国产成人免费高清激情明星| 久久亚洲精品专区蓝色区| 免费的涩涩视频在线播放| 免费无遮挡无码视频在线观看| 亚洲综合激情另类专区| 国产免费阿v精品视频网址| 久久久无码精品亚洲日韩按摩| 99久久国产热无码精品免费 | 午夜两性色视频免费网站| 黄色一级毛片免费| 精品国产亚洲一区二区三区| 最近2019中文字幕免费大全5| 亚洲码和欧洲码一码二码三码| 亚洲精品无码久久毛片| 99爱在线观看免费完整版| 久久国产亚洲精品| 精品亚洲一区二区三区在线观看| 日韩在线不卡免费视频一区| 亚洲人成图片网站| 亚洲午夜福利精品无码|