Skip to content

Commit dfe06eb

Browse files
committed
fix build apk
1 parent 095fff3 commit dfe06eb

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

example/android/app/src/debug/AndroidManifest.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,18 @@
22
<!-- Flutter needs it to communicate with the running application
33
to allow setting breakpoints, to provide hot reload, etc.
44
-->
5+
56
<uses-permission android:name="android.permission.INTERNET"/>
7+
<application android:label="com.example.flagship_qa" android:icon="@mipmap/ic_launcher">
8+
<activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
9+
10+
<intent-filter>
11+
<action android:name="android.intent.action.MAIN" />
12+
<category android:name="android.intent.category.LAUNCHER" />
13+
</intent-filter>
14+
</activity>
15+
16+
</application>
17+
18+
619
</manifest>

example/android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
22
<uses-permission android:name="android.permission.INTERNET" />
33
<application android:label="com.example.flagship_qa" android:icon="@mipmap/ic_launcher">
4-
<activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
4+
<activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize"
5+
android:exported="true">
56
<!-- Specifies an Android theme to apply to this Activity as soon as
67
the Android process has started. This theme is visible to the user
78
while the Flutter UI initializes. After that, this theme continues

example/android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pluginManagement {
1818

1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21-
id "com.android.application" version "8.1.0" apply false
21+
id "com.android.application" version '8.1.2' apply false
2222
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
2323
}
2424

0 commit comments

Comments
 (0)