fix: fix android build

This commit is contained in:
13574
2023-09-08 01:23:15 +08:00
parent 1af4ed6313
commit 5b65f686ce
3 changed files with 7 additions and 6 deletions

View File

@@ -26,8 +26,8 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
namespace "com.example.eh_downloader_flutter"
compileSdkVersion flutter.compileSdkVersion
namespace "com.lifegpc.ehf"
compileSdkVersion 33
ndkVersion flutter.ndkVersion
compileOptions {
@@ -45,11 +45,11 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.eh_downloader_flutter"
applicationId "com.lifegpc.ehf"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
minSdkVersion 23
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}

View File

@@ -1,4 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:label="eh_downloader_flutter"
android:name="${applicationName}"

View File

@@ -1,4 +1,4 @@
package com.example.eh_downloader_flutter
package com.lifegpc.ehf
import io.flutter.embedding.android.FlutterActivity