How to make AQuery images load when targetSdkVersion is API 28?

笑着哭i 提交于 2019-12-08 08:19:26

问题


When targetSdkVersion = 27, the AQuery URL images load good. But when it equals 28, the images don't load and the image loading place holder is shown. Any ideas how to solve this so that I can target API 28?


回答1:


I don't know why, but I added

<!-- for targetsdk 28 -->
<uses-library android:name="org.apache.http.legacy" android:required="false"/>

on AndroidManifest.xml, and AQuery now works again on targetSdk 28.



来源:https://stackoverflow.com/questions/53077124/how-to-make-aquery-images-load-when-targetsdkversion-is-api-28

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!