Error after update sdk and buildtools to version 26


#1

Hi,
Im today update my project for SDK and Buildtools version from 25 to 26, after update my project, I cannot build, because Intellisense of AndroidStudio write errors.
Before this update, in version 25 its was good, but in version 26 not working.

Its possible to fix it?

Thank you for response.


#2

The signature of findViewById in the Android SDK has changed, so you need to update your code accordingly. Use view.findViewById<Button>(R.id.btBackup) as the replacement.