android buildToolsVersion 更改21 以上,org.apache.http找不到的bug

    xiaoxiao2021-03-25  86

    这个只需要添加一行代码

    useLibrary 'org.apache.http.legacy'

    就可以搞定啦,避免引入那么多jar包。

    但是为什么要改23呢?是不是因为一些打包编译报错导致的?

    如果是因为这个可以参考:http://blog.csdn.net/ck12ck12/article/details/61194045 (【已解决】Android studio 打包released 包,各种can`t find referenced method xxxxx的问题。)

    转载请注明原文地址: https://ju.6miu.com/read-19814.html

    最新回复(0)