No signature of method: build_*.android() is applicable for argument types

No signature of method: build_*.android() is applicable for argument types

报错原因为Android编译器build.gradle结构错误(如大小写错误,字符串连接错误以及大括号错位等结构错误)。

ndk 应该在 defaultConfig{ } 闭包中:

No signature of method: build_*.android() is applicable for argument types_第1张图片
修改后:

No signature of method: build_*.android() is applicable for argument types_第2张图片

你可能感兴趣的:(gradle,android,android,studio,gradle)