瀏覽代碼

Fix react native version in android build.gradel file

Bentaimia Haddadi 5 年之前
父節點
當前提交
43bca48d66
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      android/build.gradle

+ 1
- 1
android/build.gradle 查看文件

@@ -47,5 +47,5 @@ repositories {
47 47
 
48 48
 dependencies {
49 49
     implementation "com.android.support:support-v4:${safeExtGet('supportLibVersion', '27.+')}"
50
-    api 'com.facebook.react:react-native:+'
50
+    api "com.facebook.react:react-native:${rootProject.ext.reactNative}"
51 51
 }