from://http://blog.csdn.net/gaojinshan/article/details/14230673
在AndroidManifest.xml中使用了如下的配置:
<uses-permission android:name="android.permission.INSTALL_PACKAGES" />
就會報錯:Permission is only granted to system apps
原因如下:
此類權限僅授予系統級應用,可以修改下Link Error Checking項的安全級別;
In Eclipse: Window -> Preferences -> Android -> Lint Error Checking
在ID列表中,找到ID = ProtectedPermission,設置Serverity低於Error,比如Warning級別就好了。