Я устанавливаю response-native-navigation в моем приложении Reaction-native.для установки я следовал документации по установкеact-native-navigation для приложения для Android от https://wix.github.io/react-native-navigation/#/docs/Installing. при выполнении команды react-native run-android
, я получаю сообщение об ошибке:
Could not determine the dependencies of task ':app:preDebugBuild'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
> Could not resolve project: react-native-navigation.
Required by:
project :app
> Unable to find a matching variant of project :react-native-navigation:
- Variant 'reactNative56DebugApiElements':
- Required RNN.reactNativeVersion 'reactNative55' and found incompatible value 'reactNative56'.
- Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
- Found com.android.build.api.attributes.VariantAttr 'reactNative56Debug' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api'.
- Variant 'reactNative56DebugRuntimeElements':
- Required RNN.reactNativeVersion 'reactNative55' and found incompatible value 'reactNative56'.
- Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
- Found com.android.build.api.attributes.VariantAttr 'reactNative56Debug' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
- Variant 'reactNative56ReleaseApiElements':
- Required RNN.reactNativeVersion 'reactNative55' and found incompatible value 'reactNative56'.
- Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found incompatible value 'release'.
- Found com.android.build.api.attributes.VariantAttr 'reactNative56Release' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api'.
- Variant 'reactNative56ReleaseRuntimeElements':
- Required RNN.reactNativeVersion 'reactNative55' and found incompatible value 'reactNative56'.
- Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found incompatible value 'release'.
- Found com.android.build.api.attributes.VariantAttr 'reactNative56Release' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
- Variant 'reactNative57DebugApiElements':
- Required RNN.reactNativeVersion 'reactNative55' and found incompatible value 'reactNative57'.
- Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
- Found com.android.build.api.attributes.VariantAttr 'reactNative57Debug' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api'.
- Variant 'reactNative57DebugRuntimeElements':
- Required RNN.reactNativeVersion 'reactNative55' and found incompatible value 'reactNative57'.
- Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
- Found com.android.build.api.attributes.VariantAttr 'reactNative57Debug' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
- Variant 'reactNative57ReleaseApiElements':
- Required RNN.reactNativeVersion 'reactNative55' and found incompatible value 'reactNative57'.
- Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found incompatible value 'release'.
- Found com.android.build.api.attributes.VariantAttr 'reactNative57Release' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api'.
- Variant 'reactNative57ReleaseRuntimeElements':
- Required RNN.reactNativeVersion 'reactNative55' and found incompatible value 'reactNative57'.
- Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found incompatible value 'release'.
- Found com.android.build.api.attributes.VariantAttr 'reactNative57Release' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
- Variant 'reactNative57_5DebugApiElements':
- Required RNN.reactNativeVersion 'reactNative55' and found incompatible value 'reactNative57_5'.
- Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
- Found com.android.build.api.attributes.VariantAttr 'reactNative57_5Debug' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api'.
- Variant 'reactNative57_5DebugRuntimeElements':
- Required RNN.reactNativeVersion 'reactNative55' and found incompatible value 'reactNative57_5'.
- Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
- Found com.android.build.api.attributes.VariantAttr 'reactNative57_5Debug' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
- Variant 'reactNative57_5ReleaseApiElements':
- Required RNN.reactNativeVersion 'reactNative55' and found incompatible value 'reactNative57_5'.
- Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found incompatible value 'release'.
- Found com.android.build.api.attributes.VariantAttr 'reactNative57_5Release' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api'.
- Variant 'reactNative57_5ReleaseRuntimeElements':
- Required RNN.reactNativeVersion 'reactNative55' and found incompatible value 'reactNative57_5'.
- Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found incompatible value 'release'.
- Found com.android.build.api.attributes.VariantAttr 'reactNative57_5Release' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
Iдобавил эти дополнительные текстовые строки, потому что StackOverflow предупреждал меня, что ваше сообщение в основном кодовое, пожалуйста, игнорируйте это, мне очень жаль.