Play installer check requires a minimum SDK version of 21 or higher. The uploaded app bundle has a minimum SDK version of 19. Update the minSdkVersion in your app's Android manifest.
Here is my manifest.
Where in the manifest should I put the statement minSdkVersion 21 ?
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<!-- BEGIN_INCLUDE(manifest) -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="%PACKAGE%">
<uses-feature android:glEsVersion="0x00020000" />
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<application android:icon="@drawable/ic_launcher" android:label="@string/app_name">
<!-- NB: for some reason Lint returns a wrong "MissingClass" for both HollywoodDelegate and
FileRequest class so we disable checking for this error. As soon as this problem is
fixed in Lint, we should remove 'tools:ignore="MissingClass"' again because obviously
we want Lint to do its checks but as of September 2021, this seems to be broken -->
<activity android:name=".HollywoodDelegate"
android:label="@string/app_name"
android:configChanges="orientation|screenSize"
android:exported="true"
android:theme="@style/%THEME%"
tools:ignore="MissingClass">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".FileRequest" android:configChanges="orientation|screenSize" android:theme="@style/%THEME%" tools:ignore="MissingClass"/>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"></meta-data>
</provider>
</application>
</manifest>
<!-- END_INCLUDE(manifest) -->