There is one problem in my build.gradle
. The error in the gradle is that ( compile 'com.android.support:appcompat-v7:24.0.0-beta1'
) on this line the error display that (This support library should not use a different version(24 ) then the compile sdk version 23)
Any idea? And I used Android Studio 2.1.2 and the main problem is that in Android studio there is no android support library. pic is below
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
Your
compileSdkVersion
is23
in thebuild.gradle
file but you're trying to useappcompat-v7:24.0.0
which is for API 24, so you should useappcompat-v7:23.x.y
for API 23. If you still want to useappcompat-v7:24.0.0
then you should change thecompileSdkVersion
to 24You should use this for
compileSdkVersion
23:and this for
compileSdkVersion
24 :Edit
If you work on Android Studio, then you probably don't need to worry about the latest version available, it'll let you know about the latest available version.
You can also check the latest versions available for every sdk version here
Yep, they must not be different. Change it to
compile 'com.android.support:appcompat-v7:23.4.0'