Android Studio: “Unable to obtain result of 'adb version'”Android Studio: Unable to obtain result of 'adb version'Error “The connection to adb is down, and a severe error has occurred.”Eclipse error “ADB server didn't ACK, failed to start daemon”Android ADB device offline, can't issue commandsWhat should be in my .gitignore for an Android Studio project?What is Gradle in Android Studio?Rename package in Android StudioWhere do I place the 'assets' folder in Android Studio?Android Studio: “Please select Android SDK”Unable to create Debug Bridge: Unable to start adb server: Unable to obtain result of 'adb version'Android Studio - ADB start server fails, adbkey check fails
Should a narrator ever describe things based on a character's view instead of facts?
How can a new country break out from a developed country without war?
Are all namekians brothers?
What can I do if I am asked to learn different programming languages very frequently?
Why do Radio Buttons not fill the entire outer circle?
Magnifying glass in hyperbolic space
How do I prevent inappropriate ads from appearing in my game?
Why doesn't Gödel's incompleteness theorem apply to false statements?
Can you take a "free object interaction" while incapacitated?
Is there a distance limit for minecart tracks?
Non-Borel set in arbitrary metric space
C++ lambda syntax
Showing mass murder in a kid's book
Make a Bowl of Alphabet Soup
I keep switching characters, how do I stop?
If the Dominion rule using their Jem'Hadar troops, why is their life expectancy so low?
Do people actually use the word "kaputt" in conversation?
How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?
What (if any) is the reason to buy in small local stores?
Connection Between Knot Theory and Number Theory
Travelling in US for more than 90 days
Why is "la Gestapo" feminine?
Should I be concerned about student access to a test bank?
Would a primitive species be able to learn English from reading books alone?
Android Studio: “Unable to obtain result of 'adb version'”
Android Studio: Unable to obtain result of 'adb version'Error “The connection to adb is down, and a severe error has occurred.”Eclipse error “ADB server didn't ACK, failed to start daemon”Android ADB device offline, can't issue commandsWhat should be in my .gitignore for an Android Studio project?What is Gradle in Android Studio?Rename package in Android StudioWhere do I place the 'assets' folder in Android Studio?Android Studio: “Please select Android SDK”Unable to create Debug Bridge: Unable to start adb server: Unable to obtain result of 'adb version'Android Studio - ADB start server fails, adbkey check fails
I am presently unable to do app testing on Android Studio, and I don't know what to do next. I've been getting the error "Unable to obtain result of 'adb version'" when I try to run an emulator. I don't think I changed anything on my system to make it happen, though I usually update any packages Android Studio recommends. I've Googled and that has given me a number of things to try, but I'm no further on. I've tried the following:
Uninstalling and reinstalling platform-tools - I even downloaded version 23 (I'm currently on 24) and replaced 24 with that, but that didn't work.
Uninstalling and reinstalling Android Studio - this worked for a day, but took hours, so I can't just do it every time.
Checking adb.exe exists and the path is correct etc. - adb.exe exists in C:UsersMy NameAppDataLocalAndroidsdkplatform-tools and it seems ok.
Anti-virus software blocking adb.exe - turned Firewall off; didn't help.
Ran adb from the command line - runs ok, but when I type "adb devices", I get an empty list. If I go into Android Studio and start a device manually from the AVD Manager, and then do "adb devices" again, this time the running device shows up
The location of "where adb" seems to be correct - I'm wondering whether Android Studio is looking in the wrong place for it. Is there a way to check the path?
Went to the platform-tools folder and typed "adb tcpip 5555" - it said it was starting the daemon, and then that it had started successfully, but that still didn't help
Disabled "Enable ADB integration" option, and then re-enabled it. Didn't help. Then tried killing the adb server from the command line in between disabling/enabling. Tried restarting AS in between as well, still didn't help.
I'm stuck now, and I don't know what else to try. Would anyone suggest anything else I could try?
Also, I reckon I could temporarily push the app to the device using the command line, but I'm not sure what to push if I'm only testing, as I don't have an apk file (I think). Which file would I push over to the emulator? And how do I do that? The emulator appears to be called emulator-5554.
I am on Windows 10, and have upgraded to the latest Android Studio (2.1.3).
android-studio adb
|
show 2 more comments
I am presently unable to do app testing on Android Studio, and I don't know what to do next. I've been getting the error "Unable to obtain result of 'adb version'" when I try to run an emulator. I don't think I changed anything on my system to make it happen, though I usually update any packages Android Studio recommends. I've Googled and that has given me a number of things to try, but I'm no further on. I've tried the following:
Uninstalling and reinstalling platform-tools - I even downloaded version 23 (I'm currently on 24) and replaced 24 with that, but that didn't work.
Uninstalling and reinstalling Android Studio - this worked for a day, but took hours, so I can't just do it every time.
Checking adb.exe exists and the path is correct etc. - adb.exe exists in C:UsersMy NameAppDataLocalAndroidsdkplatform-tools and it seems ok.
Anti-virus software blocking adb.exe - turned Firewall off; didn't help.
Ran adb from the command line - runs ok, but when I type "adb devices", I get an empty list. If I go into Android Studio and start a device manually from the AVD Manager, and then do "adb devices" again, this time the running device shows up
The location of "where adb" seems to be correct - I'm wondering whether Android Studio is looking in the wrong place for it. Is there a way to check the path?
Went to the platform-tools folder and typed "adb tcpip 5555" - it said it was starting the daemon, and then that it had started successfully, but that still didn't help
Disabled "Enable ADB integration" option, and then re-enabled it. Didn't help. Then tried killing the adb server from the command line in between disabling/enabling. Tried restarting AS in between as well, still didn't help.
I'm stuck now, and I don't know what else to try. Would anyone suggest anything else I could try?
Also, I reckon I could temporarily push the app to the device using the command line, but I'm not sure what to push if I'm only testing, as I don't have an apk file (I think). Which file would I push over to the emulator? And how do I do that? The emulator appears to be called emulator-5554.
I am on Windows 10, and have upgraded to the latest Android Studio (2.1.3).
android-studio adb
Also tried "Clean Project" and "Clean cache" (I think that's what it's called) - neither made any difference.
– Sharon
Aug 20 '16 at 15:57
Should also have made it clearer that I get the message when I try to run the project, and the screen that normally lists available devices has none listed. They are still available in the AVD Manager, though, and I can run them from there - in theory I assume I can then use the command line to push the app to the device, but I'm not sure how to do this.
– Sharon
Aug 20 '16 at 15:58
You have network firewall? (no on your local machine but on your company network), which antivirus you use?
– Andro Secy
Aug 21 '16 at 6:21
Thanks for your reply. No, I'm not on a network at all. I use MacAfee antivirus.
– Sharon
Aug 21 '16 at 8:52
I just went through my Firewall settings, and adb.exe is definitely listed as 'allowed'. I even gave it full permissions to access everything, but that still didn't help.
– Sharon
Aug 22 '16 at 14:08
|
show 2 more comments
I am presently unable to do app testing on Android Studio, and I don't know what to do next. I've been getting the error "Unable to obtain result of 'adb version'" when I try to run an emulator. I don't think I changed anything on my system to make it happen, though I usually update any packages Android Studio recommends. I've Googled and that has given me a number of things to try, but I'm no further on. I've tried the following:
Uninstalling and reinstalling platform-tools - I even downloaded version 23 (I'm currently on 24) and replaced 24 with that, but that didn't work.
Uninstalling and reinstalling Android Studio - this worked for a day, but took hours, so I can't just do it every time.
Checking adb.exe exists and the path is correct etc. - adb.exe exists in C:UsersMy NameAppDataLocalAndroidsdkplatform-tools and it seems ok.
Anti-virus software blocking adb.exe - turned Firewall off; didn't help.
Ran adb from the command line - runs ok, but when I type "adb devices", I get an empty list. If I go into Android Studio and start a device manually from the AVD Manager, and then do "adb devices" again, this time the running device shows up
The location of "where adb" seems to be correct - I'm wondering whether Android Studio is looking in the wrong place for it. Is there a way to check the path?
Went to the platform-tools folder and typed "adb tcpip 5555" - it said it was starting the daemon, and then that it had started successfully, but that still didn't help
Disabled "Enable ADB integration" option, and then re-enabled it. Didn't help. Then tried killing the adb server from the command line in between disabling/enabling. Tried restarting AS in between as well, still didn't help.
I'm stuck now, and I don't know what else to try. Would anyone suggest anything else I could try?
Also, I reckon I could temporarily push the app to the device using the command line, but I'm not sure what to push if I'm only testing, as I don't have an apk file (I think). Which file would I push over to the emulator? And how do I do that? The emulator appears to be called emulator-5554.
I am on Windows 10, and have upgraded to the latest Android Studio (2.1.3).
android-studio adb
I am presently unable to do app testing on Android Studio, and I don't know what to do next. I've been getting the error "Unable to obtain result of 'adb version'" when I try to run an emulator. I don't think I changed anything on my system to make it happen, though I usually update any packages Android Studio recommends. I've Googled and that has given me a number of things to try, but I'm no further on. I've tried the following:
Uninstalling and reinstalling platform-tools - I even downloaded version 23 (I'm currently on 24) and replaced 24 with that, but that didn't work.
Uninstalling and reinstalling Android Studio - this worked for a day, but took hours, so I can't just do it every time.
Checking adb.exe exists and the path is correct etc. - adb.exe exists in C:UsersMy NameAppDataLocalAndroidsdkplatform-tools and it seems ok.
Anti-virus software blocking adb.exe - turned Firewall off; didn't help.
Ran adb from the command line - runs ok, but when I type "adb devices", I get an empty list. If I go into Android Studio and start a device manually from the AVD Manager, and then do "adb devices" again, this time the running device shows up
The location of "where adb" seems to be correct - I'm wondering whether Android Studio is looking in the wrong place for it. Is there a way to check the path?
Went to the platform-tools folder and typed "adb tcpip 5555" - it said it was starting the daemon, and then that it had started successfully, but that still didn't help
Disabled "Enable ADB integration" option, and then re-enabled it. Didn't help. Then tried killing the adb server from the command line in between disabling/enabling. Tried restarting AS in between as well, still didn't help.
I'm stuck now, and I don't know what else to try. Would anyone suggest anything else I could try?
Also, I reckon I could temporarily push the app to the device using the command line, but I'm not sure what to push if I'm only testing, as I don't have an apk file (I think). Which file would I push over to the emulator? And how do I do that? The emulator appears to be called emulator-5554.
I am on Windows 10, and have upgraded to the latest Android Studio (2.1.3).
android-studio adb
android-studio adb
edited Mar 7 at 20:32
halfer
14.7k759116
14.7k759116
asked Aug 20 '16 at 15:55
SharonSharon
91662649
91662649
Also tried "Clean Project" and "Clean cache" (I think that's what it's called) - neither made any difference.
– Sharon
Aug 20 '16 at 15:57
Should also have made it clearer that I get the message when I try to run the project, and the screen that normally lists available devices has none listed. They are still available in the AVD Manager, though, and I can run them from there - in theory I assume I can then use the command line to push the app to the device, but I'm not sure how to do this.
– Sharon
Aug 20 '16 at 15:58
You have network firewall? (no on your local machine but on your company network), which antivirus you use?
– Andro Secy
Aug 21 '16 at 6:21
Thanks for your reply. No, I'm not on a network at all. I use MacAfee antivirus.
– Sharon
Aug 21 '16 at 8:52
I just went through my Firewall settings, and adb.exe is definitely listed as 'allowed'. I even gave it full permissions to access everything, but that still didn't help.
– Sharon
Aug 22 '16 at 14:08
|
show 2 more comments
Also tried "Clean Project" and "Clean cache" (I think that's what it's called) - neither made any difference.
– Sharon
Aug 20 '16 at 15:57
Should also have made it clearer that I get the message when I try to run the project, and the screen that normally lists available devices has none listed. They are still available in the AVD Manager, though, and I can run them from there - in theory I assume I can then use the command line to push the app to the device, but I'm not sure how to do this.
– Sharon
Aug 20 '16 at 15:58
You have network firewall? (no on your local machine but on your company network), which antivirus you use?
– Andro Secy
Aug 21 '16 at 6:21
Thanks for your reply. No, I'm not on a network at all. I use MacAfee antivirus.
– Sharon
Aug 21 '16 at 8:52
I just went through my Firewall settings, and adb.exe is definitely listed as 'allowed'. I even gave it full permissions to access everything, but that still didn't help.
– Sharon
Aug 22 '16 at 14:08
Also tried "Clean Project" and "Clean cache" (I think that's what it's called) - neither made any difference.
– Sharon
Aug 20 '16 at 15:57
Also tried "Clean Project" and "Clean cache" (I think that's what it's called) - neither made any difference.
– Sharon
Aug 20 '16 at 15:57
Should also have made it clearer that I get the message when I try to run the project, and the screen that normally lists available devices has none listed. They are still available in the AVD Manager, though, and I can run them from there - in theory I assume I can then use the command line to push the app to the device, but I'm not sure how to do this.
– Sharon
Aug 20 '16 at 15:58
Should also have made it clearer that I get the message when I try to run the project, and the screen that normally lists available devices has none listed. They are still available in the AVD Manager, though, and I can run them from there - in theory I assume I can then use the command line to push the app to the device, but I'm not sure how to do this.
– Sharon
Aug 20 '16 at 15:58
You have network firewall? (no on your local machine but on your company network), which antivirus you use?
– Andro Secy
Aug 21 '16 at 6:21
You have network firewall? (no on your local machine but on your company network), which antivirus you use?
– Andro Secy
Aug 21 '16 at 6:21
Thanks for your reply. No, I'm not on a network at all. I use MacAfee antivirus.
– Sharon
Aug 21 '16 at 8:52
Thanks for your reply. No, I'm not on a network at all. I use MacAfee antivirus.
– Sharon
Aug 21 '16 at 8:52
I just went through my Firewall settings, and adb.exe is definitely listed as 'allowed'. I even gave it full permissions to access everything, but that still didn't help.
– Sharon
Aug 22 '16 at 14:08
I just went through my Firewall settings, and adb.exe is definitely listed as 'allowed'. I even gave it full permissions to access everything, but that still didn't help.
– Sharon
Aug 22 '16 at 14:08
|
show 2 more comments
1 Answer
1
active
oldest
votes
Check in the task manager whether any other process ( mine was something daemon)might be using your port number. End that process.
This is more a comment than an answer... Please provide more information. ;)
– Badacadabra
May 7 '17 at 16:20
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f39056062%2fandroid-studio-unable-to-obtain-result-of-adb-version%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Check in the task manager whether any other process ( mine was something daemon)might be using your port number. End that process.
This is more a comment than an answer... Please provide more information. ;)
– Badacadabra
May 7 '17 at 16:20
add a comment |
Check in the task manager whether any other process ( mine was something daemon)might be using your port number. End that process.
This is more a comment than an answer... Please provide more information. ;)
– Badacadabra
May 7 '17 at 16:20
add a comment |
Check in the task manager whether any other process ( mine was something daemon)might be using your port number. End that process.
Check in the task manager whether any other process ( mine was something daemon)might be using your port number. End that process.
answered May 7 '17 at 12:38
sreya sreedharansreya sreedharan
1
1
This is more a comment than an answer... Please provide more information. ;)
– Badacadabra
May 7 '17 at 16:20
add a comment |
This is more a comment than an answer... Please provide more information. ;)
– Badacadabra
May 7 '17 at 16:20
This is more a comment than an answer... Please provide more information. ;)
– Badacadabra
May 7 '17 at 16:20
This is more a comment than an answer... Please provide more information. ;)
– Badacadabra
May 7 '17 at 16:20
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f39056062%2fandroid-studio-unable-to-obtain-result-of-adb-version%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Also tried "Clean Project" and "Clean cache" (I think that's what it's called) - neither made any difference.
– Sharon
Aug 20 '16 at 15:57
Should also have made it clearer that I get the message when I try to run the project, and the screen that normally lists available devices has none listed. They are still available in the AVD Manager, though, and I can run them from there - in theory I assume I can then use the command line to push the app to the device, but I'm not sure how to do this.
– Sharon
Aug 20 '16 at 15:58
You have network firewall? (no on your local machine but on your company network), which antivirus you use?
– Andro Secy
Aug 21 '16 at 6:21
Thanks for your reply. No, I'm not on a network at all. I use MacAfee antivirus.
– Sharon
Aug 21 '16 at 8:52
I just went through my Firewall settings, and adb.exe is definitely listed as 'allowed'. I even gave it full permissions to access everything, but that still didn't help.
– Sharon
Aug 22 '16 at 14:08