I keep getting this error message when compiling my app to an apk:
error message I’ve found a lot of posts about pom.xml
I tried multiple times to find the pom.xml
file. So does anyone know where it is or how to fix this error?
This is my android studio version btw: version
2
Answers
Newest Android Studio does not support java 1.5 as a compilation target. Switch to 1.6 or later (newest recommendation is java 11). Here is how:
source
Similar to Jakos, I found the following in my appbuild.gradle :
This was probably left over from upgrading an eclipse project, once removed the project compiled.