Envoyé par
Hephaistos007
Compiles avec le SDK level 19 pour voir. Tu n'aurais pas eu besoin de la support library.
Purée je vais devenir fou
J'ai essayé, mais j'obtiens plein d'erreurs du genre :
Error:(13) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse'.
Voici le contenu de mon build.gradle :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| apply plugin: 'com.android.application'
android {
compileSdkVersion 19
buildToolsVersion "19.1.0"
defaultConfig {
applicationId "xxx"
minSdkVersion 10
targetSdkVersion 19
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.android.support:support-v4:19.+'
compile 'com.android.support:appcompat-v7:19.+'
compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.loopj.android:android-async-http:1.4.6'
} |
Et celui du fichier styles.xml :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| <resources>
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
<!--<style name="Background" parent="AppTheme">
<item name="android:windowBackground">@drawable/background_parchemin</item>
</style>-->
</resources> |
Quelqu'un peut-il m'aider ? Je suis bloqué sur ce problème depuis bien trop longtemps
Partager