NameValuePair deprecated for openConnection

前端 未结 7 1207
梦谈多话
梦谈多话 2020-12-01 06:09

I been following online tutorials on how to insert data into a database from an android app and have everything working except this small part

List

        
7条回答
  •  情歌与酒
    2020-12-01 06:40

    If you realy want to use NameValuePair in your application, you can add the useLibrary 'org.apache.http.legacy' to your gradle:

    buildtypes{
        //------------
        //----------
    }
    
    useLibrary 'org.apache.http.legacy'
    

提交回复
热议问题