bubblewrap icon indicating copy to clipboard operation
bubblewrap copied to clipboard

bubblewrap build does not find androidSDK

Open leolux opened this issue 3 years ago • 4 comments

I have the latest Android Studio installed at different location / different partition.

When running the command bubblewrap build I get this error: ERROR The provided androidSdk isn't correct

In addition to that I get this error: Unable to load the "svg2img" library. SVGs are not supported

How to fix that issue?

leolux avatar Jun 14 '22 10:06 leolux

I'd recommend using the Android SDK that Bubblewrap tries to install instead of using Android Studio's one - the structure of the SDK sometimes changes between releases and causes issues.

andreban avatar Jun 14 '22 19:06 andreban

Thanks for the tipp. How to instruct bubblewrap to do so? I could not find anything about the Adnroid SDK in the build options https://github.com/GoogleChromeLabs/bubblewrap/tree/main/packages/cli#build

leolux avatar Jun 14 '22 20:06 leolux

@andreban Where to read on?

leolux avatar Jun 15 '22 13:06 leolux

The easiest way os to delete the config file described here https://github.com/GoogleChromeLabs/bubblewrap/tree/main/packages/cli#updating-the-location-of-the-jdk-and--or-the-android-command-line-tools and run Bubblewrap again. Since it won't find the config file, it will ask to install the JDK and Android SDK.

andreban avatar Jun 15 '22 13:06 andreban