2
As stated in error, it seems that you have to change the target framework to Android 7 (I think the API level 24), update your android sdk and rebuild your project and then deploy.
Accepted 2
right click on your project select properties chage your target frame work to v7.0