programing

Eclipse-Android 장치 선택기에서 "알 수 없음"대상

nasanasas 2020. 11. 6. 08:22
반응형

Eclipse-Android 장치 선택기에서 "알 수 없음"대상


LG-P500을 사용하고 있습니다. 'Android 기기 선택기'에서 선택하려고하면 Eclipse는 전화를 인식하지만 대상은 인식하지 못합니다. 대상 "알 수 없음"이라고 표시됩니다. 이 문제 때문에 Android 기기로 휴대 전화를 선택할 수 없습니다.

Eclipse가 대상을 인식하도록하려면 어떻게해야합니까?


LG 전화에서도 같은 문제가있었습니다. 재부팅 (전화)이 저에게 효과적이었습니다.


내가 아는 한 가지 해결책은 전화기에서 USB 디버깅을 끄고 켜는 것입니다. 또한 인식되지 않는 다른 종류의 문제를 해결하기 위해 발생합니다.


장치가 인식되지만 일식이 알 수 없음으로 표시되는 경우 다음 단계를 따르십시오.

->open cmd   
->go to the your android sdk directory --> Go to platform-tools
->adb kill-server
->adb start-server

이것은 확실히 당신의 문제를 해결할 것입니다 :)

이미 USB 드라이버를 설치했는데 여전히 장치가 알 수 없음으로 표시되는 경우이 해결 방법을 따르십시오. 내 MOTO G에 동일한 문제가 있었는데이 솔루션이 잘 작동합니다.


장치 확인

USB 연결됨

USB 디버깅 연결됨

또는 다음을 확인하십시오.

해결책은 장치에 대한 udev 규칙을 만드는 것이 었습니다. 특정 공급 업체 기기에 대한 udev 규칙을 설정하는 방법 http://developer.android.com/guide/developing/device.html#setting-up참조 하세요.

제자리에 규칙이 있습니다. Eclipse를 실행하고 디버그 할 수있었습니다.

여기에 이미지 설명 입력


간단한 트릭 하나가 잘 작동합니다.

  1. PC에서 장치 분리
  2. 전화 설정에서 USB 디버깅 인증 취소를 누릅니다.
  3. 장치를 PC에 다시 연결
  4. RSA 승인을 위해 확인을 누릅니다.

또한 이것을 시도 하십시오 .

  1. " USB 컴퓨터 연결 "로 이동
  2. " 미디어 장치 (MTP) " 로 연결을 선택합니다.

내 SCH-I535 장치가 대상이 아닌 이유는 장치를 USB 3.0 포트에 연결했기 때문입니다. 2.0에 연결하면 모든 것이 제대로 작동하기 시작했습니다.


이러한 제안을 시도했지만 안타깝게도 아무 효과가 없었습니다.

나를 위해 일한 것은 다음과 같습니다.

  1. Eclipse 닫기
  2. adb.exe 프로세스 종료 (Windows 작업 관리자 사용)
  3. Eclipse를 다시 시작합니다 (이제 Android Device Chooser에서 장치가 인식됨).

설정-> 저장소-> 오른쪽 상단 메뉴 버튼 클릭-> USB 컴퓨터 연결-> 미디어 장치 (MTP) 활성화 여부 확인


컴퓨터에 휴대폰 용 드라이버가 설치되어 있습니까? 이클립스는 휴대폰 용 드라이버 와 함께 자동으로 제공되지 않습니다 .


케이블을 변경하여 문제가 해결되었습니다. 다른 것은 나를 위해 일하지 않았습니다.


이 문제에 대해 USB 케이블을 분리 / 재 연결하고 USB 디버깅을 켜거나 끄고 효과없이 Eclipse를 다시 시작하려고했습니다. 다른 안드로이드 장치를 사용해도 정확히 동일한 이클립스 오류가 표시되어 '오프라인'으로 표시된 두 항목이 표시되었으며 USB 연결을 끊은 후에도 아무것도 연결되지 않은 상태에서도 여전히 하나의 항목이 표시되었습니다. 내 문제는 내 컴퓨터를 재부팅하고 다시 시작하여 해결되었습니다. 아마도 adb.exe 프로그램 (답변 4)을 끝내면 제 경우에도 끝났을 것입니다.


갤럭시 S5

나는 이것이 이미 여러 번 답변을 받았음을 알고 있지만 Galaxy S5를 사용하는 경우 USB 디버깅을 껐다가 켜면이 문제가 해결됩니다.


