S
Salvo84
Neues Mitglied
- 0
Hallo ich wollte meine App Testen jedoch haut er mir Fehler raus! ich bin recht neu um Gebiet Android und hab auch schon Dr. Google gefragt aber leider komme ich nicht an die Lösung! kann mir hier jemand Hilfestellung geben.
Gradle
apply plugin: 'com.android.application'
apply plugin: 'android-apt'
android {
compileSdkVersion 26
buildToolsVersion '26.0.1'
defaultConfig {
vectorDrawables.useSupportLibrary = true
applicationId APPLICATION_ID
minSdkVersion MIN_SDK_VERSION as int
targetSdkVersion TARGET_SDK_VERSION as int
versionCode VERSION_CODE as int
versionName VERSION_NAME
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
xmlReport false
warningsAsErrors true
quiet false
showAll true
disable 'OldTargetApi', 'UnusedAttribute', 'LongLogTag'
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}
dexOptions {
javaMaxHeapSize "4g"
}
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
}
}
allprojects {
repositories {
jcenter()
maven {
url 'Google's Maven Repository'
name 'Google'
}
}
}
repositories {
flatDir {
dirs 'libs'
}
maven { url "JitPack | Publish JVM and Android libraries" }
maven { url 'Index of /repositories/releases' }
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
//noinspection GradleCompatible
compile 'com.android.support:appcompat-v7:26+'
compile 'com.android.support:recyclerview-v7:26+'
compile(name: 'InspiusCore-release', ext: 'aar')
compile 'com.jakewharton:butterknife:8.8.1'
apt 'com.jakewharton:butterknife-compiler:8.4.0'
compile 'com.marshalchen.ultimaterecyclerview:library:0.7.0'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'
compile 'com.wang.avi:library:2.1.3'
compile 'com.loopj.android:android-async-http:1.4.9'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.4'
compile 'com.ogaclejapan.smarttablayout:library:1.6.1@aar'
compile 'com.ogaclejapan.smarttablayout:utils-v4:1.6.1@aar'
compile 'de.hdodenhof:circleimageview:2.1.0'
compile 'org.greenrobot:greendao:3.2.0'
compile 'joda-time:joda-time:2.9.7'
compile 'com.github.paolorotolo:appintro:4.1.0'
compile 'com.google.firebase:firebase-core:11.6.2'
compile 'com.google.firebase:firebase-ads:11.6.2'
compile 'com.google.firebase:firebase-crash:11.6.2'
compile 'com.google.firebase:firebase-messaging:11.6.2'
compile 'com.facebook.android:facebook-android-sdk:4.29.0'
compile project(':TagViewLib')
compile 'com.google.android.exoplayer:exoplayer:r2.2.0'
compile files('libs/YouTubeAndroidPlayerApi.jar')
compile 'com.github.iammert:MusicPlayerView:e3b937c729'
compile 'com.longtailvideo.jwplayer:jwplayer-core:+'
compile 'com.longtailvideo.jwplayer:jwplayer-common:+'
compile 'com.thoughtbot:expandablerecyclerview:1.3'
}
apply plugin: 'com.google.gms.google-services'
Fehler:
\app\build\intermediates\res\merged\debug\values\values.xml
Error
224) Attribute "tint" already defined with incompatible format.
Error
151) Original attribute defined here.
Error
224) Attribute "tint" already defined with incompatible format.
Error
151) Original attribute defined here.
Error:Execution failed for task ':app
rocessDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
values.xml:
Betroffene Zeilen:
224: <declare-styleable name="InspiusTintableImageView"><attr format="reference|color" name="tint"/></declare-styleable>
151: <declare-styleable name="AppCompatImageView"><attr name="android:src"/><attr format="reference" name="srcCompat"/><attr format="color" name="tint"/><attr name="tintMode">
Kann mir vielleicht jemand behilflich sein bitte
Gradle
apply plugin: 'com.android.application'
apply plugin: 'android-apt'
android {
compileSdkVersion 26
buildToolsVersion '26.0.1'
defaultConfig {
vectorDrawables.useSupportLibrary = true
applicationId APPLICATION_ID
minSdkVersion MIN_SDK_VERSION as int
targetSdkVersion TARGET_SDK_VERSION as int
versionCode VERSION_CODE as int
versionName VERSION_NAME
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
xmlReport false
warningsAsErrors true
quiet false
showAll true
disable 'OldTargetApi', 'UnusedAttribute', 'LongLogTag'
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}
dexOptions {
javaMaxHeapSize "4g"
}
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
}
}
allprojects {
repositories {
jcenter()
maven {
url 'Google's Maven Repository'
name 'Google'
}
}
}
repositories {
flatDir {
dirs 'libs'
}
maven { url "JitPack | Publish JVM and Android libraries" }
maven { url 'Index of /repositories/releases' }
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
//noinspection GradleCompatible
compile 'com.android.support:appcompat-v7:26+'
compile 'com.android.support:recyclerview-v7:26+'
compile(name: 'InspiusCore-release', ext: 'aar')
compile 'com.jakewharton:butterknife:8.8.1'
apt 'com.jakewharton:butterknife-compiler:8.4.0'
compile 'com.marshalchen.ultimaterecyclerview:library:0.7.0'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'
compile 'com.wang.avi:library:2.1.3'
compile 'com.loopj.android:android-async-http:1.4.9'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.4'
compile 'com.ogaclejapan.smarttablayout:library:1.6.1@aar'
compile 'com.ogaclejapan.smarttablayout:utils-v4:1.6.1@aar'
compile 'de.hdodenhof:circleimageview:2.1.0'
compile 'org.greenrobot:greendao:3.2.0'
compile 'joda-time:joda-time:2.9.7'
compile 'com.github.paolorotolo:appintro:4.1.0'
compile 'com.google.firebase:firebase-core:11.6.2'
compile 'com.google.firebase:firebase-ads:11.6.2'
compile 'com.google.firebase:firebase-crash:11.6.2'
compile 'com.google.firebase:firebase-messaging:11.6.2'
compile 'com.facebook.android:facebook-android-sdk:4.29.0'
compile project(':TagViewLib')
compile 'com.google.android.exoplayer:exoplayer:r2.2.0'
compile files('libs/YouTubeAndroidPlayerApi.jar')
compile 'com.github.iammert:MusicPlayerView:e3b937c729'
compile 'com.longtailvideo.jwplayer:jwplayer-core:+'
compile 'com.longtailvideo.jwplayer:jwplayer-common:+'
compile 'com.thoughtbot:expandablerecyclerview:1.3'
}
apply plugin: 'com.google.gms.google-services'
Fehler:
\app\build\intermediates\res\merged\debug\values\values.xml
Error

Error

Error

Error

Error:Execution failed for task ':app

> com.android.ide.common.process.ProcessException: Failed to execute aapt
values.xml:
Betroffene Zeilen:
224: <declare-styleable name="InspiusTintableImageView"><attr format="reference|color" name="tint"/></declare-styleable>
151: <declare-styleable name="AppCompatImageView"><attr name="android:src"/><attr format="reference" name="srcCompat"/><attr format="color" name="tint"/><attr name="tintMode">
Kann mir vielleicht jemand behilflich sein bitte