Update path to built .apk. (#8137)

This commit is contained in:
Jakob Andersen 2017-02-14 13:46:45 +00:00 committed by GitHub
parent a816611de1
commit eebc72a343

View File

@ -36,7 +36,7 @@ TaskFunction createBasicMaterialAppSizeTest() {
releaseSizeInBytes = await file('${sampleDir.path}/build/app.ipa').length(); releaseSizeInBytes = await file('${sampleDir.path}/build/app.ipa').length();
} else { } else {
await flutter('build', options: <String>['apk', '--release']); await flutter('build', options: <String>['apk', '--release']);
releaseSizeInBytes = await file('${sampleDir.path}/build/app.apk').length(); releaseSizeInBytes = await file('${sampleDir.path}/android/app/build/outputs/apk/app.apk').length();
} }
}); });
}); });