Update path to built .apk. (#8137)
This commit is contained in:
parent
a816611de1
commit
eebc72a343
@ -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();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user