2021年4月2日星期五

Problem with new Android Release: unintentionally put android.hardware.type.watch on previous release

my new app has just been approved by Google. However, we realise that something went wrong. When opening the app in our all testing phone, it suddenly says that the phone is no longer compatible. It become clear when I see device catalog in Google Play, all devices listed are watch, not phone nor tablet.

After walking through all my code, I am surprised that my Android application has this line (while we don't want to release our app for any watch)

<uses-feature android:name="android.hardware.type.watch" />  

When I remove the line then create new release, Google says there's error in my release draft

You can't rollout this release because it doesn't allow any existing users to upgrade to the newly added APKs.  

I browse the entire internet, they mention to change the versionCode in build.gradle: (app). I already did that, but still got the same error after uploading my new release build.

I suspect the source of the problem is in this "changes in supported device". Previously the watches are supported, but now it is not.

supported device change

As I mention earlier, we don't want to release our app on any watch. So we just want to change it to support phone/tablet devices. If in the end of the day we have to include watch, then it's okay, but at least we can release to phone and tablet.

Please suggest. What code should I put in my manifest? I have a feeling I have to put something in uses-feature android:name but I really don't know what, as the android.hardware.type only mention for android.hardware.type.automotive, android.hardware.type.television, and android.hardware.type.watch. While removing my line for watch support is not allowed by Google :(

https://stackoverflow.com/questions/66927136/problem-with-new-android-release-unintentionally-put-android-hardware-type-watc April 03, 2021 at 10:04AM

没有评论:

发表评论