Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android app is supported by 0 devices suddenly

My app is suddenly showing supported devices in play console as 0.

I did some googling, found a few similar questions like this but none of the solutions worked for me.

Below is my AndroidManifest:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:dist="http://schemas.android.com/apk/distribution"
xmlns:tools="http://schemas.android.com/tools"
package="com.demo.android">

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<uses-feature
    android:name="android.hardware.camera"
    android:required="false" />

<application
    android:name=".Demo"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">


    <activity
        android:name=".ui.home.HomeActivity"
        android:theme="@style/AppTheme.NoActionBar"
        android:windowSoftInputMode="adjustResize">
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />

            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />

            <data
                android:host="demo.com/app"
                android:scheme="https" />
        </intent-filter>
    </activity>

    <activity
        android:name=".ui.splash.SplashActivity"
        android:theme="@style/AppTheme.Launcher">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <action android:name="android.intent.action.VIEW" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

Below are some screenshots from play console: One Two

Can anyone help me with this?

like image 532
Ashu Tyagi Avatar asked Aug 26 '19 13:08

Ashu Tyagi


People also ask

Why my app is not running on other devices?

Make sure instance run in android studio is disabled. Because if Instance run is enabled when you debug the app on real device through usb debugging it will work properly . but if u share the apk from your device to other device it will not work. It might show an error .

Why are my apps not working on my Android?

Clear the App Cache and Data To fix it, clear the app's cache by following the steps below. Step 1: Long-press on the troublesome app and tap on the info icon from the resulting menu. Step 2: Go to Storage and cache and tap on the Clear cache option. If the problem persists, then you can try clearing that app data.

Why an app installed from the app Store is not working on Android?

Check your storage space If your device is low on space, it can stop apps from downloading and installing. Your device may be low on space if: You get a notification about storage space. There's less than 1 GB available on your device.


1 Answers

This is usually due to a permission or uses-feature tag being added but that is not a valid value. It's not obvious from what you shared what is wrong though. Some SDKs you depend on can bring additional permissions.

You can try running with the APK you upload:

aapt dump xmltree app.apk AndroidManifest.xml

or if you upload an App Bundle:

bundletool dump manifest --bundle app.aab

And double-check the permissions and the uses-feature tags.

like image 186
Pierre Avatar answered Oct 04 '22 06:10

Pierre