전화기가 연결되어 있고 Eclipse 창에 "알 수 없음"아이콘이 표시되면 ... 전화기에서 USB 디버깅을 껐다가 다시 켜면 해당 컴퓨터에 연결을 허용할지 묻는 메시지가 표시되며 항상 허용하도록 할 수 있습니다. 그래서. 그러면 OK가 나타납니다.


개발 장치에 대한 udev 규칙을 만듭니다 .


나는이 같은 문제가 있었고이 게시물을 발견하여 나를 위해 해결했습니다.

http://dl.google.com/android/repository/platform-tools_r16.0.1-windows.zip을 다운로드 하여 압축을 풀고 "C : \ Program Files (x86) \ Android \ android-sdk \ platform-tools"를 교체하세요. 그 디렉토리

크레딧은 hack_on으로 이동합니다 .

나를 도운 그의 게시물은 다음과 같습니다. https://stackoverflow.com/a/15000565/342497

감사! :-)


If you cannot select the ok button when choosing a device it probably means you cant do things like adb logcat either in my experience.

I usually kill adb from Task Manager and it starts working. I noticed adb kill-server only sometimes works, and that there are often multiple processes called adb running... not sure if this is a bug or by design.


step 1 : rigth click on the project => properties => android => select api level that your device suport.

step 2 : restart your phone

work for me ...


Had the exact same problem. Working fine for over two years then all of a sudden this error pops up. The fix for me was running the SDK Manager.exe located here on my machine: C:\Program Files (x86)\Android\android-sdk Turns out I did not have the ability to run on the device with Android operating system 4.2.2, only 4.0.2. After the SDK updated recognition worked perfectly. Turns out my phones operating system was updated and I forgot to update the SDK.


Had the same problem. Turns out I had changed my USB connection mode from MTP to MSC. Changing it back to MTP solved the problem. Thanx.


I used to debug w/o problems in my HTC One X, I broke the screen and until they repair it I managed to get an HTC One (M7 I think it's called internally).

I was unable to debug with this same problem, what actually happened is that besides having to follow a weird procedure to make Debug options appear (press 7 times in the firmware version in "About" menu) the phone was showing a message asking me to verify that the computer trying to debug on it was authorized.

I had not seen this behavior before in any the the phones I have used, not sure if this is a new functionality or simply it was not enforced on the other ones.


It is because that you didn't allow your phone to be debug by this computer.

Lock your screen, unplug and plug it then unlock screen click allow in the dialog.


KITKAT 4.4.2+ users, TRY to switch from ART to DALVIK or from DALVIK to ART. :) solved mine.


I tried different drivers, turning USB debugging on/off, rebuilding program with lower level API, killing ABD and restarting. Then I saw post on here regarding cable swap. Changed USB cable to Samsung USB cable and worked immediately.


you need to authorize the device to that computer. I was connecting the phone to my centos VM and kept getting this. I had to kill the adb server and then run it as root user. then you will get the prompt on the phone to authorize machine.


For me it worked by disabling and enabling the USB-Debugging option while ADB is running. Thanks for all the suggestions.


I had the same problem, restarting the PC worked for me.


(Debugging was already on, USB cable plugged in, fresh restart)

SOLUTION: Switched USB connection from Media Device (MTP) to Camera (PTP). When I did this it the PC installed device drivers, then phone gave me my computer's fingerprint and had a dialog concerning allow device to use USB Debugging. Accept. Device shows up in eclipse. All good.

(On Samsung Note II API 19) Note: it's good habit to always try toggling the USB mode. I don't think it's the act of designating Camera (PTP), but the dialogs that are generated when doing so. Also, I had my phone replaced: I remember seeing this dialog before but not on this phone. Maybe there's an option somewhere to enable it per device?


I had the same problem. Turns out my device was prompting a dialog asking me whether I should allow connecting to my laptop or not. After clicking yes this problem went away.


The problem for me turned out to be insufficient rights of adb server.

I run Android Studio through remote desktop (used laptop to connect to a local, more powerful computer). Apparently i didn't have all the privileges when running through remote desktop.

After stopping adb server and restarting it with root privileges solved the problem.

sudo ./adb kill-server
sudo ./adb root

Edit:

Turns out i had to do this just the first time. Since the first time i don't have to do this anymore.

참고URL : https://stackoverflow.com/questions/10731375/eclipse-target-unknown-in-android-device-chooser

반응형