1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 14:58:34 +00:00

fix Android ci job (#1904)

This commit is contained in:
Miguel Beltran
2023-06-23 01:54:59 +02:00
committed by GitHub
parent f54af1c190
commit 2319b7436b
30 changed files with 834 additions and 555 deletions

View File

@@ -8,12 +8,12 @@ android {
self {
}
}
compileSdkVersion 31
compileSdkVersion 33
defaultConfig {
applicationId "dev.flutter.multipleflutters"
minSdkVersion 24
targetSdkVersion 30
targetSdkVersion 33
versionCode 1
versionName "1.0"
@@ -34,6 +34,7 @@ android {
kotlinOptions {
jvmTarget = '1.8'
}
namespace 'dev.flutter.multipleflutters'
}
dependencies {

View File

@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="dev.flutter.multipleflutters">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Provide required visibility configuration for API level 30 and above -->
<queries>
@@ -18,7 +17,10 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.MultipleFlutters">
<activity android:name=".MainActivity">
<activity
android:name=".MainActivity"
android:exported="true"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@@ -30,12 +32,14 @@
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize"
android:exported="true"
/>
<activity
android:name=".DoubleFlutterActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize"
android:exported="true"
/>
<!-- Whether leave or clean up the VM after the last shell shuts down. If your want to let
your app destroy the last shell and re-create shells more quickly, set it to true,