You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by "Mounica Kodela (JIRA)" <ji...@apache.org> on 2017/09/08 11:11:00 UTC

[jira] [Created] (LOG4J2-2038) [Android] Compilation error when using log4j 2.9.0

Mounica Kodela created LOG4J2-2038:
--------------------------------------

             Summary: [Android] Compilation error when using log4j 2.9.0
                 Key: LOG4J2-2038
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2038
             Project: Log4j 2
          Issue Type: Bug
          Components: API, Core
    Affects Versions: 2.9.0
            Reporter: Mounica Kodela
            Priority: Blocker


while trying to run the app with 2.9.0 we are facing the below exception.

Error:Error converting bytecode to dex:
Cause: Dex cannot parse version 53 byte code.
This is caused by library dependencies that have been compiled using Java 8 or above.
If you are using the 'java' gradle plugin in a library submodule add 
targetCompatibility = '1.7'
sourceCompatibility = '1.7'
to that submodule's build.gradle file.
...while parsing META-INF/versions/9/org/apache/logging/log4j/util/ProcessIdUtil.class



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)