This message was deleted.
# community-support
s
This message was deleted.
m
This usually means the Android plugin is not applied
Check your plugins block, you should have something like this:
Copy code
plugins {
  id("com.android.application") // or "com.android.library"
}
a
yah then
what next should i do pleae help
m
If you have it, then it's something else. It's pretty hard to tell from just that screenshot. Paste your whole file to https://gist.github.com/ or somewhere else and you might get more help.
Also consider posting to #CJYS1DAP5 which will be a better channel for this question
v
The error means that you messed up the syntax somewhere within the
android { ... }
block. My recommendation is to switch to the Kotlin DSL. You immediately get type-safe build scripts, helpful error messages opposed to what you showed, and an amazingly better IDE support.
1
If you want to stay on Groovy DSL and get such an error, you either need to just see the error, or you need to comment out all content of that block and comment out again in bit by bit to see where the messed up syntax is