I am using Android Studio 2.2 Preview. I am facing the issue
Failure: Install failed invalid apk Error: While installing apk,
Failure: Install failed invalid apk
Error: While installing apk,
This error comes with Android Studio lower than 2.4 when you try to enable Java 8 features in gradle settings following the instruction. Error can be reproduced in a new project with those gradle settings.
A higher version is needed, or a preview one.