- 博客(10)
- 收藏
- 关注
原创 buildscript和allprojects和subprojects的区别.Android Studio
1、allprojects是对所有project的配置,包括Root Project。而subprojects是对所有Child Project的配置2、 buildscript里是gradle脚本执行所需依赖,分别是对应的maven库和插件3、allprojects里是项目本身需要的依赖,比如我现在要依赖我自己maven库的toastutils库,那么我应该将maven {url ‘https://dl.bintray.com/calvinning/maven’}写在这里,而不是buildscript
2021-12-06 22:05:53
967
原创 apply plugins:和plugins{}的区别.Android Studio
1、“plugins {}”块导入的是Gradle官方插件仓库里的插件。如果使用“buildscript {}”块指定第三方库作为Gradle插件的话,指定插件就需要使用“apply plugin”了。2、“apply plugin”用途更多,而“plugins {}”块是一个新引入的还不足够稳定的特性。3、apply plugin 可以用在 allprojects 和 subprojects 中。4、两者一般可以互换例如apply plugin: 'com.android.application
2021-12-06 21:47:20
6392
原创 Connot compile the file、no compile tool is associated with the file extension.VC6.0错误
错误原因:创建C++ Source File时,名字错误解决办法:标识符不要带. , ’ ’ ‘’ ‘’ ;
2021-11-21 17:28:13
1063
原创 A JNI error has occurred,please check your installation and try again.Eclipse IDE(SE)错误
当重装eclipse或是时间长没有打开eclipse,之前导入的项目出现很多小红叉、出现A JNI error has occurred,please check your installation and try again具体问题如下:Exception in thread "main" java.lang.UnsupportedClassVersionError: lesson10/Point has been compiled by a more recent version of the
2021-11-19 20:56:52
1932
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人