Adb ошибка 10060

The ADB Connect remote ADB connection phone cannot be connected, showing that the connection attempt failed because the connector did not respond correctly or the host did not respond properly or connected. (10060)

  • Solution
    • Solution step

Resolve the target premise
1. Need mobile phonerootPermission;
2. The mobile phone USB is connected to the computer;
3. Mobile phone connectionwifiThe internet;
4. Developer modeUSB debuggingBelowWireless debuggingOpen, after openingIPAddress (Android_10 or 11 or more must be turned on)

Solution step

// Use the ADB command root and give write permissions, and restart
adb root
adb disable-verity
adb reboot
// Root and transount, connect WiFi after restart
adb root
adb remount
// Then the developer mode opens wireless debugging, directly see the IP address, or query the following command
adb shell ifconfig
inet addr at the beginning of WLAN: The back is IP address
/ / Open Remote Connection Interface 5555
adb tcpip 5555
adb connect **.***.**.**5555 
// ** Refers to the IP address, then check if the connection is successful
adb devices
// If there is two device numbers below, one is the local one is the prove connection success.
//-------------------------------------------------------------------------------------------
// Exit Remote Connection
adb disconnect
// Take a look at the remote connection in Devices.
adb devices

If you have any questions, you can communicate

Hello
I was able to mirror my Oculus Go to my PC using USB Cable and SCRCPY.
Now, im trying to mirror without the cable but im having a few issues. These are the steps that im doing:

  • Plug the Oculus to PC with USB cable;
  • Run CMD and cd to SCRCPY folder;
  • ADB Devices, * daemon not running, starting now at tcp:5037, *daemon started successfully;
  • Now my Oculus Go is listed as a device;
  • Time to run adb tcpip 5555;
  • adb shell ip addr show wlan0 to get the Oculus IP for connection;
  • adb connect IP_ADDRESS: 5555;
    Then comes the error:
  • After a few seconds, returns 10060 error, translating the message: cannot connect to IP_ADDRESS:PORT, connection failed because connected component didnt awnser correclty after a period of time or the established connection failed because the connected host didnt respond.

I already did quite a few internet solutions, even ones i found here in Git.
Tryied another port, opened up in firewall for sure.
Another problem is the command «adb server», it returns «could not read ok from ADB Server * could not start server*».

Im i doing anything wrong? Did i missed something?

When I connect the real device to the android studio in windows 10 then get an error with 10060 error code.

I follow step this step

  1. I goto my SDK path in a terminal.
  2. enter command adb tcpip 5555
  3. adb connect XXX.XXX.X.XXX:5555

this error gets after step 3.

cannot connect to **XXX.XXX.X.XXX:XXXX**(IP ADDRESS) A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because the connected host has failed to respond. (10060)

  • android-studio
  • tcp
  • ip
  • adb
  • device

asked Oct 2, 2020 at 5:34

Android Developer's user avatar

3

  • did you set the port of the tcp first?

    Oct 2, 2020 at 6:14

  • Edit my question…

    Oct 2, 2020 at 6:25

  • Are your device connected to the local internet via the PC/Laptop’s hotspot? If so, can you ping the device’s IP and get a proper response?

    Oct 2, 2020 at 6:26

Load 7 more related questions

Show fewer related questions

AVG Manager Unable to locate ADB Android Studio on Windows 11/10

The unable to locate ADB error is quite common to encounter while trying to run an app through the Android Studio on Windows 10 or above. The ADB or Android Debug Bridge, as its name suggests, acts as a bridge between you and the various applications installed on your system.

However, due to some reasons that I’ll discuss next, users reported the unable to locate ADB error. If you’re looking for its solutions, you’ve landed in the right place.

Read on as I discuss what causes the above error and offer the top six working solutions for the same.

Reasons of Error “unable to locate ADB”

As aforementioned, the unable to locate ADB error message can be triggered by various reasons, besides your AV removing the ADB.exe file which is stored in the platforms tools folder. Here are the other common reasons that contribute to the above.

  • If no SDK (Software Development Kit) is assigned to the project, it can’t access the ADB file. As a result, you get the error.
  • Your third-party AV removed the ADB.exe file due to false security issues.
  • The relevant Android SDK version is absent on your PC.
  • Damaged or corrupt platform-tools files.

So, these are the common reasons behind the AVG manager unable to locate ADB error message on your Windows 10/11.

AVG Manager Unable to locate ADB Android Studio on Windows 11 10

AVG Manager Unable to locate ADB Android Studio on Windows 11 10

Now that you’ve understood why you’re unable to locate ADB in the Android Studio, let’s work around the following eight solutions to solve it.

  1. Look for the ADB.exe file

As aforementioned, if you can’t find the adb.exe file on your system, the unable to locate ADB error is inevitable. Hence, I recommend checking the file before trying out any other solution.

