so I built my apk in unity and tried it in my smartphone and it works perfectly , but when I upload in Google play to try it I can not download in my phone Because it is not compatible According to Google play . When I enter in the developer section I can see my apk That is only Compatible with acerca 1000 only and my smartphone is not in the list … I do not know why this is happening .
Someone have the answer? is the screen resolution or something?
I’m doing it alone and is the first time I upload my apk to google play.
The devices that your application is compatible with can be set using the android.mainfest file that is found in your assets->plugins directory of your project.
The first part of the manifest should look something like this if you want it to be compatible with as many devices as possible.
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player" android:installLocation="preferExternal" android:theme="@android:style/Theme.NoTitleBar" android:versionCode="1" android:versionName="1.0">
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
<compatible-screens>
<!-- all small size screens -->
<screen android:screenSize="small" android:screenDensity="ldpi" />
<screen android:screenSize="small" android:screenDensity="mdpi" />
<screen android:screenSize="small" android:screenDensity="hdpi" />
<screen android:screenSize="small" android:screenDensity="xhdpi" />
<!-- all small size screens -->
<screen android:screenSize="normal" android:screenDensity="ldpi" />
<screen android:screenSize="normal" android:screenDensity="mdpi" />
<screen android:screenSize="normal" android:screenDensity="hdpi" />
<screen android:screenSize="normal" android:screenDensity="xhdpi" />
<!-- all small size screens -->
<screen android:screenSize="large" android:screenDensity="ldpi" />
<screen android:screenSize="large" android:screenDensity="mdpi" />
<screen android:screenSize="large" android:screenDensity="hdpi" />
<screen android:screenSize="large" android:screenDensity="xhdpi" />
<!-- all normal size screens -->
<screen android:screenSize="xlarge" android:screenDensity="ldpi" />
<screen android:screenSize="xlarge" android:screenDensity="mdpi" />
<screen android:screenSize="xlarge" android:screenDensity="hdpi" />
<screen android:screenSize="xlarge" android:screenDensity="xhdpi" />
</compatible-screens>
Then when you upload to google play your compatible devices section should read in the thousands.
thanks finally i solve the problem, it was a problem with the image compresion I was using.
which type of image compression do you use and where you use it on the built settings or all of that sprite individually. i am new in unity development. i made a game and upload it into play store but it didn’t compatible with many device. please help me. and also the above code into the manifest file work or not??? i am waiting for your replay…
Just in case it helps someone:
I had the same problem, my app was compatible with around 2000 devices. I solved it by including more api levels in the player settings. Google forces you to include 29, but that doesn’t mean you can´t include more. After following a tutorial on how to add 29 I just selected 4.4 as Minimum API Level and “Automatic Highest installed” as target API Level.
The tutorial I’m reffering to is: How To Update Unity to Android API Level 29 (or Greater) - YouTube
Cheers!