androidgradlebuildeas

A problem occurred evaluating project ':unimodules-permissions-interface'. > Plugin with id 'maven' not found


I always got this error message during the EAS build with " eas build -p android --profile preview". Even though I modified everything (e.g. maven -> maven-publish) in the node_modules and it was building properly using ./gradlew build.

1: Task failed with an exception.
    -----------
    * Where:
    Build file '/home/expo/workingdir/build/node_modules/unimodules-permissions-interface/android/build.gradle' line: 3
    * What went wrong:
    A problem occurred evaluating project ':unimodules-permissions-interface'.
    > Plugin with id 'maven' not found.

I think the local build using ./gradlew build use my codes correctly but it seems like the EAS build uses different path which is existing virtually? How can I match them?


Solution

  • I solved this problem re-installing all dependencies again –