To check the adb.exe file, follow these steps.

  • Launch the File Explorer on your device.
  • Under Device and drives, click on Local Disk (C:).
  • Next, follow this path: Username > AppData > Local > Android > SDK > Platform-Tools.
  • Inside the Platform Tools folder, look for the adb.exe file.
  1. Use the PC Repair Tool

Since you may have damaged or corrupt ADB files on your system that are contributing to the error, you can also use any PC Repair tool to scan and repair those files.

A PC repair tool is a software application that monitors your system performance and optimizes it to avoid issues going forward. Since there are tons of PC repair tools online, I recommend Restoro.

It’s an easy-to-use tool designed for Windows. And guess what? It has a free trial as well. So, you can check its performance to solve the flutter unable to locate the ADB error message on Windows 10/11.

If the PC repair tool doesn’t work, try the next method.

  1. Check your AV

An antivirus may protect your system from malicious files, programs, applications, and other malware attacks. However, it can also trigger a false positive report for certain files that are not at all dangerous for your system in any way.

As a result, the AV quarantines the files, including the adb.exe file to cause the above error. As a resolution, restore the file from the virus chest. Follow these steps to do so.

  • Go to the taskbar and right-click on the AV icon. You can find it in the taskbar’s right-hand corner.
  • A small menu will open. Click on the Virus Chest (I’ve Avast AV installed on my PC.)
  • On the next screen, click on the Protection option on the left panel.
  • Here, you’ll find the files, programs, and applications that the antivirus suspects as harmful to your device. Look for the adb.exe file.
  • If the file is present there, click on the three horizontal dots next to the file.
  • A small context menu will open. Click on the Restore
  • The adb.exe file will now be restored and ready to use.

Note: Although you’ve restored the adb.exe file for now. The antivirus will again add it to the threat list after scanning it. To avoid this, in the last step, select Restore and add exception from the drop-down menu. Now, the adb.exe file will never appear in the Virus Chest.

  1. Modify the Project Settings

Another common reason for the unable to locate ADB on Android Studio error message is the project settings. By default, the setting is set to No SDK. Due to this, no SDK is assigned to the project, and thus, it can’t locate the ADB.

Follow the given steps to modify the project settings.

  • Launch the Android Studio on your PC.
  • Click on the Project Structure This will open the Project Structure window.
  • On the current window, click on the Project option under the Project Settings section on the left panel.
  • Under Project SDK:, you will find that SDK is set to NO SDK.
  • Click on the downward arrow and select Android API 30 Platform (java version “1.8.0_242”) from the drop-down menu.
  • Once completed, click on OK.

Now, check again whether you’re getting the error message or not. If yes, try installing Android SDK from the SDK manager. It’s discussed below.

  1. Install Android SDK from SDK Manager

If your system lacks the latest version of Android SDK, the unable to locate the ADB error message is inevitable. Thus, I recommend installing the latest version of the Software Development Kit.

Follow these steps to do so.

  • First of all, let’s install the latest version of Android Studio on the system. For this, visit the official website of Android Studio.

install the latest version of Android Studio

install the latest version of Android Studio

  • On the home screen, click on Download options.
  • You’ll be taken to the downloads page. Find the latest .exe file for your system and download it.
  • Once downloaded, install it by following the on-screen instructions.

Now that you’ve installed the latest version of Android Studio, let’s install the latest version of the SDK as well.

  • Launch the Android Studio app on your system.
  • On the landing page, click on More Actions, and select SDK Manager from the drop-down menu.
  • Once you’re on the SDK Manager window, you’ll find three tabs – SDK Platforms, SDK Tools, and SDK Update Sites. Click on SDK Platforms.
  • Find the latest SDK platform for your Android Studio, and install it.
  • Hit the OK

Now, check if the error is gone or not. If it persists, work around the next solution of reinstalling Android SDK Platform Tools.

  1. Reinstall Android SDK Platform Tools files

As the last remedy, I suggest reinstalling Android SDK Platform Tools files as damaged or corrupt files can also be another reason behind the unable to locate ADB error message on Windows 10/11.

Follow the given steps to do so.

  • Close the Android Studio for now.
  • Go to the taskbar and right-click on it.
  • A menu will open. Select Task Manager from it.
  • When the Task Manager window opens, click on the Processes tab, navigate to the exe process, and end it.
  • Launch the Android Studio again.
  • Open the SDK Manager again from the Android Studio. For this, click on the cube-like icon with a downward arrow.
  • On the SDK Manager window, click on the SDK Tools
  • Navigate to the Android SDK Platform-Tools option, uncheck it, and click on OK. This will uninstall the Platform Tools.
  • Once uninstalled, reopen the SDK Manager window, and click on the SDK Tools
  • Navigate to the Android SDK Platform-Tools option, check it, and click on OK.

This way, you’ve reinstalled the Android SDK Platform Tools files.

