开发者

Android SecurityException with entry in Manifest

I'm doing a Gdata Blogger from Android device:

GoogleLoginServiceHelper.getCredentials(this, REQUEST_CODE_LOGIN, null,
          GoogleLoginServiceConstants.REQUIRE_GOOGLE,
          BLOGGER_SERVICE, true);

I have this permissions in my manifest:

<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH"/>   
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.blogger"/>

But I got a SecurityException:

开发者_如何学编程

ERROR/AndroidRuntime(20985): java.lang.SecurityException: caller pid 20985 uid 10044 lacks com.google.android.googleapps.permission.GOOGLE_AUTH.BLOGGER

What could be wrong?


Neither GoogleLoginServiceHelper nor those permissions are part of the Android SDK, at least as of Android 2.1.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