divyanshu arora V2R
divyanshu arora V2R

Reputation: 11

Samsung Galaxy S24 not working for react native Android app

React Native Android application is not working in Samsung Galaxy S24 and A55 after installing from Play Store. The app freezes on the default launcher screen.

I found the solution of making the app 64-bit compatible but it is already compatible.

Here is my Gradle file:

splits {
    abi {
        reset()
        enable enableSeparateBuildPerCPUArchitecture
        universalApk false // If true, also generate a universal APK
        include “armeabi-v7a”, “x86”, “arm64-v8a”, “x86_64”
    }
}

Even when I extracted the APK file, I found all 4 folders in the lib folder.

Upvotes: 0

Views: 766

Answers (2)

Katharsin
Katharsin

Reputation: 309

We had the same problem. Our solution was to upgrade the react-native version of our project to the latest version.

Upvotes: 0

Michael Ribbons
Michael Ribbons

Reputation: 2005

Things to try, possibly obvious but not assuming anything:

  1. Is the app working on other 64 bit devices?
  2. Does arm64-v8a contain all expected .so files?
  3. Run logcat > app.log, then launch the app. Stop log cat. Locate the app's bundle id in the output, determine the PID of the process. Filter app.log by the PID. Look for any exception/stack trace information.
  4. Does the app connect to an api on startup? Connectivity or misconfiguration be causing the hang.
  5. You haven't said whether you are the author of the app. Assuming you are, compare the logcat output in dev and production to find any differences.
  6. Try running a production build locally on the device.

Not an answer, but a few avenues of investigation to get you started.

Upvotes: 0

Related Questions