2011年4月28日

【Android】A notice about AndroidManifest.xml

Any tag in AndroidManifest.xml should be lowercase!

<service android:name = ".counterService"
            android.enabled = "true">
</service>

【Android】Android Emulater can't be started

After not normally  closing Eclipse & AVD,  I restart Eclipse & AVD then got an emulator error "emulator: ERROR: the user data image is used by another emulator. aborting".

Survey some solutions:
  1. Use "adb kill-server && adb-restart-server"                                      (Not work)
  2. Delete C:\Documents and Settings\@USER@\.android\avd  .lock files   (Work)

2011年4月26日

【Android】 Create Android API doc


Use javadoc.exe to create android API document.


Eclipse的"Project"->"Generate Javadoc"



【Android】Android Debug certificate expired

I just Run first Project then get a error: Debug Certificate expired on 2010/12/14 下午 2:13

  • Q:After installation, the android SDK wil generate a "Debug" signing certificate in a keystore called debug.keystore. The Eclipse plug-in uses this certificate to sign each application build that is generated. But, a debug certicate is onle valid for 365 days. To generate a new one you must delete the existing debug.keystore file. Its location is platform dependent - you can find it in Preferences - Android - Build - Default debug keystore.