Estoy creando un splash en Flutter y obtengo el siguiente error:
error: resource android:color/primary not found.
Mi archivo bg_Color.xml se encuentra dentro de la carpeta drawable
bg_color.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:drawable="@android:color/primary" />
<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</shape>
mi archivo color.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name = "green">#808080</color>
</resources>
A que se debe este error ?
green
? usa: drawable="@color/green"