question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pidcat can't find adb

See original GitHub issue

system: Arch Linux 3.9.6-1 x86_64 python version: 2.7.5 and 3.3.2 pidcat version: 571826e8c03b18402025c6d8bd8bad1d367401a8

Traceback (most recent call last):
  File ".bin/pidcat.py", line 142, in <module>
    adb = subprocess.Popen(adb_command, stdin=PIPE, stdout=PIPE, stderr=PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1308, in _execute_child
    raise child_exception                                                                                                                                                                                                                                                      
OSError: [Errno 2] No such file or directory

~/.bashrc

export ANDROID_HOME="~/android-sdk-linux"
export PATH="$ANDROID_HOME/platform-tools:$PATH"

Issue Analytics

  • State:open
  • Created 10 years ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
GoMinocommented, Apr 9, 2015

I had the same problem, removing the tilda in SDK Path location and putting an absolute Path (/Users/…) fixed the issue.

0reactions
delorcommented, Sep 27, 2014

With a21ee6e I no longer have this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

why can't pidcat find this directory? - Stack Overflow
It is working after setting the adb path to $PATH env variable in my mac. Do try it once. Check adb is working...
Read more >
Android Debug Bridge - Kashyap Bhat - Medium
This post will help people who want to get the logs of applications but dont want to install entire android studio. ADB (Android...
Read more >
Pidcat - Free Software Directory
This script solves that problem by filtering by application package. Supply the target package as the sole argument to the python script and...
Read more >
Pidcat vs ADB Enhanced | LibHunt
Compare Pidcat and ADB Enhanced's popularity and activity. ... Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality ...
Read more >
Pidcat <3 Android M - Zarah Dominguez
If you use Pidcat, there might be issues running the tool if your device is on M+. The issue has been fixed on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found