android studio环境
qq_1729193966
write the code,change the world.我只想征服所有代码成为新一代的弄潮儿,把每一个项目和代码当成一座大山,用不断地学习去征服。
展开
-
导入项目:Error:No such property: GradleVersion for class: JetGradlePlugin
Error:No such property: GradleVersion for class: JetGradlePlugin这个的意思是找不到对应的gradle插件,具体要怎么解决呢?第一种办法:1.升级最新的android studio,然后就会自动下载,也就是说当前的android studio和导入项目使用android studio版本不一致造成的第二种办法:...原创 2019-07-27 10:37:28 · 8571 阅读 · 0 评论 -
导入项下载的项目,Invalid VCS root mappings The following directories are registered as VCS roots
错误信息:Invalid VCS root mappings The following directories are registered as VCS roots, but they are not: <Project>...原创 2019-07-27 15:23:08 · 13514 阅读 · 5 评论 -
Error:Execution failed for task ':recordlib:lint'. > Lint found errors in the project; aborting buil
错误详情:Error:Execution failed for task ':recordlib:lint'.> Lint found errors in the project; aborting build. Fix the issues identified by lint, or add the following to your build script to pro...原创 2019-07-27 15:25:36 · 837 阅读 · 1 评论 -
使用Butterknife时报错:Error:Execution failed for task ':app:javaPreCompileDebug'.> Annotation proc
只需要在app下面的build.gradle中添加,继续构建即可javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true }}原创 2019-09-07 14:17:35 · 226 阅读 · 0 评论 -
android studio加载不到资源:C:\Users\????\.gradle\caches\transforms-1\files-1.1\appcompat-v7-26.1.0.aar
C:\Users\????\.gradle\caches\transforms-1\files-1.1\appcompat-v7-26.1.0.aar\33378228f68f92b16bc546b8e653abeb\res\layout\tooltip.xml: error: file not found.这种问题,在3.2之前的版本上可以通过禁用Aapt2来解决,如下:...原创 2019-09-07 14:21:26 · 3350 阅读 · 0 评论