---
title: "mac 下 android studio 识别不出真机"
author: "恶灵挽歌"
date: "2016-10-25T19:10:34Z"
tags: ["Android", "Mac"]
categories: ["移动开发"]
slug: "mac-android-studio"
draft: false
lastmod: "2016-10-25T19:58:30Z"
id: 2333152
url: "https://elingwange.iteye.com/blog/2333152"
---

$  system_profiler SPUSBDataType 
找到  Vendor ID: 0x2717

vim ~/.android/adb_usb.ini  
输入 0x2717 前面不能有空行以及空格

$  cd /Users/david/Library/Android/sdk/platform-tools/ 
$  ./adb kill-server 
$  ./adb start-server 
$  ./adb devices 
List of devices attached  
BYGIF6OBYPT4RGDI    device

再运行后，一切正常