user1699790
user1699790

Reputation: 51

Play store publish error - how to validate

my customer manages google play store account by another department. We do not have direct access to playstore account. When we send the apk it is returned with message

"Duplicate declarations of permission android.permission.WRITE_EXTERNAL_STORAGE with different maxSDKVersions"

is there any tool / way we can check play store acceptability before sending it for actual release ?

regards

Upvotes: 0

Views: 155

Answers (2)

Nick Fortescue
Nick Fortescue

Reputation: 13832

Such a tool does not exist. If you think about it, it would have to be a server side tool, otherwise it couldn't be kept up to date when Google Play changes their servers. And if it was a server side tool, you would have to access it through the Google Play Publishing API. Which you would need Play console access to use.

I would suggest you ask the other department to create you an API account or add a user for the Play console which has the right to publish to Alpha and Beta but not to production. Then you can test your APK using the Alpha track. See the help docs for the different levels of permissions you can give to users in the Play Console.

Upvotes: 0

ibad ur rahman
ibad ur rahman

Reputation: 1411

This kind of problem occurs when you have declared a permission in your manifest that is also declared in one of the library that you are using. To rectify this issue you have to find that permission in all your libraries's manifests files. When you find it then remove one of them in your main Manifest like this: see here

also try below. i hav'nt try it by myself.

 <uses-permission-sdk-23 tools:node="removeAll"/>

Upvotes: 1

Related Questions