Copy APK into a known location, so it can be easily discovered (#53718)
This commit is contained in:
@@ -80,8 +80,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
'app',
|
||||
'outputs',
|
||||
'apk',
|
||||
'release',
|
||||
'flutter-apk',
|
||||
'app-release.apk',
|
||||
));
|
||||
|
||||
@@ -118,8 +117,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
'app',
|
||||
'outputs',
|
||||
'apk',
|
||||
'debug',
|
||||
'flutter-apk',
|
||||
'app-debug.apk',
|
||||
));
|
||||
|
||||
|
||||
@@ -77,8 +77,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
'app',
|
||||
'outputs',
|
||||
'apk',
|
||||
'release',
|
||||
'flutter-apk',
|
||||
'app-release.apk',
|
||||
));
|
||||
|
||||
@@ -116,8 +115,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
'app',
|
||||
'outputs',
|
||||
'apk',
|
||||
'debug',
|
||||
'flutter-apk',
|
||||
'app-debug.apk',
|
||||
));
|
||||
|
||||
|
||||
@@ -84,8 +84,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
'app',
|
||||
'outputs',
|
||||
'apk',
|
||||
'release',
|
||||
'flutter-apk',
|
||||
'app-release.apk',
|
||||
));
|
||||
|
||||
@@ -118,8 +117,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
'app',
|
||||
'outputs',
|
||||
'apk',
|
||||
'debug',
|
||||
'flutter-apk',
|
||||
'app-debug.apk',
|
||||
));
|
||||
|
||||
|
||||
@@ -332,10 +332,10 @@ class FlutterPluginProject {
|
||||
String get rootPath => path.join(parent.path, name);
|
||||
String get examplePath => path.join(rootPath, 'example');
|
||||
String get exampleAndroidPath => path.join(examplePath, 'android');
|
||||
String get debugApkPath => path.join(examplePath, 'build', 'app', 'outputs', 'apk', 'debug', 'app-debug.apk');
|
||||
String get releaseApkPath => path.join(examplePath, 'build', 'app', 'outputs', 'apk', 'release', 'app-release.apk');
|
||||
String get releaseArmApkPath => path.join(examplePath, 'build', 'app', 'outputs', 'apk', 'release', 'app-armeabi-v7a-release.apk');
|
||||
String get releaseArm64ApkPath => path.join(examplePath, 'build', 'app', 'outputs', 'apk', 'release', 'app-arm64-v8a-release.apk');
|
||||
String get debugApkPath => path.join(examplePath, 'build', 'app', 'outputs', 'flutter-apk', 'app-debug.apk');
|
||||
String get releaseApkPath => path.join(examplePath, 'build', 'app', 'outputs', 'flutter-apk', 'app-release.apk');
|
||||
String get releaseArmApkPath => path.join(examplePath, 'build', 'app', 'outputs', 'flutter-apk','app-armeabi-v7a-release.apk');
|
||||
String get releaseArm64ApkPath => path.join(examplePath, 'build', 'app', 'outputs', 'flutter-apk', 'app-arm64-v8a-release.apk');
|
||||
String get releaseBundlePath => path.join(examplePath, 'build', 'app', 'outputs', 'bundle', 'release', 'app.aab');
|
||||
|
||||
Future<void> runGradleTask(String task, {List<String> options}) async {
|
||||
|
||||
Reference in New Issue
Block a user