Got it to work go to the local.properties file under your build.gradle files to find out the PATH to your SDK, from the SDK location go into the platform-tools folder and look and see if you have adb.exe.
just opened account here to share my experience and many hours wasted trying to figure out why command prompt programs (like adb.exe) would simply not work through command prompt, terminal, powershell (elevated or not) on Windows 11. For example typing adb.exe (in command promt opened in folder where Google platform tools where extracted) would give no output at all.
Tried everything online. Nothing helped. The system was ok but it seemed like something was preventing program from running. Today I revisited the problem for the nth time. Disabled NOD32 (again) nothing happened.
Disabled Host Intrusion Prevention System (HIPS), restarted computer, tried adb and voila - it worked. Checking HIPS log in Nod32 showed no trace of Nod blocking adb.exe form running but disabling HIPS definitely helped. It would be awesome if Nod would notify user when prevented app from running and I hope they will.
Now, I am not comfortable leaving HIPS disabled hence opening this thread hoping to find consensus on best setting to prevent silent stopping of program execution prevention and also have programs work when you start them. Also this is for all the people trying to find out why all of the sudden programs stopped working.
Here are log logs collected with ESET Log Collector. Hope it will help. Nothing was logged in HIPS log. When I add adb.exe to HIPS exclusions it works. When I remove it from exception list it does not work.
I can confirm that uninstalling Windhawk resolved the issue. Installed it again (with no plugins active) and the issue was there. Definitely the culprit was Widhawk. Than you very much. I will mark response above as correct solution.
I had ADB working just a few days ago, but now, whenever I try to run adb.exe, it will start the daemon successfully, and then after a couple of commands the adb.exe file itself will disappear. When I try to uninstall then reinstall platform-tools via Android Studio's SDK manager immediately afterward, the uninstaller hangs (though the window doesn't freeze) after the following output:
However, I can't seem to find anything ADB-related in Task Manager. I tried killing it with adb kill-server, buy CMD's reply was of course that it couldn't find adb. After I restart Windows, the uninstallation/reinstallation runs perfectly well, but ADB just disappears all over again. What in the world is going on, and how do I get ABD up and running again?
As esQmo_ guessed in the comments on my question, my antivirus (Avast) was blocking adb.exe, probably with some silly "heuristic protection" feature. I checked my quarantine folder and found it chock full of adb.exe's. I whitelisted adb.exe and did not run into any more problems.
That's all true. Disable Avast for Adv. exe but it seems to be a real threat because when trying to install the APK on a real device, the antivirus of the cell blocks it. If we unlock this option, we see strange behaviors in the Android system so I'm convinced that "Adv. exe " comes with bad intentions from a download server in Android Studio.
When i connect my device using USB, It get charged but showing below error-
Your computer is running adb.exe. It is not compatible with PdaNet
how can i fix this problem, when i click on Show mobile Screen, It's showing meerror
Modern Windows has a wonderful thing called the Windows Subsystem for Android. Fun fact: While I use Windows Subsystem for Linux quite a lot, I have learned about Windows Subsystem for Android literally by accident.
This is totally serious, and it is not a joke. Amazon App Store installs the very Windows Subsystem for Android. I have actually uninstalled the Amazon App Store .. and this Windows subsystem for Android got uninstalled away. Oh well. I have it re-installed. Don\u2019t be like me and don\u2019t uninstall it.
Also, note that I have Slack installed on my \u201CAndroid on Windows\u201D. It eats up less CPU and RAM when \u201Cboxed down\u201D this way.
Let\u2019s install Organic Maps now. You will need the .apk file. That\u2019s a bit of an .msi installer, but for Android, not for Windows. Full disclosure: You may be able to install Organic Maps from some online store. You even may be able to install it from this \u201CAndroid on Windows\u201D, if you install the browser into it first, and then follow the right link from within this Android on Windows.
In any case, you will need the .apk. Depending on how geeky you want your experience to be, you can follow the \u201CGithub\u201D link from the original website of Organic Maps, you can navigate to their Github page directly, or you can get the latest version from the Telegram channel. The version I played with is OrganicMaps-23122004-web-release.apk, in case this matters.
My personal preference for the way to install this \u201CAndroid App\u201D on Windows is to use the ADB tool. Yes, it feels like Linux. You open the shell and type .\\\\adb.exe install OrganicMaps-full-file-name.apk.
You will need ADB, which comes in the \u201Cpackage\u201D called platform-tools. The following page has decent instructions: Windows 11: How to Sideload APK Using Windows Subsystem for Android and ADB (nerdschalk.com).
Navigate to the \u201Cplatform-tools\u201D directory, which in my case is under \u201CDownloads\u201D, so it\u2019s cd Downpl. That\u2019s where the adb.exe file should be, and dir shows the list of files in this directory. I have uncompressed all the platform tools right under Downloads\\\\platform-tools, just as the link above suggests.
The last thing you may want to do is let Windows Subsystem for Android use your device\u2019s location. On Windows, it\u2019s under \u201CLocation privacy settings\u201D. Just press the Start button and type \u201CLocation\u201D. On \u201CAndroid inside Windows\u201D, I believe, location services are enabled by default.
PS2: If using .\\\\adb.exe from PowerShell is too geeky to your taste, there are also WSATools to explore. I have not tried them myself. But I can see how the path with them could be easier compared to using the terminal. Even though you would still need to \u201CEnable\u201D and \u201CAllow\u201D \u201CDebugging\u201D for this to work.
There is a viedo on YouTube on using the ASIAir on Windows11 machines without an emmulator like BlueStacks. I've been able to get to the final step but can't open the .exe command on the final step. The video is; =OMJ0o9icTQg&t=630s
When I do the adb.exe it states "No devices/emulators found".
If you could help that would be great. I had no problem running BlueStacks on my old PC using Win10 pro. This is a new machine and I feel there is something simple to apply. It just takes forever to get BlueStacks to open and get to ASIAir app.
So if I plan on connecting to the ASIAIR Wi-Fi using my Windows 11 laptop - I first do either 1. or 2. above. After BlueStacks 5 has launched - I then change my laptop connection over to the ASIAIR Wi-Fi and then launch the ASIAIR App. It's strange but it works.
Note: if you have already followed the steps in the video you may not need repeat any of the steps - however sometimes completely uninstalling and removing everything and starting from scratch can help resolve issues.
The first step - as shown in the video - is to enable virtualization in your BIOS/UEFI settings for your computer. This is specific to your computer hardware so you'll need to look up how to do this for your hardware. It's not difficult to do - but it is important to get it right and do this step first.
The second step is to enable virtualization in Windows 11 itself. To do this, tap on the "Windows" key on your keyboard, start typing Turn Windows Features on or off, open the program with that name, then scroll through the list and enable Hyper V, Virtual Machine Platform, Windows Hypervisor Platform, and Windows Subsystem for Linux (or whichever ones are available for you). Restart your computer.
I then went to this website - -to-run-android-apps-on-windows-11-3048569/ - and followed the steps under "How to run Android apps on Windows 11 unofficially" in order to install Windows Subsystem for Android via Powershell (rather than via the Store App - my choice but you could do either way).
I then went to this website - -to-use-adb-android-3260397/ - and followed the steps under "How to set up ADB on a computer: Windows, macOS, and Linux". Just that section. I recommend putting the "platform-tools" folder under C:\Temp in your computer (so it would be C:\Temp\platform-tools).
Now you want to start up Windows Subsystem for Android app in Windows 11, go to Advanced Settings, then enable Developer Mode. Then go to the System menu and click on the Files shortcut icon on the right to get the subsystem running. Now go back to Advanced Settings and under the heading Developer Mode double check the IP address has been set to 127.0.0.1:58526. If it is different - that's fine - just make a note of what it is.
Here's where you will now use ADB to install the ASIAIR APK file in order to run the ASIAIR App natively on your Windows 11 machine. Refer to the attached image to see what I had to do. You can see that, for me, I needed to type things in a particular way.
Also note - while it may seem like it isn't doing anything - you'll need to wait a few minutes while does the "Performing Streamed Install" before it says "Success". You can then exit/close the Powershell window.
c80f0f1006