How to add manifest permission to an application?

后端 未结 9 1305
甜味超标
甜味超标 2020-11-22 15:46

I am trying to access HTTP link using HttpURLConnection in Android to download a file, but I am getting this warning in LogCat:

9条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-22 16:44

    Copy the following line to your application manifest file and paste before the tag.

    
    

    Placing the permission below the tag will work, but will give you warning. So take care to place it before the tag declaration.

提交回复
热议问题