• Register
1 vote
234 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 5 3
6,930 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.
9 7 4
38,600 points

Related questions

0 votes
1 answer 74 views
0 votes
1 answer 83 views
83 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, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 48 views
48 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, 2020 mphil 2.3k points
0 votes
2 answers 55 views
55 views
Problem : I am facing the following issue while building my project. I haven't used any CoordinatorLayout in my project. I have just added it as a dependency in my build.gradle : I am currently using Android Studio 3.2 Canary 4. ... ..... /windows/Other/app/build/intermediates/transforms/dexBuilder/debug/304.jar Program type already present: android.support.design.widget.CoordinatorLayout$Behavior
asked Dec 5, 2019 alecxe 7.5k points
0 votes
1 answer 338 views
0 votes
1 answer 120 views
120 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 45 views
45 views
Problem: I am at the moment facing below error in my android studio after importing my Project: Error:(16, 0) Gradle DSL method not found: 'android()' Possible causes: The project 'LoginActivity' may be using a version of Gradle that does not contain the method. ... fuctionality (eg: editing, debugging) will not work properly. Please guide me to get rid of the above problem as soon as possible.
asked Sep 1, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 1.8K views
1.8K views
Problem : I am trying to develop the Android application using google map api v2 to show the Map in a Fragment. But when I run the application, I always faced the following error message appearing in my log every now and then. I ... .android.app C/GoogleCertificatesImpl: Fetched 154 Google release certificates 1921-2130/? V/GoogleSignatureVerifier: com.example.android.app signature not valid.
asked Dec 6, 2019 alecxe 7.5k points
0 votes
1 answer 79 views
79 views
Problem : Facing following error related to class path error:could not determine the class-path for interface com.android.builder.model.androidproject.
asked Nov 12, 2019 peterlaw 6.9k points
1 vote
1 answer 344 views
344 views
Problem : After updating my android studio, I am facing below error. How can I fix this error?? org.gradle.execution.MultipleBuildFailures: Build completed with 1 failures. at org.gradle ... .execute(SessionFailureReportingActionExecuter.java:63) at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:53)
asked Dec 11, 2019 alecxe 7.5k points