Skip to content

Commit 4a1b48b

Browse files
committed
reproduce bundle.index missing in release apk
1 parent 80ba0bd commit 4a1b48b

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

android/app/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ import com.android.build.OutputFile
7878
*/
7979

8080
project.ext.react = [
81-
enableHermes: false
81+
enableHermes: true,
82+
nodeExecutableAndArgs: ["node", "--max-old-space-size=8192"],
8283
]
8384

8485
apply from: '../../node_modules/react-native-unimodules/gradle.groovy'
@@ -161,7 +162,7 @@ android {
161162
// Caution! In production, you need to generate your own keystore file.
162163
// see https://reactnative.dev/docs/signed-apk-android.
163164
signingConfig signingConfigs.debug
164-
minifyEnabled enableProguardInReleaseBuilds
165+
minifyEnabled false
165166
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
166167
}
167168
}

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buildscript {
1212
jcenter()
1313
}
1414
dependencies {
15-
classpath("com.android.tools.build:gradle:3.5.3")
15+
classpath("com.android.tools.build:gradle:4.1.0")
1616

1717
// NOTE: Do not place your application dependencies here; they belong
1818
// in the individual module build.gradle files
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)