[
https://issues.apache.org/jira/browse/COMPRESS-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409477#comment-17409477
]
Gary D. Gregory commented on COMPRESS-590:
------------------------------------------
The bottom line here is that Java on Android is not the complete Java that you
find everywhere else :-(
> Fatal Exception: java.lang.NoSuchMethodError
> --------------------------------------------
>
> Key: COMPRESS-590
> URL: https://issues.apache.org/jira/browse/COMPRESS-590
> Project: Commons Compress
> Issue Type: Bug
> Components: Build
> Affects Versions: 1.21
> Reporter: Philip Jan Baruis
> Priority: Major
>
> Environment: Android Studio
> JDK Version: 1.8
> Apache Commons Compress Version: 1.21
> Android Versions affected: Android 6 (Marshmallow) / API 23 , Android 7.1
> (Nougat) / API 25
> Here's what i got on the stacktrace.
> {code:java}
> Fatal Exception: java.lang.NoSuchMethodError: No virtual method
> toPath()Ljava/nio/file/Path; in class Ljava/io/File; or its super classes
> (declaration of 'java.io.File' appears in /system/framework/core-libart.jar)
> at
> org.apache.commons.compress.archivers.tar.TarArchiveEntry.<init>(TarArchiveEntry.java:421){code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)