0

I am upgrading my Android App from 21 to 26 due to the new rule, just released by Google. The latest Android App has to support the Google API 26 when publishing to Google Store.

When I change my gradle.build file the compileSdkVersion and the targetSdkVersion to 26, I got bunch of errors. Here is one of them:

error: SettingNoticeActivity_ is not abstract and does not override abstract method findViewById(int) in HasViews

Please advise what I am missing here?

Kos
  • 4,890
  • 9
  • 38
  • 42
B David
  • 43
  • 9

1 Answers1

1

There is a similar and interesting thread here. As suggested by this source please try to:

  1. update gradle: you can follow this excellent answer

  2. upgrade the Android plugin: in build.gradle (Project) please add:

    dependencies { classpath 'com.android.tools.build:gradle:3.2.1' [...] }

If everything has been done properly you can double check the versions in this way: inside the IDE click on File->Project Structure...->Project

Gradle and Android plugin versions check

Dharman
  • 30,962
  • 25
  • 85
  • 135
Antonino
  • 3,178
  • 3
  • 24
  • 39