1. Update build.gradle

Example of build.gradle: app/src/build.gradle

apply plugin:'com.android.application' android { compileSdkVersion 20 buildToolsVersion "20.0.0" defaultConfig { applicationId "com.courses.sottocorp.sunshine" minSdkVersion 10 targetSdkVersion 20 versionCode 1 versionName "1.0"} buildTypes { release { runProguard false proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro'}}} dependencies { compile fileTree(dir:'libs', include:['*.jar']) compile 'com.android.support:appcompat-v7:20.0.0' compile 'com.android.support:support-v4:20.0.0'}
  1. Sync gradle button
  2. Rebuild project

Afterupdating the build.gradle minSdkVersion, you have to click on the button to sync gradle file ("Sync Project with Gradle files").

That will clear the market.

Updating manifest.xml, e.g. deleting any references to SDK levels in the manifest file, is NOT necessary anymore in Android Studio.

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. 接收系统广播消息之监听系统开机
  2. android 使用jpeg库截屏
  3. [置顶] Android PopupWindow 的使用
  4. Android实现点赞动画(27)
  5. Android(安卓)TV Menu 3D星体旋转效果
  6. 拷贝的Android源码不能单独编译mmm命令提
  7. Android与IIS身份验证——基本验证
  8. 相对布局的一些属性
  9. Android AlertDialog 自定义样式-出现-清
  10. android 动态menu