ThirdPersonCamera giving Invalid Cast Error in Android

I get this error

InvalidCastException: Cannot cast from source type to destination type.
ThirdPersonCamera.Awake () (at Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonCamera.js:52)

my platform is android

What type is ‘_target.collider’? Usually that returns a Collider, not a CharacterController. Try using

_target.GetComponent.<CharacterController>();