dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:23.4.0'
}
i.e. implementation/ testImplementation and version number
To get AppCompatActivity to be recognised.
We have upgraded the code in the lesson-four branch to AndroidX in this commit. We expect students to replicate the similar updates to other branches, where needed.
I had to alter dependencies to this:
dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) testImplementation 'junit:junit:4.12' implementation 'com.android.support:appcompat-v7:23.4.0' } i.e. implementation/ testImplementation and version number To get AppCompatActivity to be recognised.