How can i connect android app to Cloud SQL instead of dataStore?

That would require significant changes to what I have shown because you are changing an entire persistent layer. You will have to refer to the official documentation for Cloud SQL, use the correct JAR file and rewrite the persistence layer to JDBC like code.