Skip to content

Error: ENOENT: no such file or directory, open '../android/lib/play-services-location-16.0.0.aar' #16

@grebulon

Description

@grebulon

Need to define and create the target directory

var targetDir = __dirname+'/../android/lib';
console.log(`download to: ${targetDir}`);
fs.mkdirSync(targetDir);

And then use it:
rp(aar).pipe(fs.createWriteStream(targetDir+/${library}-${version}.aar));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions