resolveApk static method

File resolveApk(
  1. String projectRoot,
  2. String configApkPath,
  3. String? fileArg
)

Resolve the APK file to upload. Priority: --file arg > config apkPath.

Implementation

static File resolveApk(
  String projectRoot,
  String configApkPath,
  String? fileArg,
) {
  final path = fileArg ?? p.join(projectRoot, configApkPath);
  return File(path);
}