【解决方法】No signature of method: build_5woso1t2zz3j65kzgsuf20yp6.android() is applicable
【解决方法】No signature of method: build 编译错误的方法
- 编译出错信息如下所示
- 原因分析
- 解决措施
编译出错信息如下所示
A problem occurred evaluating project ':app'.
No signature of method: build_5woso1t2zz3j65kzgsuf20yp6.android() is applicable for argument types: (build_5woso1t2zz3j65kzgsuf20yp6$_run_closure1) values: [build_5woso1t2zz3j65kzgsuf20yp6$_run_closure1@36ae71c4]
原因分析
从错误信息来看,其实是说你的build.gradle 脚本内容错误,一般是在各个闭包中,添加了不正确的已知闭包实现。
例如 android{} 闭包中增加大小写不正确的 DefaultConfig 等。
解决措施
检查最近添加到build.gradle脚本,
- 是否添加的层次结构不正确, 例如 ndk 应该在 defaultConfig 闭包中
- 是否有大小写不正确的,拼写错误的,例如 defaultConfig 写成 DefaultConfig.
【解决方法】No signature of method: build_5woso1t2zz3j65kzgsuf20yp6.android() is applicable相关推荐
- No signature of method: build_xxx.android() is applicable for argument types
问题 报错如图,android/build.gradle文件报错了,但是,具体看build.gradle文件似乎又没有错.这个问题一般是升级了gradle版本导致的. 图上似乎是闭包里面报错了,有了解 ...
- Android运行项目时提示:No signature of method: build_*.android() is applicable for argument types
报错意思:没有方法的签名:build_*.文件中 android() 适用于参数类型 我发生这种情况是因为:1Android Studio的版本较高(2021.3.1P1),2编译版本较高30,所 ...
- flutter升级AS和gradle后编译出错(No signature of method: build_gbqp6.android())错误
最近升级了AS和Gradle,Flutter SDK 创建一个新的项目后,想把一些配置拷贝过来,弄完之后,发现编译不了,出现类似如下错误: A problem occurred evaluating ...
- [已解决]Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()'
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getImportant ...
- android Run模式也会出现Waiting for debugger的解决方法
android Run模式也会出现"Waiting for debugger"的解决方法 出现"waiting for debugger"窗口是在debug模式 ...
- android studio导入eclipse项目各种问题,eclipse项目导入android studio 各类问题及解决方法...
随着时间的推移,技术的推进,开发android的IDE,逐渐由 eclipse转移到android studio,但- 我们的拖延症是很严重的,只要eclipse能用一天就绝不迁移 ,只到有一天,项 ...
- 刷机后mi android不动,小米MIflash平台刷机报错问题解决方案小米刷机错误解决方法...
小米MIflash平台刷机报错问题解决方案小米刷机错误解决方法,如果你不会就看看刷机帮小编是怎么来解决的吧,相信这也是你常遇到的问题. [1.未指定错误(device ls locked)] 小米MI ...
- android studio 导入xclipse项目出现乱码,及模拟器出现乱码解决方法
项目中间出现乱码解决方法: 设置当前工程和IDE的编码 :AS窗口中点击File->Settings->Editor->File Encodings:将其中的Global Encod ...
- Android Studio 模拟器卡慢、占内存解决方法
Android Studio 模拟器卡慢.占内存解决方法 Android Studio 模拟器卡慢.占内存解决方法 在使用Android virtual device来进行调试运行时会比较慢,性能也不 ...
最新文章
- HTML5调用手机的Datepicker(日期选择器)
- Android开发中Handler的经典总结
- Java并发:线程池详解(ThreadPoolExecutor)
- API(Application Programming Interface,应用程序编程接口)
- java mysql 操作类_Java 数据库简单操作类
- linux 命令行 解密,解密Linux终端命令 学好Linux
- java 代码换行_作为一名资深的程序员,你见过哪些很想吐槽的代码
- CentOS7.X安装Redis-4.0.8以及Redis集群搭建
- PyTorch 1.0 中文文档:Torch 脚本
- 爆笑~~偶和老公滴愚人笑话~~~
- 软件portable
- *** cannot be resolved or is not a field
- 为何python不好找工作-Python培训班出来找工作容易吗?老男孩教育
- Atlassian JIRA 插件开发之三 创建
- 软件架构师的成长之路
- cloud2声卡_带你解惑HyperX Cloud2(飓风)和Alpha(阿尔法)的终极选择
- kernal tch 下载 天正_tch_kernal.arx
- yolov5样本处理方式
- linux 查看文件最后几行
- 俞敏洪励志演讲稿【二】
热门文章
- Navicat for MySQL下载与安装
- word双栏排版,删除分节符双栏就变成了单栏,删除最后空白页方法
- 14nm服务器芯片,Intel 14nm八核神器诞生!可惜啊可惜……
- word编辑技巧<遇上了再增加>
- python怎么爬取_宅男福利,教你怎么用Python爬取漫画
- 元宇宙房地产:又一个疯狂的加密市场吗?
- Chrome谷歌浏览器开发者工具调试:如何检查鼠标点击才显示失焦就隐藏的元素dom
- Linux中msiexec无法运行,Powershell Start-Process msiexec在远程计算机上无法运行
- Java创建一个扇形类Sector,并求解扇形的面积和周长。
- Qt中直接启动.exe程序,错误提示:无法启动此程序,因为计算机中丢失Qt5Core.dll。尝试重新安装该程序以解决此问题