Unfortunately, GTA: San Andreas for iOS, Android and Windows Phone does not support cheats.
The PC cheat codes can be typed in on the Android version if your device supports USB On-The-Go (OTG) and you have a USB keyboard connected. Alternatively, you can use an app such as "GameKeyboard" or "GamePad" (both can be found on the Google Play Store). These apps will let you use a software keyboard in game which you can use to type the cheats in.