• React native version mismatch, почему?

    @becauseican Автор вопроса
    Димка Реактнативный, получилось. Невероятно.
  • React native version mismatch, почему?

    @becauseican Автор вопроса
    Димка Реактнативный, хорошо, я начал использовать react-native-cli, но пока что не совсем все понимаю, гугление для меня бесполезно. Что в такой ситуации обычно делают?

    ошибка
    error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getti... Run CLI with --verbose flag for more details.
    Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

    FAILURE: Build failed with an exception.

    * What went wrong:
    Could not determine the dependencies of task ':unimodules-react-native-adapter:compileDebugAidl'.
    > Could not resolve all task dependencies for configuration ':unimodules-react-native-adapter:debugCompileClasspath'.
    > Could not resolve androidx.core:core:1.0.0.
    Required by:
    project :unimodules-react-native-adapter
    > Cannot find a version of 'androidx.core:core' that satisfies the version constraints:
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.core:core:1.0.0'
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.facebook.react:react-native:0.61.5' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.core:core:1.0.1'
    ...


    > Could not resolve androidx.vectordrawable:vectordrawable:1.0.0.
    Required by:
    project :unimodules-react-native-adapter
    > Cannot find a version of 'androidx.vectordrawable:vectordrawable' that satisfies the version constraints:
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.vectordrawable:vectordrawable-animated:1.0.0' --> 'androidx.vectordrawable:vectordrawable:1.0.0'

    ...
    > Could not resolve androidx.core:core:1.0.0.
    Required by:
    project :unimodules-react-native-adapter > androidx.fragment:fragment:1.0.0
    project :unimodules-react-native-adapter > androidx.legacy:legacy-support-core-ui:1.0.0
    project :unimodules-react-native-adapter > androidx.legacy:legacy-support-core-utils:1.0.0
    project :unimodules-react-native-adapter > androidx.loader:loader:1.0.0
    project :unimodules-react-native-adapter > androidx.vectordrawable:vectordrawable:1.0.1
    project :unimodules-react-native-adapter > androidx.customview:customview:1.0.0
    project :unimodules-react-native-adapter > androidx.viewpager:viewpager:1.0.0
    project :unimodules-react-native-adapter > androidx.coordinatorlayout:coordinatorlayout:1.0.0
    project :unimodules-react-native-adapter > androidx.drawerlayout:drawerlayout:1.0.0
    project :unimodules-react-native-adapter > androidx.slidingpanelayout:slidingpanelayout:1.0.0
    project :unimodules-react-native-adapter > androidx.swiperefreshlayout:swiperefreshlayout:1.0.0
    project :unimodules-react-native-adapter > androidx.asynclayoutinflater:asynclayoutinflater:1.0.0
    > Cannot find a version of 'androidx.core:core' that satisfies the version constraints:
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.core:core:1.0.0'
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.facebook.react:react-native:0.61.5' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.core:core:1.0.1'
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.core:core:1.0.0'
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.core:core:1.0.0'
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.core:core:1.0.0'
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.vectordrawable:vectordrawable-animated:1.0.0' --> 'androidx.vectordrawable:vectordrawable:1.0.1' --> 'androidx.core:core:1.0.0'
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.facebook.react:react-native:0.61.5' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.core:core:1.0.0'
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.customview:customview:1.0.0' --> 'androidx.core:core:1.0.0'
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.core:core:1.0.0'
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.coordinatorlayout:coordinatorlayout:1.0.0' --> 'androidx.core:core:1.0.0'
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.drawerlayout:drawerlayout:1.0.0' --> 'androidx.core:core:1.0.0'
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.slidingpanelayout:slidingpanelayout:1.0.0' --> 'androidx.core:core:1.0.0'
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' --> 'androidx.core:core:1.0.0'
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.asynclayoutinflater:asynclayoutinflater:1.0.0' --> 'androidx.core:core:1.0.0'
    Constraint path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'androidx.core:core' strictly '1.0.0' because of the following reason: debugRuntimeClasspath uses version 1.0.0
    Constraint path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'androidx.core:core' strictly '1.0.0' because of the following reason: debugRuntimeClasspath uses version 1.0.0
    Constraint path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'androidx.core:core' strictly '1.0.0' because of the following reason: debugRuntimeClasspath uses version 1.0.0

    > Could not resolve androidx.vectordrawable:vectordrawable:1.0.0.
    Required by:
    project :unimodules-react-native-adapter > androidx.vectordrawable:vectordrawable-animated:1.0.0
    > Cannot find a version of 'androidx.vectordrawable:vectordrawable' that satisfies the version constraints:
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.vectordrawable:vectordrawable-animated:1.0.0' --> 'androidx.vectordrawable:vectordrawable:1.0.0'
    ...
    > Could not resolve androidx.core:core:1.0.1.
    Required by:
    project :unimodules-react-native-adapter > com.facebook.react:react-native:0.61.5 > androidx.appcompat:appcompat:1.0.2
    > Cannot find a version of 'androidx.core:core' that satisfies the version constraints:
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.github.bumptech.glide:glide:4.9.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.core:core:1.0.0'
    Dependency path 'org.unimodules:unimodules-react-native-adapter:4.0.0' --> 'com.facebook.react:react-native:0.61.5' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.core:core:1.0.1'
    ...и другие похожие проблемы с зависимостями
    * 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.
    * Get more help at https://help.gradle.org
    BUILD FAILED in 30s
  • React native version mismatch, почему?

    @becauseican Автор вопроса
    Димка Реактнативный, могу, конечно, но поврежу node_modules и билды. Да и поздно уже делать пул.
  • React native version mismatch, почему?

    @becauseican Автор вопроса
    Димка Реактнативный, окей, я поначалу тоже с react cli хотел, но проблема была в том, что при попытке запустить приложение, проект виснул на создании bundlerа. Решением было реинсталяция watchmana, которая не дала результатов. Менять код в дефолтных jsках - для ньюфага вещь страшная. К тому же, я ушел слишком далеко, и боюсь многое потерять. Что мне делать сейчас? (Inb4: гуглить решение или создавать новый вопрос)
  • React native version mismatch, почему?

    @becauseican Автор вопроса
    Димка Реактнативный, но будут. expoвские, по мне, разрешить легче
  • React native version mismatch, почему?

    @becauseican Автор вопроса
    Зачем?
  • Не могу установить React Native expo как решить проблему?

    @becauseican
    Сергей Васенин, какие конфликты? Ничего по идее быть не должно такого опасного. Ставь yarnом
  • Поддерживает ли react шаблонизатор django?

    @becauseican Автор вопроса
    В теории да

    Каким образом?
    на практике - бессмысленное желание

    Почему же?