skip to Main Content

Android Studio – Gradle build fails on "lint isAbortOnError" after updating to com.android.tools.build:gradle:7.1.0

For my android app i'm using a build.gradle.kts file containing this code: android { ... lint { isAbortOnError = false } } For my current configuration, everything works fine: Android Studio Bumble Bee 2021.1.1 com.android.tools.build:gradle:7.0.4 distributionUrl=https://services.gradle.org/distributions/gradle-7.3.3-bin.zip Android Studio suggested an…

VIEW QUESTION

Android Studio – Build.Gradle Error – A problem occurred evaluating project ':app'

I am getting the below error when I am trying to run my app. A problem occurred evaluating project ':app'. Supplied String module notation 'commons-io:commonCould not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.s-io:2.6' is invalid. Example notations: 'org.gradle:gradle-core:2.2', 'org.mockito:mockito-core:1.9.5:javadoc'. Try: Run…

VIEW QUESTION

Android Studio – How do I put buttons next to each other in linear layout in android studio?

Hello I am trying to put two buttons next to eachother in android studio with linearlayout: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:gravity="center" tools:context=".MainActivity"> <ImageView android:id="@+id/imageView" android:layout_width="222dp" android:layout_height="237dp" app:srcCompat="@drawable/ic_launcher_background" tools:layout_editor_absoluteX="246dp" tools:layout_editor_absoluteY="322dp" /> <com.google.android.material.button.MaterialButton android:id="@+id/cameraBtn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center" android:text="@string/camera" android:layout_marginTop="8dp"…

VIEW QUESTION
Back To Top
Search