瀏覽代碼

fix_4724: Fixes android crashes on startup (#5132)

Makhout Nabil 5 年之前
父節點
當前提交
ca288102d3
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4
    1
      playground/android/app/build.gradle

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

@@ -2,7 +2,10 @@ apply plugin: "com.android.application"
2 2
 
3 3
 project.ext.react = [
4 4
         root     : "../../../",
5
-        entryFile: "index.js"
5
+        entryFile: "index.js",
6
+        bundleAssetName: "index.android.bundle",
7
+        bundleInAlpha: true,
8
+        bundleInBeta: true
6 9
 ]
7 10
 
8 11
 apply from: "../../../node_modules/react-native/react.gradle"