xuexiangjys / XUpdate

🚀A lightweight, high availability Android version update framework.(一个轻量级、高可用性的Android版本更新框架)
https://github.com/xuexiangjys/XUpdate/wiki
Apache License 2.0
2.32k stars 406 forks source link

引用问题 #80

Closed zhubinsheng closed 4 years ago

zhubinsheng commented 4 years ago

ERROR: Android dependency 'com.github.xuexiangjys:XUpdate:1.1.3' is set to compileOnly/provided which is not supported compileSdkVersion 29 useLibrary 'org.apache.http.legacy' defaultConfig { minSdkVersion 16 targetSdkVersion 29 versionCode 1 versionName "1.00.00" multiDexEnabled true ndk { // 设置支持的SO库架构 abiFilters 'armeabi', 'x86' //, 'x86', 'armeabi-v7a', 'x86_64', 'arm64-v8a' } renderscriptTargetApi 25 renderscriptSupportModeEnabled true

是因为我不是安卓x吗

zhubinsheng commented 4 years ago

还要自己实现可能会之前代码冲突的OKHttpUpdateHttpService

xuexiangjys commented 4 years ago

What are you talking about???

zhubinsheng commented 4 years ago

为啥必须使用Gson框架啊

xuexiangjys commented 4 years ago

没说一定要使用gson 啊,如果不想使用gson你可以自己定义解析器IUpdateParser