can't build the Android on EAS

In managed workflow
can’t build on EAS

> Task :react-native-gradle-plugin:compileJava
[stderr] Note: /home/expo/workingdir/build/node_modules/
react-native-gradle-plugin/src/main/java/com/facebook/react/codegen/generator/
SchemaJsonParser.java uses or overrides a deprecated API.
[stderr] Note: Recompile with -Xlint:deprecation for details.

Hey @soly2014,

Seems like you have two different libraries for masked view installed:

{
 "@react-native-community/masked-view": "0.1.10",
"@react-native-masked-view/masked-view": "0.2.7",
}

As per the documentation here, you can only have one of the above libraries installed in your project. Please remove one and re-build the app.

1 Like