Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
b60d096b
Commit
b60d096b
authored
Oct 31, 2016
by
Dan Rubel
Committed by
GitHub
Oct 31, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show install progress during flutter run (#6594)
parent
be6458cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
android_device.dart
packages/flutter_tools/lib/src/android/android_device.dart
+3
-0
No files found.
packages/flutter_tools/lib/src/android/android_device.dart
View file @
b60d096b
...
@@ -11,6 +11,7 @@ import 'package:path/path.dart' as path;
...
@@ -11,6 +11,7 @@ import 'package:path/path.dart' as path;
import
'../android/android_sdk.dart'
;
import
'../android/android_sdk.dart'
;
import
'../application_package.dart'
;
import
'../application_package.dart'
;
import
'../base/os.dart'
;
import
'../base/os.dart'
;
import
'../base/logger.dart'
;
import
'../base/process.dart'
;
import
'../base/process.dart'
;
import
'../build_info.dart'
;
import
'../build_info.dart'
;
import
'../dart/package_map.dart'
;
import
'../dart/package_map.dart'
;
...
@@ -238,7 +239,9 @@ class AndroidDevice extends Device {
...
@@ -238,7 +239,9 @@ class AndroidDevice extends Device {
if
(!
_checkForSupportedAdbVersion
()
||
!
_checkForSupportedAndroidVersion
())
if
(!
_checkForSupportedAdbVersion
()
||
!
_checkForSupportedAndroidVersion
())
return
false
;
return
false
;
Status
status
=
logger
.
startProgress
(
'Installing
${apk.apkPath}
...'
);
String
installOut
=
runCheckedSync
(
adbCommandForDevice
(<
String
>[
'install'
,
'-r'
,
apk
.
apkPath
]));
String
installOut
=
runCheckedSync
(
adbCommandForDevice
(<
String
>[
'install'
,
'-r'
,
apk
.
apkPath
]));
status
.
stop
(
showElapsedTime:
true
);
RegExp
failureExp
=
new
RegExp
(
r'^Failure.*$'
,
multiLine:
true
);
RegExp
failureExp
=
new
RegExp
(
r'^Failure.*$'
,
multiLine:
true
);
String
failure
=
failureExp
.
stringMatch
(
installOut
);
String
failure
=
failureExp
.
stringMatch
(
installOut
);
if
(
failure
!=
null
)
{
if
(
failure
!=
null
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment