web-dev-qa-db-ja.com

LG G2 vs980はADBデバイスコマンドで認識されません(virtualboxのWin7)

私はしばらくの間、学校でEclipseを介してAndroidモバイルアプリを開発し、アプリを仮想デバイスに展開しています。ただし、テストと速度を向上させるために、それらをLG G2 Androidデバイスに展開したいと思います。他のデバイスが機能していないという投稿があることは知っていますが、解決策は役に立ちません。

私は、windows 7を実行しているvirtualboxを使用しています。必要なvb拡張機能がインストールされており、vbはLG G2を検出します(フォルダーを表示するように要求します)。

他の人が自分のデバイスを検出するのに役立つことを発見したので、適切なデバイスベンダーID(1004、0232)をadb_usb.iniファイルに入れました。

コマンドadb kill-server&start-serverを何度も実行しました。私も電話とvbを再起動しました。私はすべての電話接続タイプ(インターネット/イーサネット、MTP)も試しました

いくつかの助けは素晴らしいでしょう、おかげで

19
karns

電話を接続すると、「USB接続方法」のオプションが表示されます。

SBデバッグツールを使用するには、リストから_Internet connection_またはSend Images (PTP)を選択する必要があります。

_Internet Connection_を選択する場合、他のオプションには_Charge phone_、_Media sync_、Cameraが含まれることがあります。

Send Images (PTP)を選択する場合、他のオプションには_Charge Phone_およびMedia Device (MTP)が含まれることがあります。

47
Daniel Smith

いくつかの解決策があります:

1)デバイスが接続されたときにDevice manager(デフォルトのWindowsツール)を開き、Unknown deviceまたは正しく認識されていないデバイスを見つけて、ドライバーを手動でセットアップしてみます。

2)電話の設定でUSB debuggingオプションを有効にします。
Setting->About Phoneに移動し、Build Numberを数回タップします。
次に戻って(Settings->Developer -> Options)オンにします

3)Eclipseから起動したUSB driver/adbを介してAndroid Managerを更新してください。

9
Arseniy

LG g2をAndroid 4.4から5.0.2にアップグレードしたところ、USBデバッグが機能しなくなりました。

USB接続方法に「インターネット」オプションがありませんでした。

多くの試行錯誤、検索、実験の結果、「設定」->「テザリングとネットワーク」->「USBテザリング」で「USBテザリング」を有効にするとうまくいくことがわかりました。 USBテザリングを有効にしたら、adb/AndroidStudioを介してデバッグプログラムをダウンロードできます。 USBテザリングを有効にする前は、adbは5.0.2デバイスを認識できませんでした。

6
rdk

WindowsでADBをセットアップする方法

Download the Android SDK package for Windows [Android-sdk_r21.1-windows.Zip]
Extract the Zip files to your C:\ drive. Now you have a folder Android-sdk-linux
Double click on SDK Manager to initiate the SDK manager. You shall perceive the following window.
Make sure everything is un-ticked. Now select Android SDK Platform-tools and install it.
During the next window, you will be prompted. Accept the license and click on Install.
When the installation is complete, close the window.
The SDK manager has now download the platform-tools successfully, which certainly includes our prior ADB.
The next step is to define the path where ADB is present.
Go to C:\Android-sdk-windows\platform-tools and take note of this path.
Go to desktop, right click on Computer and select Properties.
On the left pane, click on Advanced System Settings and a new window shall open.
Select Environment Variables under Advanced tab.
Select Path variable and click edit.
Now add the path we noted in step #9 to the variable value and hit OK.
Confirm and apply all the changes.
To confirm that ADB has been configured properly, open CMD window and type in:

adb

You now have ADB successfully installed and configured on your Windows machine
0
Mecaly Walis