• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Apr 08, 2017 at 09:25 AM by merlinwoff.
avatar image
Question by merlinwoff · Apr 07, 2017 at 02:59 PM · sdkgoogle play gamesmanifestservicepermission

Failed to get permission info for android.permission.android.permission.READ_CONTACTS

Hi there

I am trying to implement Google Play Service into my Project, which is compiled fpr Android. Sadly, I am always getting following Error in the Log:

Failed to get permission info for android.permission.android.permission.READ_CONTACTS, manifest likely missing custom permission declaration Permission android.permission.android.permission.READ_CONTACTS ignored

My Application is running, until I call the Social.localUser.Authenticate function, than it crashes.

Here is my AndroidManifest.xml File:

 <manifest xmlns:android="http://schemas.android.com/apk/res/android">
   <uses-permission android:name="android.permission.NFC" />
   <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
   <uses-permission android:name="android.permission.INTERNET" />
   <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
   <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
   <uses-permission android:name="com.android.vending.BILLING" />
   <uses-permission android:name="android.permission.GET_ACCOUNTS" />
   <uses-permission android:name="android.permission.USE_CREDENTIALS" />
   <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
   <uses-permission android:name="android.permission.WRITE_CONTACTS" />
   <uses-permission android:name="android.permission.android.permission.READ_CONTACTS" />
   <application android:icon="@drawable/app_icon" android:label="@string/app_name">
     <activity android:name="com.google.unity.GoogleUnityActivity" android:label="@string/app_name" android:screenOrientation="landscape" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale">
       <intent-filter>
         <action android:name="android.intent.action.MAIN" />
         <category android:name="android.intent.category.LAUNCHER" />
         <category android:name="com.google.intent.category.CARDBOARD" />
       </intent-filter>
       <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
     </activity>
     <meta-data android:name="IMMERSIVE_MODE" android:value="true" />
  
     <meta-data android:name="com.google.android.gms.nearby.connection.SERVICE_ID"
         android:value="" />
 
     <meta-data android:name="com.google.android.gms.games.APP_ID"
         android:value="\ XXXXXXXXXXXXX" />
     <meta-data android:name="com.google.android.gms.games.unityVersion"
         android:value="\ X.X.XX" />
     <meta-data android:name="com.google.android.gms.version"
         android:value="@integer/google_play_services_version" />
 
     <activity android:name="com.google.games.bridge.NativeBridgeActivity"
         android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />
   
     <activity
               android:name="com.unity3d.ads.android.view.UnityAdsFullscreenActivity"
               android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
               android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
               android:hardwareAccelerated="true"
               tools:ignore="UnusedAttribute"/>
   </application>
   <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="22" />
   <uses-feature android:glEsVersion="0x00020000" />
   <uses-feature android:name="android.hardware.sensor.accelerometer" android:required="true" />
   <uses-feature android:name="android.hardware.sensor.gyroscope" android:required="true" />
 </manifest>

Does anyone of you have an Idea, what could be causing this error?

Thank you for answering!

Comment

People who like this

0 Show 0
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

  • Sort: 

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta by June 9. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Google Play Permissions and Manifest files help 1 Answer

How to google plus share in unity for Android games 0 Answers

Can lower SDK versions run on higher Android Versions? 0 Answers

Unity Authentication - SignInWithGoogleAsync Throws Permission Denied 1 Answer

Failed to recompile resources Facebook sdk integration with admob, unity ads plugin 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges