老师用的是v4的包吗?我用的是Android Studio,创建项目就会自动使用v7的包,出了好多问题,跟老师的不一致,该怎么解决?
apply plugin: 'com.android.application' android { compileSdkVersion 22 buildToolsVersion "23.0.2" defaultConfig { applicationId "com.cbt.weixin6" minSdkVersion 11 targetSdkVersion 22 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:22.2.1' }