question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[0.57][ANDROID] Signed release do not show local assets images.

See original GitHub issue

Environment

System
  React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
      Memory: 422.77 MB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.11.0 - /usr/local/bin/node
      Yarn: 1.9.4 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
      Android SDK:
        Build Tools: 23.0.1, 26.0.3, 27.0.0, 27.0.3, 28.0.2
        API Levels: 23, 26, 27, 28
    IDEs:
      Android Studio: 3.1 AI-173.4907809
      Xcode: 10.0/10A255 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.5.0 => 16.5.0
      react-native: 0.57.1 => 0.57.1
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-rename: 2.2.2

Description

Debug is all alright. After build release apk version can’t see local images. Tried the #20358 workaround but get this error: image on al my resources of all my images. Any ideas? Maybe could be the bundle?

Reproducible Demo

Just release build android signed release. Gradle 4.4.1

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:19
  • Comments:39 (1 by maintainers)

github_iconTop GitHub Comments

13reactions
xempiecommented, May 11, 2019

I have the same issue for more than 2 years! why nobody can find a solution!!!? none of the provided solutions is working permanently! react native 0.59.6 gradle 4.4 android 27,28 none working

13reactions
hariegnifycommented, Apr 23, 2019

I am using the 0.59 version but I am still facing this issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native Error: Duplicate resources, assets coming in ...
When removing the assets from my drawable folders, the app builds. But while running the release APK, some of the images are not...
Read more >
Turn off debug menu on React Native Android apk Release ...
[Solved]-Turn off debug menu on React Native Android apk Release-React Native ... android/app/src/main/assets/index.android.bundle --assets-dest ...
Read more >
null is not an object react native date picker - You.com | The AI ...
Github Issues. Sign in · What went wrong: Failed to create directory 'C:\D\code\js\empsapp\nodemodules\react-native-date-picker \android\build\intermediates\ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found