You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to add codepush but it requires some install steps. The documentation doesn't state anything about altering the settings.gradle and the existing plugins don't alter the settings.gradle to act like an example.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not resolve project :react-native-code-push.
Required by:
project :app
> No matching configuration of project :react-native-code-push was found. The consumer was configured to find a component for use during compile-time, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.4.2' but:
- None of the consumable configurations have attributes.
The text was updated successfully, but these errors were encountered:
Hello, sorry for the somewhat late response, but the feedback was noted. We will add this functionality in release 1.0 of renative in a similar way to what was suggested - #1563
However, if for any reason a newer version of the project cannot be used, I'd recommend using overrides to inject the needed functionality manually.
More specifically you can create a settings.gradle file in appConfigs/base/builds/android. That will override anything renative tries to generate on a recreation of the project. However, do be aware, that in such case if you will plan to opt for a newer version of renative or change anything else, the newer changes will not be propagated and your provided settings.gradle will be used.
I am trying to add codepush but it requires some install steps. The documentation doesn't state anything about altering the
settings.gradle
and the existing plugins don't alter thesettings.gradle
to act like an example.The text was updated successfully, but these errors were encountered: