Android-sdks/platform-tools/adb Java.io.ioexception Error=2
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies cannot run program "adb" : error=2, no such file or directory mac of this site About Us Learn more about Stack Overflow the company Business adb no such file or directory mac Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges adb no such file or directory ubuntu Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: adb no such file or directory windows Sign up Error message when setting up ADT in Linux up vote 5 down vote favorite 3 I installed Ubuntu 11.10, installed GNOME 3 (replaced Unity), installed Eclipse from the Ubuntu Software Center, installed the android sdk and ADT. Now when I start eclipse I get a message saying: Failed to get ADB version : Cannot run program /home/ayush/android-sdk/platform-tools/adb":java.io.IOException:error=2, No such file or
Platform-tools/adb: Syntax Error: ")" Unexpected
directory What is causing this error and how do I fix it? linux adb share|improve this question edited Aug 30 '13 at 2:37 Eric Leschinski 45.9k23219189 asked Mar 5 '12 at 11:37 Ayush 1741312 migrated from android.stackexchange.com Apr 3 '12 at 15:09 This question came from our site for enthusiasts and power users of the Android operating system. 3 Is the path correct? For example, if you run ls -l /home/ayush/android-sdk/platform-tools/adb do you get the details of the file or ls: cannot access /home/ayush/android-sdk/platform-tools/adb: No such file or directory? If i remember correctly, the default install folder is ~/android-sdk-linux/ –onik Mar 5 '12 at 11:51 add a comment| 6 Answers 6 active oldest votes up vote 9 down vote The command to install IA32 libraries on Ubuntu is: apt-get install ia32-libs share|improve this answer answered Aug 10 '12 at 17:21 ChuanRocks 7851917 1 well, this is incredible - ADT-bundle says it contains everything - but it doesn't - ia32-libs for one, java for another –SvenDowideit Nov 18 '12 at 5:27 2 this does not work anymore, see stackoverflow.com/questions/14421171/… –Hoto Oct 27 '
here for a quick overview of the site bash ./adb no such file or directory Help Center Detailed answers to any questions you might have Meta the program 'adb' is currently not installed. Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn http://stackoverflow.com/questions/9996167/error-message-when-setting-up-adt-in-linux more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, http://stackoverflow.com/questions/30914169/jenkins-build-fail-with-adb-not-found helping each other. Join them; it only takes a minute: Sign up jenkins build fail with adb not found up vote 0 down vote favorite I was trying to build my android studio project set up with jenkins, I get into an error adb not found ,, i am using the gradle emulator plugin. java.io.IOException: Cannot run program "/var/lib/jenkins/tools/android-sdk/platform-tools/adb": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047) at hudson.Proc$LocalProc.
2012-07-10 22:34:52 peperoni Member Registered: 2012-07-10 Posts: 7 Android sdk not working anymore on arch64 Hi,Just have a strange problem I cannot solve. I have the android sdk on a ARCH64 laptop,working perfectly https://bbs.archlinux.org/viewtopic.php?id=144802 till 3 days. After a recent upgrade, the result of:/opt/android-sdk/platform-tools/adb gave me https://issues.jenkins-ci.org/browse/JENKINS-18015 this output :bash: /opt/android-sdk/platform-tools/adb: No such file or directoryAfter some googling, it appears that some lib32 libraries could be missing. After reinstalling every dependencies, the problem still remains. Any ideas ? Thanks Offline #2 2012-07-10 23:29:11 smakked Member From: Gold Coast , Australia Registered: 2008-08-14 Posts: 419 Re: Android sdk not no such working anymore on arch64 is adb installed?I just type adb and it works no need to add path Certified Android JunkieArch 64 Offline #3 2012-07-11 06:01:47 peperoni Member Registered: 2012-07-10 Posts: 7 Re: Android sdk not working anymore on arch64 Yes,adb is installed. Same problem.ls /opt/android-sdk/platform-tools/adb :/opt/android-sdk/platform-tools/adbAnd if I try to start adb :bash: /opt/android-sdk/platform-tools/adb: No such file or directoryAnother clue : when I no such file try to start a virtual device from eclipse, I get this funky message:Starting emulator for AVD 'myDevice'Failed to start emulator: Cannot run program "/opt/android-sdk//tools/emulator": java.io.IOException: error=2, No such file or directory Offline #4 2012-07-11 06:14:45 ebal Member From: Athens, GReece Registered: 2009-05-26 Posts: 215 Website Re: Android sdk not working anymore on arch64 @peperoni My opinion is to to build a clean 32bit arch and chroot into this for using android.https://wiki.archlinux.org/index.php/Ar … bit_system http://Ευάγγελος.Μπαλάσκας.grUnix System Engineer - Registered Linux User #420129 Offline #5 2012-07-11 07:04:20 peperoni Member Registered: 2012-07-10 Posts: 7 Re: Android sdk not working anymore on arch64 OK, i will try this solution first. Offline #6 2012-07-12 10:35:13 ewilly Member Registered: 2012-01-22 Posts: 7 Re: Android sdk not working anymore on arch64 if in your conf the testing repo is enable, you should enable the multilib-testing repo too in order to update the lib32-glibc packageHope this will help you Offline #7 2012-07-12 20:04:15 peperoni Member Registered: 2012-07-10 Posts: 7 Re: Android sdk not working anymore on arch64 @ewillymultilib-testing is enabled, but I still have the same problem, even after a system update. Thanks, anyway.@ebalRight now, I'm trying t
- 15th for workshops, presentations and all things Jenkins Learn more Export Tools JenkinsJENKINS-18015Breakage on Android SDK r22Log In ExportXMLWordPrintable Details Type: Bug Status: Closed Priority: Minor Resolution: Fixed Component/s: android-emulator-plugin Labels: None Similar Issues: Show Description In Android SDK r22, aapt was moved from platform-tools/ to build-tools/17.0.0/. This causes Android Emulator plug-in to stop working with the following error: [android] Required Android tools not found in PATH; cannot continue Putting $ANDROID_HOME/build-tools/17.0.0/ in the path variable doesn't resolve the issue. The temporary workaround is to create a soft-link under $ANDROID_HOME/platform-tools/ to $ANDROID_HOME/build-tools/17.0.0/aapt AttachmentsActivity All Comments History Activity Ascending order - Click to sort in descending order Hide Permalink Manfred Moser added a comment - 2013/May/30 7:52 PM Thanks for the work around.. Show Manfred Moser added a comment - 2013/May/30 7:52 PM Thanks for the work around.. Hide Permalink SCM/JIRA link daemon added a comment - 2013/Jun/02 9:04 PM Code changed in jenkins User: Christopher Orr Path: src/main/java/hudson/plugins/android_emulator/sdk/Tool.java src/main/java/hudson/plugins/android_emulator/util/Utils.java http://jenkins-ci.org/commit/android-emulator-plugin/0f997f47b5acc9bae0740e4d8c80e2fdfbb345fc Log: [FIXED JENKINS-18015] Handle SDK detection with new 'build-tools' component. Show SCM/JIRA link daemon added a comment - 2013/Jun/02 9:04 PM Code changed in jenkins User: Christopher Orr Path: src/main/java/hudson/plugins/android_emulator/sdk/Tool.java src/main/java/hudson/plugins/android_emulator/util/Utils.java http://jenkins-ci.org/commit/android-emulator-plugin/0f997f47b5acc9bae0740e4d8c80e2fdfbb345fc Log: [FIXED JENKINS-18015] Handle SDK detection with new 'build-tools' component. Hide Permalink Christopher Orr added a comment - 2013/Jun/02 10:37 PM Version 2.10 of the plugin has been released, which includes this fix. Show Christopher Orr added a comment - 2013/Jun/02 10:37 PM Version 2.10 of the plugin has been released, which includes this fix. Hide Permalink Tony Chuinard added a comment - 2013/Jul/02 5:28 PM I'm still getting this issue on the 2.10 version of the plugin: Waiting for Jenkins to finish collecting data channel stopped [target] $ /usr/local/android-sdk/platform-tools/aapt dump badging budgetplannerpro.apk ERROR: Failed to parse POMs java.io.IOException: Cannot run program "/usr/local/android-sdk/platform-tools/aapt" (in directory "/ebs/jenkins/workspace/Budget/target"): java.io.IOException: er