'error in the android studio after a while since I create a project and try to test it on the simulator.method android()
Could not find method android() for arguments [build_6hj69d6jgbixncori19shn6kd$_run_closure1@4f5d95ba] on root project 'calculator' of type org.gradle.api.Project
Build file 'C:\Users\name\AndroidStudioProjects\calculator\build.gradle' line: 8
A problem occurred evaluating root project 'calculator'.
Could not find method android() for arguments [build_6hj69d6jgbixncori19shn6kd$_run_closure1@4f5d95ba] on root project 'calculator' of type org.gradle.api.Project.
- Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
- Exception is: org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'calculator'. at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93) at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.lambda$apply$0(DefaultScriptPluginFactory.java:133)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
