搜尋此網誌

2012年7月18日 星期三

[問題] Ignoring InnerClasses attribute for an anonymous inner class

在 eclipse 的 console 出現 Ignoring InnerClasses attribute for an anonymous inner class

此錯誤可能發生在 import 外部 jar 檔時

官方解決方法

To fix this problem, simply delete the debug.keystore file. The default storage location for AVDs is in ~/.android/avd on OS X and Linux, in C:\Documents and Settings\\.android\ on Windows XP, and in C:\Users\\.android\ on Windows Vista.
The next time you build, the build tools will regenerate a new keystore and debug key

也就是刪除在
C:\Documents and Settings\[UserName]\.android 下面的 debug.keystore 檔
(找不到 .android 要看 AVD 裝那個目錄下, 預設是 C:\Documents and Settings\[UserName]\.android)

刪除後在 Run As -> Android Application 執行, 就不會出線現錯誤訊息了

P.S. eclipse 工具列的 Windows -> Preferences -> Android -> Build 裡面有 debug.keystore 的位置




沒有留言:

張貼留言

標籤