I've noticed when adding the @config-plugins/react-native-branch plugin on my project, Android stops building.
The error thrown is the following:
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file '.../android/app/build.gradle' line: 21
* What went wrong:
A problem occurred evaluating project ':app'.
> path may not be null or empty string. path=''
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':app'.
> compileSdkVersion is not specified. Please add it to build.gradle
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================
As soon as removing the @config-plugins/react-native-branch from the project & app.cofing.ts plugins list, it builds fine again and no errors are shown.
Summary
I've noticed when adding the
@config-plugins/react-native-branch
plugin on my project, Android stops building. The error thrown is the following:As soon as removing the
@config-plugins/react-native-branch
from the project &app.cofing.ts
plugins list, it builds fine again and no errors are shown.Config Plugin
@config-plugins/react-native-branch
What platform(s) does this occur on?
Android
SDK Version
48
Reproducible demo
Project using:
@config-plugins/react-native-branch@5.0.0
.app.config.ts
expo prebuild
expo run:android
💥