记录一个调了半天的问题:java.lang.SecurityException: Permission denied (missing INTERNET permission?)
Move the <uses-permission>
elements outside of <application>
. They need to be immediate children of the root <manifest>
element.
不然就会出现crush!
不用申请权限,改个位置即可。