У меня есть приложение для телефона, работающее на всех версиях Android, кроме 9 Pie.
приложение входит в систему с учетными данными для входа в Android 8, но не работает на Android 9
<widget xmlns="http://www.w3.org/ns/widgets"
xmlns:gap="http://phonegap.com/ns/1.0"id="com.mitraye.earthinfosys"
version="6.5.0">
<name>Earth Infosys</name>
<description></description>
<description></description>
<author href="http://mitraye.com"
email="support@mitraye.com">Mitraye</author>
<content src="index.html"/>
<preference name="permissions" value="none"/>
<preference name="phonegap-version" value="cli-6.5.0" />
<preference name="orientation" value="default"/>
<preference name="target-device" value="universal"/>
<preference name="fullscreen" value="true"/>
<preference name="webviewbounce" value="true"/>
<preference name="prerendered-icon" value="true"/>
<preference name="stay-in-webview" value="false"/>
<preference name="ios-statusbarstyle" value="black-opaque"/>
<preference name="detect-data-types" value="true"/>
<preference name="exit-on-suspend" value="false"/>
<preference name="show-splash-screen-spinner" value="true"/>
<preference name="auto-hide-splash-screen" value="true"/>
<preference name="disable-cursor" value="false"/>
<preference name="windows-arch" value="anycpu" />
<preference name="android-minSdkVersion" value="20" />
<preference name="android-targetSdkVersion" value="28" />
<preference name="android-maxSdkVersion" value="28" />
<preference name="android-installLocation" value="auto"/>
<plugin name="cordova-plugin-battery-status" source="npm" spec="~1.1.1"/>
<plugin name="cordova-plugin-camera" source="npm" spec="~2.1.1"/>
<plugin name="cordova-plugin-media-capture" source="npm" spec="~1.2.0"/>
<plugin name="cordova-plugin-console" source="npm" spec="~1.0.2"/>
<plugin name="cordova-plugin-contacts" source="npm" spec="~2.0.1"/>
<plugin name="cordova-plugin-device" source="npm" spec="~1.1.1"/>
<plugin name="cordova-plugin-device-motion" source="npm" spec="~1.2.0"/>
<plugin name="cordova-plugin-device-orientation" source="npm"
spec="~1.0.2"/>
<plugin name="cordova-plugin-dialogs" source="npm" spec="~1.2.0"/>
<plugin name="cordova-plugin-file" source="npm" spec="~4.1.1"/>
<plugin name="cordova-plugin-native-spinner" source="npm" spec="~1.1.3"/>
<plugin name="cordova-plugin-file-transfer" source="npm" spec="~1.5.0"/>
<plugin name="cordova-plugin-geolocation" source="npm" spec="~2.1.0"/>
<plugin name="cordova-plugin-globalization" source="npm" spec="~1.0.3"/>
<plugin name="cordova-plugin-inappbrowser" source="npm" spec="~1.3.0"/>
<plugin name="cordova-plugin-media" source="npm" spec="~2.2.0"/>
<plugin name="cordova-plugin-network-information" source="npm"
spec="~1.2.0"/>
<plugin name="cordova-plugin-splashscreen" source="npm" spec="~3.2.1"/>
<plugin name="cordova-plugin-statusbar" source="npm" spec="~2.1.2"/>
<plugin name="cordova-plugin-vibration" source="npm" spec="~2.1.0"/>
<plugin name="cordova-plugin-whitelist" source="npm" spec="~1.2.1"/>
<access origin="*"/>
<allow-intent href="http://*/*"/>
<allow-intent href="https://*/*"/>
<allow-intent href="tel:*"/>
<allow-intent href="sms:*"/>
<allow-intent href="mailto:*"/>
<allow-intent href="geo:*"/>
<platform name="android">
<allow-intent href="market:*"/>
</platform>
<platform name="ios">
<allow-intent href="itms:*"/>
<allow-intent href="itms-apps:*"/>
</platform>
<icon src="icon.png"/>
<splash src="splash.png" />
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.myapp"
android:versionCode="1"
android:versionName="1.0" >
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
</manifest>
<preference name="SplashScreenDelay" value="5000" />
<splash platform="android" qualifier="port-ldpi" src="res/android/screen-
ldpi-portrait.png" />
<splash platform="android" qualifier="port-mdpi" src="res/android/screen-
mdpi-portrait.png" />
<splash platform="android" qualifier="port-hdpi" src="res/android/screen-
hdpi-portrait.png" />
<splash platform="android" qualifier="port-xhdpi" src="res/android/screen-
xhdpi-portrait.png" />
</widget>
нужно minSdk версии 17 для приложений для работы с Android 9. У меня уже есть 19. TargetSdkVersion составляет 28.