14

I am trying to upload a new version of my app on play store and getting following error while uploading:-

You can't edit this app until you create a new app release declaring sensitive permissions

I have tried removing CALL_PHONE permission that Google restricts in latest policy and my app does not contain any unadaptable data. But still getting same error.

If anyone faced the same issue. Please help me to resolve.

Thanks in Advance!!

priyanka kataria
  • 417
  • 5
  • 17
  • 1
    We are also facing the same error, we have removed these extra permission but still showing this error. Is there any solution you have find please suggest? – Asheesh Jan 28 '19 at 05:51
  • Can you please post your current permission list? – Vadim Kotov Jan 28 '19 at 15:11
  • Check my answer here [Google play console said “You can't edit this app until you create a new app release declaring sensitive permissions” how to fix it?](https://stackoverflow.com/questions/54361014/google-play-console-said-you-cant-edit-this-app-until-you-create-a-new-app-rel) – cookieCat Jan 29 '19 at 05:19
  • Possible duplicate of [Google play console said "You can't edit this app until you create a new app release declaring sensitive permissions" how to fix it?](https://stackoverflow.com/questions/54361014/google-play-console-said-you-cant-edit-this-app-until-you-create-a-new-app-rel) – Vadim Kotov Jan 29 '19 at 08:23

6 Answers6

11

If you are unable to submit a new version in any of the tracks, promote an older version from an Internal Track to Alpha or from Alpha to Beta or from Beta to Production. While doing this a Permission Declarations Form will show up querying Call Log and SMS permissions used in your app. Once you have submitted this form and promoted an older version, you will be able to submit new versions of the app in all the tracks.

Darpa
  • 396
  • 1
  • 8
  • Doesn't work for me. I have already removed the SMS and CALL permissions 1st week of January. I was able to roll out builds since then, not until now. There's no Permissions Declarations Form that appears when preparing the release. But, in "Review" screen just before rolling out to production. Error dialog appears indicating that I need to declare sensitive permissions. – YellowJ Feb 01 '19 at 07:40
  • I am facing the same problem. Above solution did not worked for me. Any other solution any one have? – Megha Parmar Feb 01 '19 at 12:53
  • @YellowJ Do you have any builds added to Internal, Alpha or Beta tracks? How many Active artifacts can you see under Release Management > Artifact library on Google Play console? – Darpa Feb 01 '19 at 18:59
  • @Darpa Yes, I have 1 in Alpha track. But, that build doesn't have CALL_LOG and SMS permissions anymore. – YellowJ Feb 04 '19 at 01:48
  • This worked for me. https://www.reddit.com/r/androiddev/comments/ajddj6/play_store_console_you_cant_edit_this_app_until/ef6ksyv – YellowJ Feb 14 '19 at 07:13
  • I think this solved it for me - I clicked on "Promote to closed testing" on an "Internal testing" release that didn't even contain an APK/Bundle. I got an error saying there was nothing to add/remove, but somehow it seems that the inital error message disappeared and I was able to submit a new version for review. It could have also been Google support who removed the error, since I had contacted them earlier. Anyway, it might help even though it's counter intuitive and looks like it won't help! – Magnus Feb 03 '23 at 13:25
6

First find out how many active artifacts you have

  • Go to 'Release Management'->'Artifact library'

  • You must have more than one 'Active artifacts'

  • I have 3 active artifacts - 1 from production, 1 from beta and 1 from alpha (version 24, 6 and 4 --see below image) enter image description here

Now you need to Upload a new APK(here apk with version code 25, and version name:3.0.2)

  • Go to 'App releases'->'Manage'->'Create Release'

  • Upload a new APK that you want to release ( here new APK with version code 25)

  • Retain the current version of APK (here version code 24)

  • Click ‘Add from library’ and Upload all active APKs(here apk with version code 6 and 4)

  • Now select Compliance status’ > check “No, this release does not meet the SMS and Call log” (see below image)enter image description here

-Go to declaration section and select all (see below image) enter image description here

-Click "Save" at the bottom of the page

-Now on same page, we need to deactivate (current market app (here apk with version code 24))

enter image description here

-Click "Save" again then select "Review"

-you'll be able to release a new version of APK by clicking "Start Roll Out" button.

(refer following link:https://www.reddit.com/r/androiddev/comments/ajddj6/play_store_console_you_cant_edit_this_app_until/efkqmx2/)

matdev
  • 4,115
  • 6
  • 35
  • 56
jee
  • 524
  • 4
  • 7
5

We fixed it first uploading the bundle in the Beta track and then promoting it to Production. Directly uploading it to Production produced the same error.

IvanF.
  • 513
  • 10
  • 18
  • 2
    I already have one build in Internal test and Beta..and Google is not allowing me to add new build in it. – priyanka kataria Jan 28 '19 at 10:29
  • We had to remove one in Production, can you try deleting or promoting that build? – IvanF. Jan 28 '19 at 11:14
  • 1
    We remove all SMS permission. We uploaded a new version with different versionCode , versionName but it did not work, sent the same error. We do not what we should do!! HELP US!!!!! – Cristofer Jan 28 '19 at 19:13
2

I found the solution after a lot of research. I was facing the same issue since yesterday. I had already removed both the sensitive permissions in my last release which were related to SMS and Call Logs and yet I was getting this warning.

The solution like @IvanF mentioned is to check if you have apps in any other tracks. You may do so by going to App Releases section in Play Console and check if you have any app under Open, Internal or Closed section. If yes, then you'd have to deactivate them first because that is where the problem lies. The way to deactivate apps in other sections is mentioned here -

https://www.reddit.com/r/androiddev/comments/ajddj6/play_store_console_you_cant_edit_this_app_until/eeye216/

Hope this helps.

Shubhral
  • 334
  • 3
  • 15
  • I took a look at the link you just provided (BTW thanks it really helped me understand what was going on..), but I've got multiple tracks and all of them have non-compliant APKs. A track like the Open track which has the Beta channel has multiple non-compliant APK versions. How do I go about to solve this ? Any insights ? – Claude Hangui Feb 01 '19 at 11:36
  • Hi @ClaudeHangui! As mentioned in the reddit article above, you simply have to upload the latest apk in the respective track to override the non-compliant apks. So for instance in my case, I had several non-compliant APKs only in the beta track, so I simply uploaded the latest compliant apk in beta track instead of the production track, pushed the beta release. Right after doing this goto beta track, there is a button to promote it to production track. So click that, follow the release procedure like you normally do and boom you're done. Let me know if you need any further help/explanation. – Shubhral Feb 01 '19 at 20:10
  • Hey @Shubhral I actually posted an issue regarding my use-case scenarios. Bottom-line is I've got multiple tracks and all of them have non-compliant APK's and whenever I try to update one of the tracks with a compliant APK, the error message doesn't disappear, the Publish button is still disabled. Here is the issue I published, I've already tried all the solutions proposed on S.O and none of them so far has solved my problems: https://stackoverflow.com/questions/54459421/cannot-publish-app-in-the-google-playstore-because-previous-version-had-call-and?noredirect=1#comment95729856_54459421 – Claude Hangui Feb 02 '19 at 14:10
  • Hi @ClaudeHangui! As per the article, you don't just update the new app in any track. For me, it was just the beta track, so I uploaded my new APK there and promoted it to production. For your case, you'll have to go in a sequence starting from the bottom most track which is the internal track. Then find an option to promote this APK to Alpha, then find an option in Alpha track to Release it to Beta, and finally promote it to production. So essentially you'll be cleaning the floor with this newest APK in all tracks starting from bottom. Hope this works for you. – Shubhral Feb 03 '19 at 16:01
  • @Shubhral...The issue is fixed on my side. For some odd reason, I was (am) finally able update the app's irrespective of the track. Thanks – Claude Hangui Feb 04 '19 at 12:17
  • @ClaudeHangui Oh! Great. Good to hear that. I guess all the mails sent out to Google by frustrated developers on this issue finally paid off & they resolved it so that the developers no more have to go through this entire hacky process. – Shubhral Feb 04 '19 at 13:44
1

I finally found the answer, I had non-compliant APKs in different tracks if you had non-compliant APKs in different tracks, then that's what you should do

First: Go to App releases > Click Create Release in the track you need to update

Second: Upload the compliant APK, make sure to remove the sensitive permissions from this APK

Third: Retain the current APK

Fouth: Upload all active APKs from all tracks, you can do that by clicking on ADD FROM LIBRARY button above the upload section, make sure not to deactivate the applications, the declaration form will appear in the bottom of the page

Fifth: Fill the Declaration form by the following:

  • Compliance Status: Check No

  • Declarations check all

and save

Sixth: on the same page after the save, deactivate and remove all the non-compliant APKs and keep the new compliant APK

Seventh: Click save and review

and you are done!

Sami Kanafani
  • 14,244
  • 6
  • 45
  • 41
  • I am having the same issue, but I cannot retain the old libraries since they do not support 64bits. What can we do? – user3429953 Aug 08 '19 at 09:51
0

I just followed these steps: source ([here][1])

Internal test: Create an internal test release to quickly distribute your app for internal testing and quality assurance checks.

Closed: Create a closed release to test pre-release versions of your app with a larger set of testers. Once you've tested with a smaller group of employees or trusted users, you can expand your test to an open release. On your App releases page, an Alpha track will be available as your initial closed test. If needed, you can also create and name additional closed tracks.

Open: Create an open release after you've tested a closed release. Your open release can include a wider range of users for testing, before your app goes live in production.

Production: When you create a production release, this version of your app is available to all users in the countries you've targeted.

Ayush Jain
  • 563
  • 7
  • 11
  • Did your Internal test track have a non-compliant app ? Mine already has a non-compliant APK, and still I can't publish the compliant apk. How did you manage to publish yours ? – Claude Hangui Feb 02 '19 at 15:30