且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

未经许可连接到互联网

更新时间:2022-06-22 22:47:45

您必须在清单文件中写入权限android.permission.INTERNET.没有办法解决.但是,自最新的Play商店更新(4.8.19)起,"Internet权限"将不会显示在对话框中.这就是为什么文字显示不需要任何特殊权限" .

You have to write the permission android.permission.INTERNET in the Manifest file. There's no way around it. But as of the latest Play Store update (4.8.19), the Internet Permission won't show up on the dialog. That's why the text says "does not require any special permissions".

Google还在以下支持文档中对此进行了说明(点击) 这些天,应用程序通常会访问Internet,因此包括完全Internet访问"权限在内的网络通信权限已从主要权限"屏幕中移出."

Google also states this in the following Support document (Click) "These days, apps typically access the Internet, so network communication permissions including the "full Internet access" permission have been moved out of the primary permissions screen."