Android: Difference between revisions

From 太極
Jump to navigation Jump to search
No edit summary
Line 27: Line 27:
== Failed to install HelloWorld.apk on device (null) Error ==
== Failed to install HelloWorld.apk on device (null) Error ==
http://stackoverflow.com/questions/5229906/android-failed-to-install-helloworld-apk-on-device-null-error
http://stackoverflow.com/questions/5229906/android-failed-to-install-helloworld-apk-on-device-null-error
Solution: Try changing the ADB connection timeout. I think it defaults that to 5000ms and I changed mine to 10000ms to get rid of that problem. If you are in Eclipse, you can do this by going through Window -> Preferences and then it is in DDMS under Android.

Revision as of 08:07, 17 December 2013

SDK

http://developer.android.com/sdk/index.html#ExistingIDE

Redhat

At the step of Running your app I cannot run app from Eclipse. The command line way does not work.After several tries, it seems the RHEL does not have an updated Ant package (currently it is 1.7 but I need 1.8). Give up.

Ubuntu

Just uncompress adt-bundle-linux-xxx.zip and run the file <eclipse>. It just works!

Windows

Useful Apps

Network Signal Info

Play store

CPU-Z

Github

The source code is hosted on https://github.com/github/android

Basic(s)

Where to find the apk files on devices

See here. It is located under /data/app/.

Failed to install HelloWorld.apk on device (null) Error

http://stackoverflow.com/questions/5229906/android-failed-to-install-helloworld-apk-on-device-null-error

Solution: Try changing the ADB connection timeout. I think it defaults that to 5000ms and I changed mine to 10000ms to get rid of that problem. If you are in Eclipse, you can do this by going through Window -> Preferences and then it is in DDMS under Android.