When I test game on my device using usb its working but when create a apk file it doesnt work. How to fix this?
I think this could be the problem. You have to make a keystore and sign the apk. Otherwise it won't work.
Please, when you ask a question, tell us more information. BB version OS version Android Studio or Eclipse version Java version Screenshot of the problem The more data you offer us, the better we can help you.