找到你要的答案

Q:ADB not detect Sony Xperia Z3 Compact (android 5.0.2)

Q:亚行不检测索尼Xperia Z3 Compact(Android 5.0.2)

ADB and Android Studio not detect my device in debugging mode. I work on Windows 7 x64 Pro with latest SDK platform tools.

I tried almost all different device configuration - plug in in MTP and MSC mode, revoke authorisation, install sony and modified generic drivers and any other tips - with no success.

Anyone has any idea to solve this problem?

亚行和Android Studio没有检测到我的设备在调试模式。我工作在Windows 7的x64 Pro最新的SDK平台工具。

我几乎尝试了所有不同的设备配置插件在MTP和MSC模式,撤销授权,安装索尼和改性的通用驱动程序和任何没有成功秘诀。

有人有什么办法解决这个问题吗?

answer1: 回答1:

Try installing Sony PC Companion. This should install all of the necessary drivers for communication with adb:

http://support.sonymobile.com/global-en/tools/pc-companion/

尝试安装索尼电脑伴侣。这应该安装所有必要的驱动程序与亚行沟通:

http://support.sonymobile.com/global-en/tools/pc-companion/

answer2: 回答2:

After all, without success, the device was found in Devices Manager but with question mark, and the driver was not found.

So I need to download the driver from Sony at

http://developer.sonymobile.com/downloads/drivers/xperia-z3-compact-driver/

and manually update the driver.

So, after that, the device was recognized in Android Studio.

Thanks

毕竟,没有成功,设备被发现在设备管理器,但与问号,并没有找到驱动程序。

所以我需要从索尼下载驱动程序

http://developer.sonymobile.com/downloads/drivers/xperia-z3-compact-driver/

手动更新驱动程序。

所以,在那之后,该设备被确认在Android工作室。

谢谢

answer3: 回答3:

After couple of days of fight with drivers I found solution and applied it with success. As I supposed and wrote in one comment above, the problem was not in adb drivers but with drivers (esspecially usb driver) installation. Shortly, to properly install drivers and run adb I need to clean cache drivers and rescan computer to rebuild driver information. I found description of similar problem here:

Windows 7: Unable to install any USB devices

Also I rewrite solution here for anyone who will have this kind of problem:

Here's the solution for the ones who might have this problem: This worked for me in Windows 7 Ultimate 64bit! You must have all administrator privileges!

1- Open Windows Explorer

2- Go to C:/Windows/System32/DriverStore

You will have a couple of folders and files. You will have *.dat files and other file named: infcache.1

3- Right click every file (dont touch the folders!) and choose properties.

4- go to security tab

5- click Edit

6- choose your account and check the box: full control (see ss)

7- Click ok.

8- Repeat to every file

9- Select all the files (*.dat and infcache.1)

10- Press shift+del

11- Press OK.

12- Now, go to C:Windows/System32/Driver Store/File Repository/

13- Search for folder named usbstor.inf

14- Open it (if you have more than one, choose the most recent)

15- Copy "usbstor.inf" and "usbstor.PNF"

16- Paste those two files to C:/Windows/inf

17- Reboot your pc and voilla! :b

If Windows doesnt install them automatically go to device manager, uninstall all unknown devices and the ones with the yellow exclamation mark, then click in "check to see if there is any hardware changes"

Now, Windows will install all your hardware successfully

After making all of this steps computer found automatically Sony Xperia Z3 Compact device, installed all drivers and adb show my device on the list. Finally it works well right now.

I hope it help if somoene will have simmilar problem in the future.

经过几天的战斗与司机我找到解决方案,并成功地应用它。我应该写在一个评论,问题不在ADB驱动但司机(特别安装USB驱动程序)。不久,正确安装驱动程序并运行ADB我需要清理缓存驱动器和扫描计算机重建驱动程序信息。我在这里找到类似问题的描述:

Windows 7无法安装任何USB设备

此外,我重写解决方案,为任何人谁会有这种问题:

Here's the solution for the ones who might have this problem: This worked for me in Windows 7 Ultimate 64bit! You must have all administrator privileges!

1 -打开Windows资源管理器

2去C:/窗口/我/ driverstore

You will have a couple of folders and files. You will have *.dat files and other file named: infcache.1

3 -右键单击每个文件(不要触摸文件夹!)并选择属性。

4 -去安全标签

5点击编辑

6 -选择您的帐户和复选框:完全控制(见SS)

7 -单击确定。

8 -重复到每一个文件

9 -选择所有文件(*. DAT和infcache。1)

10 -按Shift +删除

11 -按确定。

12现在,去C:Windows System32 /司机/存储/存储/文件

13文件夹命名为usbstor.inf搜索

14 -打开它(如果你有一个以上,选择最新的)

15份“usbstor .inf”和“usbstor。PNF”

16粘贴两文件C:/窗口/信息

17重新启动您的电脑和沃斯拉!:B

如果Windows没有自动安装到设备管理器,卸载所有未知设备和黄色感叹号,然后点击“检查是否有任何硬件更改”

现在,Windows将成功安装所有硬件

在所有这些步骤的计算机自动发现索尼Xperia Z3 Compact装置,安装所有的驱动和亚行在列表上显示我的设备。最后它工作得很好。

我希望如果somoene将来会有类似的问题,帮助。

android  debugging  adb  android-5.0-lollipop  sony-xperia