Android studio添加第三方控件出错怎么办 我在https://github.com/PhilJay/MPAndroidChart#gradle-setup添加第三方控件。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 新建一个项目 将gradle文件中的配置复制到你这个项目上 加错地方了,你应该加到对应moudle的gradle文件里,不能加在根目录的gradle文件 dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.android.support.constraint:constraint-layout:1.1.3' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'}添加在app目录下的build implementation 改为 compile 也会么? Activity中嵌入两个Activity出错 GridView怎么动态加载图标?求代码 android添加希伯来语 ,荷兰语 跪求,一个简单的手机模拟器解决方案及源码!!! 弱弱问一下,return键与back键的区别 Android页面里画柱状图和动态折线图 【求教帖】textview中文字的自定义下划线问题 手机Android系统有那些优势? 百度地图api周围的公交站这个功能是怎么实现的(例如周围500的公交站) 个人记事本 安卓 sqlite 机顶盒的一个launcher,我需要桌面一二级菜单的标题名字去掉。急急急。自己没有基础。不知如何下手。。 gradle build失败
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'}
添加在app目录下的build