![]() Configure Git to support long paths (that is, paths longer than 260 characters): C:> git config -global core.longpaths true. ![]() Add Git for Windows to your PATH environment variable.Enable the option to Checkout Windows-style, commit Unix-style line endings.Enable the option to Use Git from the Windows Command Prompt.Install Git for Windows: If you haven’t already done so, download and install Git for Windows (64-bit): Install Visual Studio 2015 build tools: Otherwise, you get a build error. Install msys2: When building Android Studio, Bazel expects to find msys2 installed at c:\tools\msys2\. Note: It is recommend you use the 64-bit version, although the 32-bit version should work fine. ![]() Install Python 2.7 or higher: Ensure you have Python installed on your windows machine, and the path to python.exe is added to your PATH environment variable. ![]() If you're on Windows, you need to complete the following steps before you build AS from the command-line: To learn more about running Bazel (including running tests), read Building Studio with Bazel. To make sure Bazel can execute Android Studio build tasks, try running the following command: $ bazel build /tools/adt/idea/android:profiler-artifacts In order to successfully build Android Studio from source, you’ll need to make sure that you’re able to run the revision-controlled executable of Bazel that's located in the /tools/base/bazel/ directory: $ cd studio-master-dev/ You should ignore this section if building from AOSP. The required binaries are checked in as prebuilts. Note that this does not apply to AOSP currently Issue 126764883.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |