Why is “adb install (my APK)” triggering “can’t find service: package”?

You have essentially answered your own question while asking it. The root of the problem is that the emulator is not setup properly (evidenced by the system UI not loading). When Android can’t boot properly, it is likely to fail to start some system services (in this case, the package service). The solution is to … Read more

ADB device list is empty [duplicate]

This helped me at the end: Quick guide: Download Google USB Driver Connect your device with Android Debugging enabled to your PC Open Device Manager of Windows from System Properties. Your device should appear under Other devices listed as something like Android ADB Interface or ‘Android Phone’ or similar. Right-click that and click on Update … Read more

OS X 10.6.6 and “adb devices” fails to list android devices

If you have installed EasyTether on OS X, the EasyTetherUSBEthernet.kext can prevent adb from communicating with your mobile device. If you use Easy Tether, BEFORE you plug in your phone run: sudo kextunload /System/Library/Extensions/EasyTetherUSBEthernet.kext (or unplug/plug your phone in after) If you are done debugging and want to use EasyTether again, either restart or: sudo … Read more

adb forward remote port to local machine

Recently google updated ADB service. And added reverse command that should do the job. From reverse documentation: This implements the adb reverse feature, i.e. the ability to reverse socket connections from a device to the host. <forward-command> is one of the forwarding commands that are described above, as in: list-forward forward:<local>;<remote> forward:norebind:<local>;<remote> killforward-all killforward:<local> Note … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)