triochi / QtAdb

Android File Manager using Android Debug Bridge and based on Qt
http://qtadb.wordpress.com
165 stars 69 forks source link

adb, aapt, fastboot not found in Linux #3

Open Nushio opened 12 years ago

Nushio commented 12 years ago

In Linux, they're not called "adb.sh" or "adb.exe", so the script in main.cpp doesn't find the files unless you make a softlink like adb.sh, aapt.sh, fastboot.sh. This should be fairly simple to fix and I can provide a patch.

7ymekk commented 12 years ago

hey,

sorry for such a delay in my response but I wasn't at home. what version of busybox do You have(type "busybox" in QtADB shell)? because it is recommended to use BusyBox v1.17 and later. QtADB.apk source code is not uploaded to repositories but I think I can upload it somewhere;)

2012/2/28 Juan Rodriguez reply@reply.github.com:

In Linux, they're not called "adb.sh" or "adb.exe", so the script in main.cpp doesn't find the files unless you make a softlink like adb.sh, aapt.sh, fastboot.sh. This should be fairly simple to fix and I can provide a patch.


Reply to this email directly or view it on GitHub: https://github.com/triochi/QtAdb/issues/3

Nushio commented 12 years ago

Hey 7ymekk, no problem, I actually have a 'newer' version of it, it's just missing the arp command/applet.

busybox

BusyBox v1.19.4-Stericson (2012-02-20 19:30:32 CST) multi-call binary. Copyright (C) 1998-2011 Erik Andersen, Rob Landley, Denys Vlasenko and others. Licensed under GPLv2. See source distribution for full notice.

Usage: busybox [function] [arguments]... or: busybox --list[-full] or: function [arguments]...

BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable.  Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as.

Currently defined functions: [, [[, ash, awk, base64, basename, blkid, cal, cat, chattr, chgrp, chmod, chown, chroot, chrt, cksum, clear, comm, cp, crond, crontab, cut, date, dd, depmod, devmem, df, diff, dirname, dmesg, dnsd, dnsdomainname, dos2unix, du, echo, egrep, env, ether-wake, expand, expr, fakeidentd, fdflush, fdformat, fdisk, fgrep, find, fold, free, freeramdisk, fsck, fsync, ftpd, ftpget, ftpput, getopt, grep, groups, gunzip, gzip, hd, head, hexdump, hostid, hostname, httpd, hwclock, id, ifconfig, ifenslave, inetd, inotifyd, insmod, install, ionice, iostat, ip, ipaddr, ipcalc, iplink, iproute, iprule, iptunnel, kill, killall, killall5, less, ln, logname, losetup, ls, lsattr, lsmod, lsusb, lzop, lzopcat, md5sum, microcom, mkdir, mkdosfs, mke2fs, mkfifo, mkfs.ext2, mkfs.vfat, mknod, mkswap, modinfo, modprobe, more, mount, mountpoint, mt, mv, nameif, nanddump, nandwrite, nc, netstat, nice, nmeter, nslookup, ntpd, od, patch, pgrep, pidof, ping, ping6, pkill, pmap, powertop, printenv, printf, ps, pscan, pwd, rdate, rdev, readahead, realpath, renice, reset, rev, rfkill, rm, rmdir, rmmod, route, run-parts, script, scriptreplay, sed, seq, setkeycodes, setlogcons, setsid, sha1sum, sha256sum, sha512sum, showkey, sleep, smemcap, sort, split, stat, strings, stty, sum, swapoff, swapon, sync, sysctl, tac, tail, tar, tee, telnet, telnetd, test, tftp, tftpd, time, timeout, top, touch, tr, traceroute, traceroute6, tty, ttysize, tunctl, umount, uname, uncompress, unexpand, uniq, unix2dos, unlzop, unzip, uptime, usleep, uudecode, uuencode, vconfig, vi, watch, wc, wget, which, who, whoami, whois, xargs, zcat