File: /.gradle/caches/transforms-1/files-1.1/stripe-android-5.1.1.aar/xx/res/layout/activity_add_source.xml
Error: Error:(28) error: resource style/TextAppearance.AppCompat.Notification (aka com.yespark.android.debugprod:style/TextAppearance.AppCompat.Notification) not found.
Config:
compileSdkVersion 27
buildToolsVersion '27.0.0'
targetSdkVersion 27
I didn't realize 27 had come out yet. I don't think that's the problem, though - is this looking in your directory for the standard appcompat resource styles? Can you share your gradle files?
I use the v27.0.0 support library (release changelog)
The support/master/v7/appcompat/res/values/styles.xml source code announces:
<!-- These styles have moved to support-compat and should be removed when
--
聽 | android.support.v7.app.NotificationCompat is removed -->
聽 | <style name="TextAppearance.AppCompat.Notification" parent="@android:style/TextAppearance.StatusBar.EventContent" />
聽 | <style name="TextAppearance.AppCompat.Notification.Title" parent="@android:style/TextAppearance.StatusBar.EventContent.Title" />
聽 | <style name="TextAppearance.AppCompat.Notification.Info">
聽 | <item name="android:textSize">12sp</item>
聽 | <item name="android:textColor">?android:attr/textColorSecondary</item>
聽 | </style>
聽 | <style name="TextAppearance.AppCompat.Notification.Time">
聽 | <item name="android:textSize">12sp</item>
聽 | <item name="android:textColor">?android:attr/textColorSecondary</item>
聽 | </style>
聽 | <style name="TextAppearance.AppCompat.Notification.Line2" parent="TextAppearance.AppCompat.Notification.Info" />
聽 | 聽
聽 | <!-- These styles have moved to media-compat and should be removed when
聽 | android.support.v7.app.NotificationCompat is removed -->
聽 | <style name="TextAppearance.AppCompat.Notification.Title.Media" />
聽 | <style name="TextAppearance.AppCompat.Notification.Media" />
聽 | <style name="TextAppearance.AppCompat.Notification.Info.Media" />
聽 | <style name="TextAppearance.AppCompat.Notification.Time.Media" />
聽 | <style name="TextAppearance.AppCompat.Notification.Line2.Media" parent="TextAppearance.AppCompat.Notification.Info.Media" />
It seems to be confirmed by Ian Lake's tweet:
My personal crusade finished in Support Library 27.0.0: AppCompat no longer depends on media-compat. One less transitive dependency!
To fix this, you could add the support-compat lib to your gradle file
Oh, I see. That makes a breaking change to support library 27... looks like we'll have to make a breaking change to upgrade to it then. We likely would have to anyway to upgrade to gradle build tools 3 now that it's a stable release. We'll make the upgrade. Release version will have to become 6.0.0 (that doesn't mean wait a certain length of time, just we'll have to break to go up).
I am experiencing same issue after upgrading Android studio 3.0. @mrmcduff-stripe could you please let me know what the estimation date of 6.0.0 release is?
Seeing the same issue when updating gradle config from 26.0.2 to 27.0.0. List of main support libs:
compileSdkVersion 27
buildToolsVersion '27.0.0'
targetSdkVersion 27
... config ...
// Support Libraries v7
compile 'com.android.support:appcompat-v7:27.0.0'
compile 'com.android.support:cardview-v7:27.0.0'
compile 'com.android.support:mediarouter-v7:27.0.0'
// support libs v4
compile 'com.android.support:support-v4:27.0.0'
// other support libs
compile 'com.android.support:design:27.0.0'
compile 'com.android.support:support-vector-drawable:27.0.0'
compile 'com.android.support:animated-vector-drawable:27.0.0'
compile 'com.android.support:customtabs:27.0.0'
Gradle also updated from 2.3.3 to 3.0.0
Updating to 27 by the end of next week - will post here.
Is this fixed? I'm still seeing this with stripe 5.1.1
Is this fixed? I'm still seeing this with stripe 5.1.1
Had this question but realized there are new versions available that are not tagged under git Releases. Current version 6.1.1 is 馃憤
Most helpful comment
Is this fixed? I'm still seeing this with stripe 5.1.1