parent
23f22cb853
commit
c0f48ba6bf
@ -145,7 +145,7 @@ class FlutterPlugin implements Plugin<Project> {
|
|||||||
/**
|
/**
|
||||||
* Flutter Docs Website URLs for help messages.
|
* Flutter Docs Website URLs for help messages.
|
||||||
*/
|
*/
|
||||||
private final String kWebsiteDeploymentAndroidBuildConfig = 'https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration'
|
private final String kWebsiteDeploymentAndroidBuildConfig = 'https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration'
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
void apply(Project project) {
|
void apply(Project project) {
|
||||||
|
@ -464,7 +464,7 @@ final GradleHandledError minSdkVersionHandler = GradleHandledError(
|
|||||||
'$textInBold\n'
|
'$textInBold\n'
|
||||||
"Note that your app won't be available to users running Android SDKs below ${minSdkVersionMatch?.group(2)}.\n"
|
"Note that your app won't be available to users running Android SDKs below ${minSdkVersionMatch?.group(2)}.\n"
|
||||||
'Alternatively, try to find a version of this plugin that supports these lower versions of the Android SDK.\n'
|
'Alternatively, try to find a version of this plugin that supports these lower versions of the Android SDK.\n'
|
||||||
'For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration',
|
'For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration',
|
||||||
title: _boxTitle,
|
title: _boxTitle,
|
||||||
);
|
);
|
||||||
return GradleBuildStatus.exit;
|
return GradleBuildStatus.exit;
|
||||||
|
@ -38,7 +38,7 @@ android {
|
|||||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||||
applicationId "{{androidIdentifier}}"
|
applicationId "{{androidIdentifier}}"
|
||||||
// You can update the following values to match your application needs.
|
// You can update the following values to match your application needs.
|
||||||
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
|
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
|
||||||
minSdkVersion flutter.minSdkVersion
|
minSdkVersion flutter.minSdkVersion
|
||||||
targetSdkVersion flutter.targetSdkVersion
|
targetSdkVersion flutter.targetSdkVersion
|
||||||
versionCode flutterVersionCode.toInteger()
|
versionCode flutterVersionCode.toInteger()
|
||||||
|
@ -46,7 +46,7 @@ android {
|
|||||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||||
applicationId "{{androidIdentifier}}"
|
applicationId "{{androidIdentifier}}"
|
||||||
// You can update the following values to match your application needs.
|
// You can update the following values to match your application needs.
|
||||||
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
|
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
|
||||||
minSdkVersion flutter.minSdkVersion
|
minSdkVersion flutter.minSdkVersion
|
||||||
targetSdkVersion flutter.targetSdkVersion
|
targetSdkVersion flutter.targetSdkVersion
|
||||||
versionCode flutterVersionCode.toInteger()
|
versionCode flutterVersionCode.toInteger()
|
||||||
|
@ -812,7 +812,7 @@ assembleProfile
|
|||||||
'│ Alternatively, try to find a version of this plugin that supports these lower versions of the │\n'
|
'│ Alternatively, try to find a version of this plugin that supports these lower versions of the │\n'
|
||||||
'│ Android SDK. │\n'
|
'│ Android SDK. │\n'
|
||||||
'│ For more information, see: │\n'
|
'│ For more information, see: │\n'
|
||||||
'│ https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration │\n'
|
'│ https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration │\n'
|
||||||
'└───────────────────────────────────────────────────────────────────────────────────────────────┘\n'
|
'└───────────────────────────────────────────────────────────────────────────────────────────────┘\n'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user