Follow these steps 1. First of all, define a new xml file in the name of the res / values ββfolder (color.xml). 2. Then define your own color as.
<resources> <color name="primary">#03f</color> </resources>
The problem is that your theme provided a place for customization, but it does not know @ color / primary this thing.
try to start the project again.
remember Install android: minSdkVersion = "L" android: targetSdkVersion = "L"
source share