• Register
1 vote

Problem :

After changing compileSdkVersion 23 and targetSdkVersion 23 I am getting an error

error: resource android:style/textappearance.material.widget.button.borderless.colored not found.

6 5 3
6,930 points

1 Answer

0 votes

Solution :

Please add the following code in build.gradle. place bellow code inside allprojects {

subprojects {
    afterEvaluate {
        project ->
            if (project.hasProperty("android"))                                                                                   {
                android {
                    compileSdkVersion = 27
                    buildToolsVersion = "27.0.3"
After following above approch your problem will be resolved.
9 7 4
38,600 points

Related questions

0 votes
1 answer 8 views
0 votes
1 answer 35 views
Problem: I have recently started working on Android Project. I have managed to gain only basic knowledge related to Android Programming with the help of online tutorials. After trying to import my Eclipse project into the android Studio then I had ... (); public static SetContentView setContentView; public static Activity activity; public static Context context; public static boolean wait = true;
asked Jul 15 Raphael Pacheco 4.9k points
0 votes
1 answer 125 views
0 votes
1 answer 96 views
Problem : I am getting bellow error while learning android and trying to make a semi-useful app. java.lang.illegalstateexception: could not execute method for android:onclick
asked Oct 19, 2019 peterlaw 6.9k points
0 votes
1 answer 41 views
Problem : I am trying to dynamically add and remove the tab in my tablayout. I have already used the FragmentPagerAdapter. I have my TabLayout and inside the TabLayout I have the ViewPager.I am able to add my tabs dynamically but while trying to remove my tab the viewpagers ... deleted and tab is also deleted. As a result my tab is unable to show the specific fragment. How can I fix this issue?
asked Feb 13 mphil 2.3k points