• Register
1 vote
380 views

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.9k points

Please log in or register to answer this question.

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.
38.6k points

Related questions

0 votes
3 answers 19 views
19 views
Problem: I am trying to call OPENROWSET command in SQL server 2012 to read data from xls excel file below is my code SET @sql = 'SELECT * FROM [' + @Query + '$]' Exec( 'select * FROM OPENROWSET( ''Microsoft.Jet.OLEDB.4.0'' ,''Excel 16.0;Database=' ... EXEC sp_configure 'Ad Hoc Distributed Queries', 1 GO RECONFIGURE; GO but also not working . Also both sql and excel are 64 bit any other solution??
asked Apr 24 Yeamin 23.5k points
0 votes
1 answer 121 views
121 views
Problem: How to fix the error: resource android:style/textappearance.material.widget.button.borderless.colored not found.
asked Feb 23 Muneeb Saadii 130k points
0 votes
1 answer 11 views
11 views
Problem : How do I solve it: Attempt to invoke virtual method 'void android.widget.button.setonclicklistener?
asked Jun 14 Siam55 110k points
0 votes
1 answer 13 views
13 views
Problem: I am getting the following error while building the project. haven't used CoordinatorLayout in this project. just added as a dependency in build.gradle : I am using Android Studio 3.2 Canary 4. LogCat AGPBI: {"kind":" ... /build/intermediates/transforms/dexBuilder/debug/294.jar Program type already present: android.support.design.widget.CoordinatorLayout$Behavior How can I solve this?
asked Apr 25 munim01 21k points
0 votes
1 answer 34 views
34 views
Problem: error: program type already present: android.support.design.widget.coordinatorlayout$behavior
asked Feb 19 Lucky Guy 1.5k points
0 votes
1 answer 16 views
16 views
Problem: Can someone please care to enlighten me as to why this happens : The following classes could not be instantiated - android.support.design.widget.coordinatorlayout?
asked Jun 10 Irenka Kiri 85.5k points
0 votes
1 answer 21 views
21 views
Problem: ries { jcenter() maven { url "https://maven.google.com" } } } When I am going to any xml file it is showing me an error **The following classes could not be instantiated: android.support.v7.widget.AppCompatTextView (Open Class, Show Exception, Clear Cache)** I have updated Android Studio to the latest still it shows the error. I am unable to figure out the problem.Thank you.
asked Apr 24 anika11 32.2k points
0 votes
1 answer 2 views
2 views
Problem: Android material design profile page xml
asked Jul 19 Aurelia Maja 78.4k points
0 votes
1 answer 20 views
20 views
Problem: Is there anyone who knows the answer :Void android.widget.textview.settext(java.lang.charsequence)' on a null object reference?
asked Jun 12 Mezbah 130k points
0 votes
1 answer 33 views
33 views
Problem: Having a hard time with this, help please : 'void android.widget.textview.settext(java.lang.charsequence)' on a null object reference.
asked Jun 12 Aurelia Maja 78.4k points