default.propertiesファイルに追加proguard.config=proguard.cfgし、プロジェクトルートにproguard.cfgファイルがあります。Eclipse内からAndroidアプリケーションとしてエクスポートを使用すると、次のエラーが発生します。
[2011-01-27 11:11:37 - Application] Warning: class [classes/com/package.Class.class] unexpectedly contains class [com/package.Class]
[2011-01-27 11:11:37 - Application] Warning: class [classes/com/package.Class2.class] unexpectedly contains class [com/package.Class2]
[2011-01-27 11:11:37 - Application] Note: there were 145 duplicate class definitions.
[2011-01-27 11:11:37 - Application] Warning: there were 146 classes in incorrectly named files.
[2011-01-27 11:11:37 - Application] You should make sure all file names correspond to their class names.
[2011-01-27 11:11:37 - Application] The directory hierarchies must correspond to the package hierarchies.
[2011-01-27 11:11:37 - Application] If you don't mind the mentioned classes not being written out,
[2011-01-27 11:11:37 - Application] you could try your luck using the '-ignorewarnings' option.
[2011-01-27 11:11:37 - Application] java.io.IOException: Please correct the above warnings first.
[2011-01-27 11:11:37 - Application] at proguard.InputReader.execute(InputReader.java:133)
[2011-01-27 11:11:37 - Application] at proguard.ProGuard.readInput(ProGuard.java:195)
[2011-01-27 11:11:37 - Application] at proguard.ProGuard.execute(ProGuard.java:78)
[2011-01-27 11:11:37 - Application] at proguard.ProGuard.main(ProGuard.java:499)
どういうわけか私のクラスはクラスサブフォルダーに保存されているようですが、Proguardはこのクラスサブフォルダーをパッケージとして使用しています。したがって、クラスの定義はProguardでは理解できません。
これは私のSDKセットアップの問題ですか?または、この問題の原因となるProguard構成にエラーがありますか?