English 中文(简体)
在 OSX 狮子上的 adb, 但无法连接到银河系 10.1 标签, 但在 Linux 中工作良好 。
原标题:adb on OSX Lion, but can t connect to galaxy 10.1 tab, but works fine in linux

我试图连接到银河塔10.1 正在运行的安卓3.2

我见过几个类似的问题, 但似乎都与装置设置错误有关。 我设置它是为了允许“ 未知来源 ”, 我也启用了“ Usb 调试 ” ( Usb Debuging) 。 我可以在 Linux 和 Window 机器上使用 adb, 这样我的平板电脑似乎就设置正确, 电缆功能也正常 。

当我把它插到我的Macbook pro上时, 标签会以提示回应, 显示它知道连接, 但当我运行 adb 设备时, 没有列出设备 。

我的OSX安装相当新,我还没有安装任何类型的系系软件。

有什么想法吗?

最佳回答

默认的 adb 不是所有设备类型都设置的 。 请将您当前 ~ /. android/ adb_ usb. ini 的文件替换为下面的文件, 它会修正问题 。 我不得不对相同的设备在 Mac 上也这样做 。

# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE  android update adb  TO GENERATE.
# 1 USB VENDOR ID PER LINE.
# Acer
0x0502
# AOC
0x2207
# Amazon Kindle
0x1949
# ASUS
0x0B05
# Dell
0x413C
# Foxconn
0x0489
# Fujitsu
0x04C5
# Fujitsu Toshiba
0x04C5
# Garmin-Asus
0x091E
# Google
0x18D1
# Hisense
0x109B
# HTC
0x0BB4
# Huawei
0x12D1
# K-Touch
0x24E3
# KT Tech
0x2116
# Kyocera
0x0482
# Lenevo
0x17EF
# LG
0x1004
# Motorola
0x22B8
# NEC
0x0409
# Nook
0x2080
# Nvidia
0x0955
# OTGV
0x2257
# Pantech
0x10A9
# Pegatron
0x1D4D
# Philips
0x0471
# PMC-Sierra
0x04DA
# Qualcomm
0x05C6
# SK Telesys
0x1F53
# Samsung
0x04E8
# Sharp
0x04DD
# Sony
0x054C
# Sony Ericsson
0x0FCE
# Teleepoch
0x2340
# Toshiba
0x0930
# ZTE
0x19D2
问题回答

检查该设备是否在系统配置文件( 包含在 OS X 中) 的 USB 下显示( OS X 中) 。 如果显示在 OS X 中, 但不在 ADB 中, 请尝试将电话的 USB 供应商 ID 添加到 ~/.android/adb_ usb. ini 。

此文件如果不存在, 可以创建 。 您需要 Galaxy 制表符 10. 1 卖主 id 。

请确保文件的最后一行为供应商身份, 不要在结尾处留下空白行 。

执行执行

android update adb

~/.and.android/adb_usb.ini 文件自动更新。 重新启动 adb 或重新启动您的机器 。





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签