Android Question UpLoad failure at Google Play

Bob Spielen

Active Member
Licensed User
While uploading my app to Google Play, I have the failure information :


"
Upload failed
Copies of android.permission.WRITE_EXTERNAL_STORAGE permission declarations with different maxSdkVersions.

"

My manifest is :


AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="18"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
'********* TabStrip ***********************
CreateResource(drawable, background_tab.xml,
<selector xmlns:android="http://schemas.android.com/apk/res/android"
android:exitFadeDuration="@android:integer/config_shortAnimTime">
<item android:state_pressed="true" android:drawable="@Color/background_tab_pressed" />
<item android:state_focused="true" android:drawable="@Color/background_tab_pressed"/>
<item android:drawable="@android:color/transparent"/>
</selector>)
CreateResource(values, colors.xml,
<resources>
<color name="background_tab_pressed">#6633B5E5</color>
</resources>)
'******************************************
AddManifestText(
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />)


Does anybody know why Im unable to upload the App?
Thanks in advance....
 

MarcoRome

Expert
Licensed User
Longtime User
Probably you are using a third party library that declare maxSdkVersion in different mode.
Try change:
android:maxSdkVersion="22"

or change the same:

AddManifestText(
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />)

in

AddPermission(android.permission.WRITE_EXTERNAL_STORAGE)
 
Upvote 0

Bob Spielen

Active Member
Licensed User
Thank you both for the reply.
Mr. Erel, I used the snipped because of the DButils that I'm using. Do you think that eliminating the snipped I will have problems with the lib.
When I eliminate the snipped, the GooglePlay problem desappears
 
Upvote 0
Top