Android Studio疑难解决
导入第三方类库错误:Could not find com.github.* :{jitpack-release}
在使用progresshint 的第三方库时,直接在gradle中添加
1 | repositories { |
但是爆出了错误
1 | Error:Could not find com.github.techery.progresshint:library-addition:{jitpack-release}. |
把**{jitpack-release}换成版本号**就可以了
解决代码
1 | repositories { |
找不到v4、v7包
1 | Rendering Problems Missing styles. Is the correct theme chosen for this layout? Use the Theme combo box above the layout to choose a different layout, or fix the theme style references. The following classes could not be found: |
检查了gradle
中是否有导入
1 | compile 'com.android.support:support-v4:23.4.0' |
仍然找不到v4
、v7
包
最后在SDK Manager
中发现Android Support Library
的版本号才更新到23.2.1
换成23.2.1
就好了