0

プロジェクトを Eclipse からエクスポートしてテスト用に送信しているときに、次のエラーが発生します。

Obsolete ProGuard file; use -keepclasseswithmembers instead of -keepclasseswithmembernames

Issue: Looks for problems in proguard config files
Id: Proguard

Using -keepclasseswithmembernames in a proguard config file is not correct; it can cause some symbols to be renamed which should not be.
Earlier versions of ADT used to create proguard.cfg files with the wrong format. Instead of -keepclasseswithmembernames use -keepclasseswithmembers, since the old flags also implies "allow shrinking" which means symbols only referred to from XML and not Java (such as possibly CustomViews) can get deleted.

http://http://code.google.com/p/android/issues/detail?id=16384

そのリンクは私には機能していません。これを修正する方法がわかりません。最近、ADT をアップグレードしました。

4

2 に答える 2

0

次のリンクで答えを見つけました。

于 2012-05-26T15:42:10.163 に答える