1.apache.http包去掉了,请在gradle里加入useLibrary 'org.apache.http.legacy'
android {
compileSdkVersion 22
buildToolsVersion '23.0.3'
useLibrary 'org.apache.http.legacy'
混淆在原基础上增加:
-dontwarn android.net.SSLCertificateSocketFactory
2.友盟统计需要升级到最新版,旧版本不支持6.0
混淆在原基础上增加:
-keep class com.bugtags.library.** {*;}
-dontwarn android.net.http.AndroidHttpClient
-dontwarn com.bugtags.library.**
-dontwarn com.bugtags.library.vender.**
3.shareSdk使用了过时方法,在6.0里已经删除;需要更新shareSdk
4.support:recyclerview-v7升级到23.2.1后
GridLayoutManager或StaggeredGridLayoutManager(VERTICAL)里的view根布局需要设置成:
android:layout_width="match_parent"
android:layout_height="wrap_content"
(以前match_parent或wrap_content可以随便设置)
此为blog备份,原地址:http://blog.yzapp.cn/compileSdkVersion.html