bubblewrap: build fails with "The system cannot find the path specified" on Windows

I am trying bubblewrap on windows nodejs v12.10.0

This is how my llama-pack config looks like where I have directed it to latest android cli and OpenJDK directory

{"jdkPath":"D:\\work\\openjdk","androidSdkPath":"D:\\work\\and-cli"}

This the error it returns

bubblewrap build
Installing Android Build Tools. Please, read and accept the license agreement
Installing Build Tools
The system cannot find the path specified.


cli ERROR undefined

I have already done the init which worked fine but build is not working

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 21 (16 by maintainers)

Most upvoted comments

Oh, I see -> the Android CLI tools needs to be extracted to a folder. For instance: C:\android-cli-tools. The \tools directory will be inside that. It needs to be like that because when you run the tools it will create more files in that folder. llama-pack-config.json needs to point to C:\\android-cli-tools.

@andreban

Now it worked 😃

Conclusion, the space does not get in the way, but the Android folder is protected for ADM only, so it’s not a good idea to put the SDK there, so I put it in the root C disk, and made the structure that spoke.

following prints: image image

thank you 😃

@rohitattaluri Did, you tried following the exact steps at https://github.com/GoogleChromeLabs/bubblewrap/tree/master/packages/cli ?

thanks man. Actually I referred to some other doc’s. Went to some Misinterpretation.

Thanks for the reference link. Followed it and works amazing.

I would to fix that and already have Created issue #155 Please assign that to me

@amanintech This seems like the issue fixed via #148. Version 1.1.2 of @bubblewrap/cli has been released and should have the fix. Can you check if you are on version 1.1.2?

@JotinhaBR glad to hear that!

@amanintech let me know if the same solution applies to you or if you are running into a different issue.