[ https://issues.apache.org/jira/browse/CB-11640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15534251#comment-15534251 ]
ASF GitHub Bot commented on CB-11640: ------------------------------------- Github user codecov-io commented on the issue: https://github.com/apache/cordova-android/pull/338 ## [Current coverage](https://codecov.io/gh/apache/cordova-android/pull/338?src=pr) is 35.15% (diff: 100%) > Merging [#338](https://codecov.io/gh/apache/cordova-android/pull/338?src=pr) into [master](https://codecov.io/gh/apache/cordova-android/branch/master?src=pr) will not change coverage ```diff @@ master #338 diff @@ ========================================== Files 12 12 Lines 1007 1007 Methods 198 198 Messages 0 0 Branches 168 168 ========================================== Hits 354 354 Misses 653 653 Partials 0 0 ``` > Powered by [Codecov](https://codecov.io?src=pr). Last update [30325e4...68e8100](https://codecov.io/gh/apache/cordova-android/compare/30325e4f32564cc8806bb1e100dbe4be8a0db449...68e81000635e1a2a7850c4e1545f2d2915ba6896?src=pr) > Android build fails with JDK 7 -- needs JDK 8 > --------------------------------------------- > > Key: CB-11640 > URL: https://issues.apache.org/jira/browse/CB-11640 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Docs > Affects Versions: 6.3.0 > Environment: OS: Linux 3.16.0-4-amd64 #1 SMP Debian > 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux > Cordova: 6.3.0 > Cordova Android: 5.2.1 > Reporter: Andrew Neff > Assignee: Joe Bowser > > Android platform documentation says JDK 7 or later. > http://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html > In fact, the default/sample project build throws a > java.lang.UnsupportedClassVersionError in :transformClassesWithDexForDebug. > -->> > Exception in thread "main" java.lang.UnsupportedClassVersionError: > com/android/dx/command/Main : Unsupported major.minor version 52.0 > <<-- > When I change to JDK 8, the problem goes away and everything seems OK. (I > only tested this with OpenJDK, but suspect it will be the same for Oracle > Java.) > If you decide to fix this by changing the docs, be aware that the JDK > download link you currently provide offers only JDK 7 downloads. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org