skip to Main Content

Android Studio – "Could not find com.android.tools.build:gradle:7.2.0." with Chipmunk

I have just updated Android Studio to Chipmunk and gradle file sync no longer works. The sync has the following errors: Could not find com.android.tools.build:gradle:7.2.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.2.0/gradle-7.2.0.pom - https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/7.2.0/gradle-7.2.0.pom Required by: project : Add google…

VIEW QUESTION

Android Studio – Defining a button in Kotlin

I'm a Kotlin newbie, I'm trying to call a button BTN_test but I can't MainActivity.kt package com.example.testapp import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.Gravity import android.widget.Toast class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) var btn =…

VIEW QUESTION
Back To Top
Search