Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid Studio change minSdk
    text
    copied!<p>In android studio i have change AndroidManifest.xml minSdk into API 12, but still got error my style minimum require is API 11, and my currenct setting API is 8.</p> <p>AndroidManifext.xml</p> <pre><code>&lt;uses-sdk android:minSdkVersion="12" android:targetSdkVersion="17" /&gt; </code></pre> <p>My screenshot style that cause error:</p> <pre><code>&lt;resources&gt; &lt;!-- Base application theme. --&gt; &lt;style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt; &lt;item name="android:titleTextStyle"&gt;&lt;/item&gt; &lt;/style&gt; &lt;/resources&gt; </code></pre> <p>Screenshot:<br> <img src="https://i.stack.imgur.com/D2KRY.png" alt="enter image description here"></p> <p>I have tried change minSdk and then rebuild the project but still got same error.<br> How is this happen? what i forgot to do? or this is a bug in android studio?<br> Currently i use android studio <strong>v0.3.2</strong></p> <hr> <p>Following @Wenhui comments i noticed i need to upade build.gradle too.<br> But still i got the same error, here is my current build.gradle </p> <pre><code>buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:0.6.+' } } apply plugin: 'android' repositories { mavenCentral() } android { compileSdkVersion 17 buildToolsVersion "19.0.0" defaultConfig { minSdkVersion 12 targetSdkVersion 17 } buildTypes { release { runProguard false proguardFile getDefaultProguardFile('proguard-android.txt') } } productFlavors { defaultFlavor { proguardFile 'proguard-rules.txt' } } } dependencies { compile 'com.android.support:appcompat-v7:+' } </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload