I suddenly started getting this error when trying to build. This was all working a few weeks ago with no changes that I know of. The issue seems to be related to react
For this, try one of the following option:
1. Update your SDK manager
> Go to build menu > clean project
> then build project
or
2. Right click on project folder > open module setting
> libraries
> add com.android.support:appcompat-v7:25.3.1
> sync
the project
3. Click on file
menu > open project structure
> and file the libraries