This is not an error in Kivy.
The IDE you use is reporting a false error because it can't see the package 'android'.
The package 'android' does not and cannot exist on a desktop device, the IDE does not understand that.
I presume your IDE has some setting for this, but I don't know anything specific about that.