I
I
Ivan the Terrible2015-11-22 13:49:45
Android
Ivan the Terrible, 2015-11-22 13:49:45

How to solve "Rendring Problems" in AS?

When switching from API 23 to 19 or 15, an error appears:
The graphics preview in the layout editor may not be accurate :
- PorterDuff Color Filters are not supported.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Karassev, 2016-07-16
@Skerrigan

Content build.gradle:app , then rebuild.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.1.0-alpha1'
        classpath 'com.google.gms:google-services:2.1.0-alpha1'
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

apply plugin: 'com.android.application'

android {
    compileSdkVersion 15
    buildToolsVersion '19.1.0'
    defaultConfig {
        applicationId "com.expressapp_v4.app"
        minSdkVersion 15
        targetSdkVersion 15
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:19.0.0'
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question