Https request, authentication in Android

前端 未结 2 1586
Happy的楠姐
Happy的楠姐 2021-01-13 04:10

I am currently trying to authenticate with a server via a http Get call. The code provided below works when compiled in a java project. Returning the correct token to the pr

2条回答
  •  感情败类
    2021-01-13 04:23

    You probably did not add the Internet-Permission to your projects AndroidManifest.xml. If so, add the following line as a child of the node:

    
    

提交回复
热议问题