If you ever wonder why eclispe doesn’t generate a source file for your AIDL file, try installing the latest Eclispe version (currently Helios)! It might be a bit time consuming, since you also have to install the Android Development Tools (ADT) again, but it’s worth it… as it then magically works!
Archive for the ‘Misc’ category
I’m currently redesigning the blog. I put a first version of the new theme live, but things will still change… I’ll also register a new domain and – tada! It’s now AD-FREE!
Update Feb 10th: I’m doing some tests with the new domain. Currently it’s running, but not as intended to (still got some frame-issues which I don’t want). So in case you see some missing GFX or so, it’s me testing
Update April 5th 2011: since the latest Android SDK, the adb tool has been moved to the platform-tools folder. I updated the script to point to the correct directory.
If you want to be able to just drag and drop your APK file onto a CMD file, and let it be installed on the connected device automatically, use something like this (simply copy this to your *.cmd file):
:: Just some debug output: echo Attempting to install file: %1 :: Enter drive letter: d: :: Enter path to adb here: cd D:\android_sdk on 10.17.1.205\platform-tools :: Install file: adb install -r %1 PAUSE
:: Just some debug output: echo Attempting to install file: %1 :: Enter drive letter: d: :: Enter path to adb here: cd D:\androidsdk\tools :: Install file: adb install -r %1 PAUSE
PS: Of course one could use set varNAme=__PATH__ instead of the cd-ing, but my path has some spaces and that leads to troubles.
To cancel the call, type ‘gsm cancel 066712345‘.
See http://developer.android.com/guide/developing/tools/emulator.html#telephony for more information about gsm operations.
Use ‘exit‘ to exit the Android Console and ‘quit‘ to quit telnet.
Hope that helps!
If you’re using Eclipse to develop Android applications and get the error:
[2010-08-16 19:56:41 - xxx] ------------------------------ [2010-08-16 19:56:41 - xxx] Android Launch! [2010-08-16 19:56:41 - xxx] adb is running normally. [2010-08-16 19:56:41 - xxx] Could not find xxx.apk! [2010-08-16 19:58:04 - xxx] ------------------------------
after importing a project (maybe doing some reconfiguring), just remove the project (only the project from Eclipse, not from disk!).
Then simply re-import it and it should work again!
Update March 14th: according to Sean, you can get this error also by having the emulator already running and changing the project SDK. The solution then is to close the emulator and run it again from eclipse. Thanks for the info!