“cara menjalankan proyek asli react cloned” Kode Jawaban

cara menjalankan proyek asli react cloned

git checkout -d release/my-react-native-release
docker run --rm --name rn-build -v $PWD:/pwd -w /pwd reactnativecommunity/react-native-android /bin/sh -c "./gradlew installArchives"
git add android --force
git commit -a -m 'my react native forked release'
git push
Sore Swiftlet

cara menjalankan proyek asli react cloned

...
    dependencies {
        classpath 'com.android.tools.build:gradle:3.4.2'
        classpath 'de.undercouch:gradle-download-task:4.0.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
...
Sore Swiftlet

cara menjalankan proyek asli react cloned

allprojects {
    repositories { ... }

    configurations.all {
        resolutionStrategy {
            dependencySubstitution {
                substitute module("com.facebook.react:react-native:+") with project(":ReactAndroid")
            }
        }
    }
}
Sore Swiftlet

cara menjalankan proyek asli react cloned

"dependencies": {
    ...
    "react-native": "myName/react-native#release/my-react-native-release"
}
Sore Swiftlet

cara menjalankan proyek asli react cloned

sdk.dir=/Users/your_unix_name/android-sdk-macosx
ndk.dir=/Users/your_unix_name/android-ndk/android-ndk-r17c
Sore Swiftlet

Jawaban yang mirip dengan “cara menjalankan proyek asli react cloned”

Pertanyaan yang mirip dengan “cara menjalankan proyek asli react cloned”

Lebih banyak jawaban terkait untuk “cara menjalankan proyek asli react cloned” di JavaScript

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya