Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

Commit

Permalink
Answer yes if sdkmanager asks about a license.
Browse files Browse the repository at this point in the history
  • Loading branch information
renpytom committed Jan 20, 2019
1 parent 7719354 commit c37fd1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildlib/rapt/install_sdk.py
Expand Up @@ -142,7 +142,7 @@ def get_packages(interface):
if not run_slow(interface, plat.sdkmanager, "--licenses", yes=True):
interface.fail(__("I was unable to accept the Android licenses."))

if not run_slow(interface, plat.sdkmanager, *packages):
if not run_slow(interface, plat.sdkmanager, yes=True, *packages):
interface.fail(__("I was unable to install the required Android packages."))

interface.success(__("I've finished installing the required Android packages."))
Expand Down

0 comments on commit c37fd1c

Please sign in to comment.