Android eclipse : Error generating final archive: Debug certificate expired on

2011年9月6日 星期二

how to fix it?


Answer:

Delete your debug certificate under ~/.android/debug.keystore; the directory is something like %USERHOME%/.androidon Windows.

Unfortunately a debug certificate is only 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.

The Eclipse plugin should then generate a new certificate when you next try to build a debug package. You may need to clean and then build to generate the certificate.

Read more...

android cross activity variable scope

2011年2月8日 星期二

xxClass appState = ((xxClass)getApplicationContext());

appState.variable_in_another_activity

Read more...

Eclipse Hot Key

2011年1月18日 星期二



Shift-Alt-Arrow Up :
to mark the surrounding block to the current block (and Shift-Alt-Arrow Down to narrow down again).

Read more...

  © Blogger template The Professional Template II by Ourblogtemplates.com 2009

Back to TOP