Reputation: 107
I'm trying to import an old Eclipse project into Android Studio, in order to show ads.
Here are the dependencies in build.gradle:
dependencies {
implementation 'com.android.support:appcompat-v7:19.+'
implementation 'com.android.support:support-v4:19.+'
implementation 'com.google.android.gms:play-services-ads:15.0.0'
}
But when I try to build the project, the Java compiler gives the following errors:
TextAppearance.Material.Notification not found.
TextAppearance.Material.Notification.Info not found.
TextAppearance.Material.Notification.Time not found.
TextAppearance.Material.Notification.Title not found.
Thanks in advance for suggestions!
Upvotes: 0
Views: 86
Reputation: 107
I solved changing compileSdkVersion from 19 to 26. I also changed targetSdkVersion.
Upvotes: 1