In this case, you have to enable the following settings to install it without any problem.
Step 1- Go to device Settings(icon) menu
Step 2- Tap on Security
Step 3- Device administration
Step 4- Unknown sources – Check mark Unknown Sources
That’s all. A small post but might be helpful for beginner android developers.