If i create a pc game and package it for android,will it work perfectly?
In a nutshell, no.
You have to also develop it for Android and test it on that platform.
There are many things that work fine on PC that don’t work on a phone, but the main difference of course is performance. Developing for Android is usually a massive corner cutting operation, as far as I can gather.