当前位置:   article > 正文

安卓build时候遇到的一系列问题_task 'assemble' not found in project ':cloudxr'.

task 'assemble' not found in project ':cloudxr'.

Plugin with id ‘com.android.application’ not found.
build.gradle 里缺少组建
Failed to open zip file.
gradle-wrapper.properties去掉s或者使用本地的
ViewPagerIndicatorLibrary’ could not be found in root
该开源控件无法引入
Execution failed for task ‘:processDebugResources’
目录符号问题
Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’ and ‘api’.
compile过时了给他换成implementation就行了
The targetSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.
这个下面应该有自动解决方法的
no target device found
找不到真机,用usb宝盒
Task ‘assemble’ not found in root project
复制一个build.gradle
org.apache.http不存在
build.gradle中
在buildToolsVersion下边
defaultConfig上边

添加如下代码

useLibrary 'org.apache.http.legacy'
  • 1



https://blog.csdn.net/dengweijunkedafu/article/details/80541104

未完待续,以上错误的根本原因不唯一,所以小伙伴们遇到的时候可以百度再谷歌,多试几种就会成功build

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/306572
推荐阅读
相关标签
  

闽ICP备14008679号