Android リリースしようとしたらproguard.cfgでエラーになった
意味が分からないが、
warningには
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
とでてるのでエラーになっている箇所
の
keepclasseswithmembernames
を
keepclasseswithmembers
と書き換えたら
Run Lint: Check for Common Errors
をするらしい。
が
書き換えたその下の行もエラーになったので
もう一丁書き換えて
Run Lint: Check for Common Errors
した。