<span id="Label3"><p>Original Error Hint:</p><p>Error: (0) Gradle DSL method not found: ' Android () '<br>Possible causes:<ul><li>the project ' XXXXXXX ' May is using a version of Gradle that does not contain the Metho D.<br><a href= "open.wrapper.file" >open Gradle wrapper file</a></li><li>the build file may be missing a Gradle Plugin.<br><a href= "apply.gradle.plugin" >apply gradle plugin</a></li><br></p><p><br></p><p>Cause of Error:</p><p>When Android Studio introduces a project, it automatically finds out if it has an SDK version of the project settings, and if it does not, we will modify it to its own SDK in Project Structure. however, as modified, the as will automatically add the following code to the Build.gradle under the Project:</p><p><br></p><p><br></p><p>Workaround:</p><p>Delete the code in the red box in the slice, and then execute build->rebuild project, after you delete the code as Follows:</p><p><br></p><p style="font-size:12px;">Copyright Notice: This article for Bo Master original article, without Bo Master permission not Reproduced.</p><p>Gradle DSL Method Not found: ' Android ()</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