dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:23.0.1' compile 'com.google.code.gson:gson:2.6.2' compile 'junit:junit:4.12' compile 'com.android.support:support-v4:23.0.1' compile 'de.hdodenhof:circleimageview:2.0.0' compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' compile 'org.xutils:xutils:3.3.6' compile 'com.zhy:percent-support-extends:1.1.1' compile project(':Refreshlibrary') } 由于时间关系不做图文说明了,不明白的直接私信我也可以,当添加以上包遇到添加不了显示网络类似connect 出现127.0.0.0 8888 类似这些时, 建议直接打开我们在移动开发中常用的抓包工具Charles.Proxy,然后再去编译试一下。上述问题一般是网络造成的配置本身没有 问题
初学者android studio external libraries 中jar包添加失败解决方法
最新推荐文章于 2023-08-18 09:50:50 发布