React-native-slider: Missing thumbImage after assembleRelease

Created on 24 Oct 2019  路  5Comments  路  Source: callstack/react-native-slider

Environment

System:
    OS: Windows 10
    CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
    Memory: 7.29 GB / 19.89 GB
  Binaries:
    Node: 10.14.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.13.0 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.10.2 - ~\AppData\Roaming\npm\npm.CMD
    Watchman: 4.9.4 - G:\Users\ASUS\watchman\watchman.EXE
  SDKs:
    Android SDK:
      API Levels: 23, 25, 26, 27, 28, 29
      Build Tools: 17.0.0, 18.0.1, 18.1.0, 18.1.1, 19.0.0, 19.0.1, 19.0.2, 19.0.3, 19.1.0, 20.0.0, 21.0.0, 21.0.1, 21.0.2, 21.1.0, 21.1.1, 22.0.1, 23.0.1, 23.0.2, 23.0.3, 24.0.1, 24.0.2, 25.0.0, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.1, 27.0.2, 27.0.3, 28.0.2, 28.0.3, 29.0.1
      System Images: android-19 | Intel x86 Atom, android-25 | Google APIs Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-26 | Google APIs Intel x86 Atom_64, android-26 | Google Play Intel x86 Atom
      Android NDK: 20.0.5594570
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.2 => 0.61.2

Description

Missing thumbImage after assembleRelease in Android

Reproducible Demo

import Slider from '@react-native-community/slider';

<Slider style={styles.commonSlider}
                    maximumTrackTintColor={'#999999'}
                    minimumTrackTintColor={'#00c06d'}
                    thumbImage={require('./../../image/icon_control_slider.png')}
                    minimumValue={100}
                    maximumValue={this.state.maxWidth}
                    step={1}
                    value={this.state.textWidth}
                    onValueChange={this._onWidthChange}/>

const styles = StyleSheet.create({
    commonSlider: {flex: 1},
})

in dev
avatar

after assembleRelease
avatar

bug report

Most helpful comment

The problem still exists in 2.0.3

All 5 comments

i have the same problem . More infomation, i checked logcat android in release mode throw the error java.net.MalformedURLException: no protocol

The problem still exists in 2.0.3

has anyone found a solution to this issue?

This is urgent, I hope someone can solve this problem.

Can someone help me, which affects my app release馃槶馃槶馃槶

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bahmanian picture bahmanian  路  7Comments

ralph-dev picture ralph-dev  路  10Comments

kimsean picture kimsean  路  9Comments

lolcookie picture lolcookie  路  7Comments

HasanAlyazidi picture HasanAlyazidi  路  3Comments