"android" Android Studio to quickly open the demo on GitHub
Source: Internet
Author: User
<span id="Label3"></p><p><p>1. modify: the Gradle version of Classpath in the Build.gradle (Project) file is the version used for the current as;</p></p><pre><pre>Apply plugin: ' com.android.application '<span style="color: #000000;">buildscript { repositories { jcenter () } Dependencies { </span> ' com.android.tools.build:gradle:1.1.0 '}<span style="color: #000000;"> }</span></pre></pre><p><p>2. Modify the Distributionurl in gradle-wrapper.properties;</p></p><pre><pre>#Mon Oct 10:03:06 CST<span style="color: #000000;">distributionbase</span>=<span style="color: #000000;">gradle_user_homedistributionpath</span>=wrapper/ <span style="color: #000000;"> Distszipstorebase</span>=<span style="color: #000000;">gradle_user_homezipstorepath</span>=wrapper/<span style="color: #000000;">dists# Modify the following Gradle version to the version you use Distributionurl</span>=https\:<span style="color: #008000;">//</span><span style="color: #008000;"></span></pre></pre><p><p>3. Modify: the buildtoolsversion version in the Build.gradle (app) file is the version used for the current as;</p></p><pre><pre><span style="color: #000000;">android { </span><span style="color: #000000;"> </span>23.0.1 '<span style="color: #000000;">}</span></pre></pre><p><p>At the same time, after modifying the above 3, open the demo or other items will be very fast, as no longer re-download the required version of the Gradle.</p></p><p><p>"android" Android Studio to quickly open the demo on GitHub</p></p></span>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service