简体   繁体   中英

Vpython no such file : Error while building gradle Chromium android studio

I am trying to import Chromium for Android as an Android Studio project on an Ubuntu 16.04(LTS).

I have completed the below steps to build chromium project for Android

https://chromium.googlesource.com/chromium/src/+/master/docs/android_build_instructions.md#Installing-and-Running-Chromium-on-a-device/

Problem : To create the Gradle file for importing the project into Android Studio I have referred to https://chromium.googlesource.com/chromium/src/+/master/docs/android_studio.md

build/android/gradle/generate_gradle.py --output-directory out/Default

On running the above command I get the error :

usr/bin/env : "vpython' : no such file or directory.

Python 3.5.2 is installed on the system

PS: Vpython: https://chromium.googlesource.com/infra/infra/+/master/doc/users/vpython_one_page.md

yeah,i have same problem..

because i not setting env with depot_tools.

so you just need to execute code below;

and DEPOT_PATH is you depot_tools 's an

export PATH=$DEPOT_PATH:$PATH

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM