android eclipse 加入百度地图后混淆出错

加入百度地图后混淆出错
[2016-05-28 11:37:09 - zszy] Proguard returned with error code 1. See console
[2016-05-28 11:37:09 - zszy] Warning: com.baidu.location.au: can't find referenced method 'boolean isScanAlwaysAvailable()' in class android.net.wifi.WifiManager
[2016-05-28 11:37:09 - zszy] Warning: com.baidu.mapapi.utils.e: can't find referenced method 'java.io.File[] getExternalFilesDirs(java.lang.String)' in class android.content.Context
[2016-05-28 11:37:09 - zszy] You should check if you need to specify additional program jars.
[2016-05-28 11:37:09 - zszy] Warning: there were 2 unresolved references to program class members.
[2016-05-28 11:37:09 - zszy] Your input classes appear to be inconsistent.
[2016-05-28 11:37:09 - zszy] You may need to recompile them and try again.
[2016-05-28 11:37:09 - zszy] Alternatively, you may have to specify the option
[2016-05-28 11:37:09 - zszy] '-dontskipnonpubliclibraryclassmembers'.
[2016-05-28 11:37:09 - zszy] Error: Please correct the above warnings first.

2个回答

你肯定是把百度的三方包混淆了导致找不到方法了。。。

不要用eclipse
要用Android Studio

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问