[ 
https://issues.apache.org/jira/browse/IO-819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783792#comment-17783792
 ] 

Stephan Markwalder commented on IO-819:
---------------------------------------

Or better: I think there is no reason for Android's Jetifier to process the JAR 
file of Commons IO. As far as I know, Jetifier is used to rewrite some 
Android-specific API calls in libraries built for older Android versions. Since 
Commons IO does not use any Android APIs, you should be safe to put it on 
Jetifier's ignore list. Search for "android.jetifier.ignorelist" to find more 
information about this.

> Commons IO v2.15.0 is breaking android builds
> ---------------------------------------------
>
>                 Key: IO-819
>                 URL: https://issues.apache.org/jira/browse/IO-819
>             Project: Commons IO
>          Issue Type: Bug
>    Affects Versions: 2.15.0
>         Environment: java --version
> openjdk 11.0.21 2023-10-17 LTS
> OpenJDK Runtime Environment Zulu11.68+17-CA (build 11.0.21+9-LTS)
> OpenJDK 64-Bit Server VM Zulu11.68+17-CA (build 11.0.21+9-LTS, mixed mode)
>  
> Mac OS 14.1 on Apple Silicon 
>            Reporter: Pranshu
>            Priority: Major
>         Attachments: Screenshot 2023-10-27 at 00.07.46.png, stacktrace.txt
>
>
> Hey we are using commons +commons-io:commons-io+ java package in out React 
> Native app on the android side. 
> Apparently the recently releases version v2.15.0 is breaking android builds, 
> whereas versions <= v2.14.0 works well. 
> Steps to Repro
> 1. Create a RN app 
> npx react-native init CommonsIORepro
> 2. Add commons-io dep android/{*}app{*}/build.gradle
> dependencies{    
>         implementation "commons-io:commons-io:2.15.0"
> }
>  
> 3. yarn run start 
> 4. In a new terminal - yarn run android



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to