Android studio 4.1.3 unable to locate ABD - android

Good day I recently had a hard drive crash. I have since installed android studio 4.1.3. On the previous version of Android Studio I had no problems running the apks and debugging on my current phone.
With this version 4.1.3 I just can not get it working. I have tried the various solutions on stack and other sites :
deleting the platform tools folder and reinstalling
adding abd.exe to system path
installing samsung drivers, installing intel drivers for the phone
Only thing I could not try was setting the project SDK according to this link https://superuser.com/questions/1419201/unable-to-locate-adb-when-using-android-studio/1561048#1561048 as my version 4.1.3 does not follow the project structure mentioned.
Im using windows 7 64bit. Can some confirm they are using windows 7 and 4.1.3 and do not have this issue? Any other suggestions on solving?

This issue was actually related to the incorrect USB driver being installed.

Related

Android Studio is unable to find ADB, yet I'm able to deploy to my device

The exact error I'm getting is "java.lang.Throwable: ADB not found"
I haven't found anything online matching my problems. I have already (manually) reinstalled the platform tools multiple times. And they work. I can connect to my phone, even Android Studio is able to run the project on my phone. Yet it throws that error and locks some of the features like Logcat (I can use Logcat via the shell just fine). I've also tested Android Studio 3.3 additionally, but it didn't change anything.
The google USB driver is installed too.
The ADB tool is originally installed on .../android-sdk/platform-tools/platform-tools/ and Android Studio doesn't recognise the tool inside this location. After tried all the other suggestions, the only solution that worked for me was to copy the adb file from this folder to the parent folder: .../android-sdk/platform-tools/. It worked like a charm.
Some particularities of my system:
OS: macOS Catalina
IDE: IntelliJ IDEA CE (the same occurred when I tried to work with Android Studio)
SKD installation method: installed trough Homebrew with the cask android-sdk (the same occurred when I tried to install from within Android Studio)
It seems like you installed adb drivers externally and not via Android Studio and hence they are not present inside the platform tools of the Android SDK. I would recommend installing it using Android Studio's inbuilt SDK Manager.
Steps
Open SDK Manager in Android Studio (you can find it at top right
with android logo and downward arrow and also in the Tools Menu at
the top).
In SDK Manager click on SDK Tools tab and checkmark the
Android SDK Platform Tools
Apply changes and your issue should be resolved.
I hope this helps.
I am attaching a Screenshot for your reference:-
When I opened Android Studio today, it randomly worked.
The whole "whole App chrashing on startup"-thing was a bug I introduced.

Since Android studio 2.1 update DDMS won't open

I've update my android studio to 2.1 and also downloaded the new Android N Preview.
Since this I can't open Android Device Monitor(DDMS).
It seems it has been deleted from my PC or it can't be located because it's moved or something?
I don't even get any error messages! When I click on Android Device Monitor it just does nothing.
I am using a 64bit Windows 7 machine with JDK 8u72
Has anyone encountered the same problem?
I've got DDMS back by doing the following things:
By removing Android SDK Tools, Android SDK Platform-tools and the Android N preview
Installing Android SDK Tools and Android SDK Platform-tools
I haven't yet tried to reïnstall the Android N preview, so I don't know if that will give the problem again.

Running Android Studio on Windows 10

I have a Dell Laptop that came with Windows 7 installed. I downloaded Android Studio 1.5 and installed it with the SDK's. I was able to run Android Studio and import a sample project and run it.
Then, I upgraded to Windows 10. I uninstalled Android Studio sensing that a compatibility issue would arise. I installed Android Studio 1.5 again and the required SDK's were downloaded and installed by the installer. The installer also opened Android Studio and allowed me to import the sample project.
I quit Android Studio and tried to run it again clicking on the Studio64 executable in one of the bin files. Windows 10 rejected Android Studio with the message, "This app can't run on your PC".
I don't understand why Windows 10 did nothing when Android Studio was run the first time by the installer but chose to block me when I tried to run it again.
Can someone explain and help me? Also, what is the solution?
Chandrasekharan K
I am facing same problem with android studio after upgrading windows 10..
first uninstall the studio and install again..
if you are installing studio in system drive.. don't do this..
choose different drive. and then set appropriate SDK path.
It will work for me.
thank you.
My solution to this problem is to run the studio64.exe in androidstudiodir/bin ?

Failing to install android studio on windows 8.1

I have downloaded the android studio exe file several times and while installing it gives an error enter image description here
I have tried it several times but i don't know what is the problem.Can't we use android studios in windows 8.1? All my dev work is really stuck.. please help
You should try and install Android SDK Manager first.
Run it as Administrator and download the latest Build Tools.
Then install Android Studio and provide the location of your android sdk
folder during or after install.

Titanium doesn't recognize Android SDK on Windows

Titanium doesn't recognize Android SDK on Windows
My problem is that Titanium Studio doesn't see my installed Android Platforms. I've tried removing and reinstalling everything via Titanium Studio but that won't make any difference.
Here's a screenshot of the SDK Manager: http://imgur.com/5F5oF
Titanium Studio Screenshot: http://imgur.com/w7j7n
Titanium Studio Details:
Titanium Studio, build: 1.0.8.201201262211
Build: jenkins-titanium-rcp-master-136 (origin/master)
Date: 26 January 2012, 22:14:21
OS Information:
Microsoft Windows 7 Ultimate
6.1.7601 Service Pack 1 Build 7601
Problem in Titanium Studio:
One or more pieces are missing from the Android SDK.
It may be that the Android SDK is already installed
and Titanium Studio cannot locate the directory, or
it may be that some additional components need to be installed.
Items required:
•An Android SDK is missing. Titanium requires Android platforms 2.1.* and 2.2.*
We just spent a couple days wrestling with this problem. The issue is with the latest version of the mobile sdk that you've installed. Titanium Studio actually uses the following script to validate the Android SDK path in the configuration window:
MAC path looks like this:
/Library/Application Support/Titanium/mobilesdk/osx/sdk_version_number_here/android/avd.py
Based on your post, your path is probably something like:
C:\Users\Dean\AppData\Roaming\Titanium\mobilesdk\win32\sdk_version_number_here\android\avd.py
If you browse to the folder and look for that script, it's probably missing. We just deleted that version of the sdk (for us it was 2.0.1.GA2). Then went to Help -> Check for Updates to reinstall the latest version.
Can you try installing all the api levels. SDK level 10-15.
Hopefully that would help. I am also running Titanium on the same version of windows, and it works fine.
This looks crazy, but you need to install sdk 7 and 8, with the google APIs. I think that they have code nested to these SDK. Check twice that you accept the licence with Google API.
Here is the complete guide of installing Titanium with Android.
I broke my head for 2 days on the very same problem, and the solution is quite simple:
Titanium 3.2 and above does not work with android sdk in Windows.
Downgrade to 3.1.3 and everything will be just fine
https://wiki.appcelerator.org/display/guides2/Reverting+to+a+Previous+Version

Categories

Resources