So, here you go. These were the best tried and tested methods to solve the flutter unable to locate ADB issue.

Conclusion

ADB or Android Debug Bridge is a command-line tool that helps you interact with a device. It is automatically installed on your system along with the Android Studio when you install Android SDK. Sometimes, due to some reasons, the adb.exe file may get damaged, corrupted, or lost.

In such a case, you get the unable to locate ADB error on your Windows system. Several culprits contribute to this and they are discussed above. Further in this article, you get the top 8 solutions to solve.

So, were you able to solve the issue? Let’s know in the comments.

Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Ask Question

Asked
1 year ago

Modified
1 year ago

Viewed
147 times

0

ADB-QR: cannot connect to 192.168.1.104:42663: 
A connection attempt failed because the connected party   
did not properly respond after a period of time, or   
established connection failed because connected host  
has failed to respond. (10060) 

enter image description here

enter image description here

usb debugging ON
wireless debugging ON
Install via USB ON

  • flutter
  • adb

Improve this question

edited May 9, 2022 at 13:13

Milad Edalatian

asked May 9, 2022 at 8:18

Milad Edalatian's user avatar

Milad EdalatianMilad Edalatian

11 bronze badge

2

  • Your question is a bit sparse, usually you should first describe what you are trying to do and describe your set-up. Not just post the error message. Are you sure the IP is correct and phone access via IP is not blocked by a firewall? Also please do not post console output as screen shot (first image). Just copy and paste it as text and format it as code.

    – Robert

    May 9, 2022 at 8:31

  • @Milad Edalatian describe what you are trying to achieve and paste code instead of images

    – Diego Torres Milano

    May 10, 2022 at 18:55

Add a comment
 | 

Related questions

365

Message «flutter run: No connected devices»

60

Flutter : Not Connecting to IOS Simulator in Android Studio

34

How to connect a device with ADB over WiFi when making app with Flutter?

Related questions

365

Message «flutter run: No connected devices»

60

Flutter : Not Connecting to IOS Simulator in Android Studio

34

How to connect a device with ADB over WiFi when making app with Flutter?

9

Flutter can’t connect to iOS simulator

5

Flutter «Lost connection to device» upon running

3

How to solve «Waiting for a connection from Flutter on device…»

0

Flutter lost connection to physical device

4

No Connected Devices Found in a Flutter App in Android Studio

1

Flutter run lost connection to device in iOS

1

Connect mobile device wireless on android studio for flutter

Load 7 more related questions

Show fewer related questions

Sorted by:

Reset to default

Your Answer

Sign up or log in

Sign up using Google

Sign up using Facebook

Sign up using Email and Password

Post as a guest

Name

Email

Required, but never shown

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged

  • flutter
  • adb

or ask your own question.

  • The Overflow Blog
  • Building a safer community: Announcing our new Code of Conduct

  • Balancing a PhD program with a startup career (Ep. 576)

  • Featured on Meta
  • AI/ML Tool examples part 3 — Title-Drafting Assistant

  • We are graduating the updated button styling for vote arrows

  • The [connect] tag is being burninated

  • Temporary policy: ChatGPT is banned

  • Does the policy change for AI-generated content affect users who (want to)…

Hot Network Questions

  • Does substituting electrons with muons change the atomic shell configuration?

  • Can I also say: ‘ich tut mir leid’ instead of ‘es tut mir leid’?

  • What maths knowledge is required for a lab-based (molecular and cell biology) PhD?

  • Rationale for sending manned mission to another star?

  • Noise cancels but variance sums — contradiction?

  • Elegant way to write a system of ODEs with a Matrix

  • What are good reasons to create a city/nation in which a government wouldn’t let you leave

  • Citing «common knowledge» blogs?

  • How to remove this annoying message?

  • Can the use of flaps reduce the steady-state turn radius at a given airspeed and angle of bank?

  • How to add circles inside another circle

  • Is there a reliable way to check if a trigger being fired was the result of a DML action from another *specific* trigger?

  • TeX capacity exceeded, sorry

  • What’s the purpose of a convex saw blade?

  • In general relativity, why is Earth able to accelerate?

  • Why doesn’t SpaceX sell Raptor engines commercially?

  • QGIS — how to copy only some columns from attribute table

  • An inequality for certain positive-semidefinite matrices

  • Did an AI-enabled drone attack the human operator in a simulation environment?

  • Adjacent Items Sorting

  • Extra horizontal spacing of zero width box

  • Mozart K331 Rondo Alla Turca m.55 discrepancy (Urtext vs Urtext?)

  • What do the characters on this CCTV lens mean?

  • Can you identify this fighter from the silhouette?

more hot questions

Question feed

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Понравилась статья? Поделить с друзьями:
  • Adb run ошибки
  • Adb exe ошибка приложения
  • Adb error closed ошибка
  • Adast ошибка f10
  • Active launcher ошибка соединение было разорвано 2