Android App does not work on other device

When I install my app with android studio it perfectly runs fine on my device, But when I share the same app with my friend or anyone It didn't even Install on their phone.

It show this type of error

enter image description here


Solution 1:

It seems like you are sharing non signed apk release file of you android application. Please follow instructions mentioned at https://developer.android.com/studio/publish/app-signing for creating singed apk version of your application.