Skip to content

Forced indexed ram-bunding is broken again for Android #25856

@noomorph

Description

@noomorph

The original issue (#21282) was solved by PR #24967 in commit 2b0e11c .

I indeed confirm it works for react-native@~0.59.9.

However, it does not work for 0.60.x — an app crashes in the very beginning.

adb logcat dump is attached here

React Native version:

System:
    OS: macOS 10.14.5
    CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
    Memory: 34.89 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.6.0 - ~/.nvm/versions/node/v12.6.0/bin/node
    npm: 6.9.0 - ~/.nvm/versions/node/v12.6.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
    Android SDK:
      API Levels: 25, 26, 27, 28
      Build Tools: 27.0.3, 28.0.3
      System Images: android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64
      Android NDK: 19.1.5304403
  IDEs:
    Android Studio: 3.2 AI-181.5540.7.32.5056338
    Xcode: 10.3/10G8 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.8.6 => 16.8.6 
    react-native: 0.60.4 => 0.60.4 
  npmGlobalPackages:
    react-native-cli: 2.0.1

Steps To Reproduce

  1. Get an Android emulator running (for example, I was using a standard AVD, Nexus_5X_API_28 for x86_64)
  2. git clone git@github.com:noomorph/IndexedRamBundleBug_60_4.git
  3. cd IndexedRamBundleBug_60_4
  4. npm install
  5. cd android
  6. ./gradlew installRelease
  7. Run the app.

Describe what you expected to happen:

App should run without crashes, like it used to in RN 0.59.9 and later.

Snack, code example, screenshot, or link to a repository: https://github.com/noomorph/IndexedRamBundleBug_60_4


Kind regards,
Yaroslav.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPlatform: AndroidAndroid applications.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions