エラー対策

[edit]

エラー

[edit]

Failed to install *.apk on device *: timeout

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.

[edit]

Android requires compiler compliance level ...

[edit]

The method onClick(View) of type ... must override a superclass method

JDKのバージョンを1.6にする。

  • 全てのプロジェクトを変更する場合[メニュー] - [Window] - [Preferences]より[Java]-[Compiler]を選びCompiler compliance levelを1.6にする。
  • 該当のプロジェクトだけを変更するには[メニュー] - [Project] - [Preferences]より[Java Compiler]を選びEnable project specific settingsにチェックを入れてCompiler compliance levelを1.6にする。
  • http://firespeed.org/diary.php?diary=kenz-1306