Update Support Library 23.2.0 Build Bug

Android Support Library 23.2.0 causing Toolbar arrow to be black

This is an AppCompat bug. To fix this, update the gradle to use vector drawables:

// Gradle Plugin 2.0+  
android {
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
}

Earlier gradle:

// Gradle Plugin 1.5  
android {
defaultConfig {
generatedDensities = []
}

// This is handled for you by the 2.0+ Gradle Plugin
aaptOptions {
additionalParameters "--no-version-vectors"
}
}

Edit: You no longer need to set the flags according to Android blog. This has been fixed in 23.2.1.

For AppCompat users, the flags for enabling support vector drawables
described in the 23.2 blog post are no longer required for usage of
AppCompat. However, you can still take advantage of the app:srcCompat
attribute if you wish to use support vector drawables for your own
resources.

Solution now: Update your support library to use 23.2.1 or above as follows:

dependencies {
compile 'com.android.support:appcompat-v7:23.2.1'
}

android - support libraries 23.2.0 cause app to crash

As predicted by some of the people here, the problem disappeared as i began using the 23.2.1 support libraries.
Thank you all for the support.

Update Android Support Library to 23.2.0 using VectorDrawables with srcCompat on API 21+

to solve your image scaling issue, have you tried setting scaleType='fitXY' to your ImageView?

(You can safely ignore that Lint error for now also adding tools:ignore="MissingPrefix" to your ImageView).

Error in support library 23.2.1

Okie so i found one solution n it worked for me.. I just put a vector drawable file in drawable folder with same name n it worked !

Android support library 23.2.0 error in setting style=@style/Widget.AppCompat.Button.Colored

I tested on other machine and its a bug in support library version 23.2.0

So I've reported it on
AOSP issue tracker here.

If you are having same issue...do star the issue on above link.

Thanks.

UPDATE
Here comes the support library version 23.2.1...
works like a charm!!

UPDATE
Here comes the Support lib 23.3.0...
and the charm goes away...
complete story here.

I guess support library needs to be well tested before final release..

Update Android Support Library to 23.2.0 cause error: XmlPullParserException Binary XML file line #17vector tag requires viewportWidth 0

Use this code in your build.gradle file

    //for Gradle Plugin 2.0+  
android {
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
}

If you are using Gradle 1.5 you’ll instead use

defaultConfig {
generatedDensities = []
}

// This is handled for you by the 2.0+ Gradle Plugin
aaptOptions {
additionalParameters "--no-version-vectors"
}

I think may be they are using vector draw-able compact underneath in other lib.found here

Updating support library

Solution is to change this external library to newest version supporting changes in new support library v23.2.0

compile ('com.github.afollestad.material-dialogs:core:0.8.5.6@aar')

For some reason it has to be done manually.



Related Topics



Leave a reply



Submit