Skip to content

View has no propType for native prop RCTView.aspectRatio ofnative type number #41

@banli17

Description

@banli17

hi, i react-native run-android, this is a error:

'View' has no propType for native prop 'RCTView.aspectRatio' of native type 'number' 
if you haven't changed this prop yourself, this usually means that your 
version of the native code and javascript code are out of sync。updating
 both should make this error go away。

my developement:

i use react-native-media-kit like git+https://github.com/ldn0x7dc/react-native-media-kit.git#pull/30/head 。to solve Failing to compile on Android RN 0.32 #27。and this error has resolved。

below is my code

<Video
	style={{width: 300, height: 300}}
	src={'http://58.216.103.102/youku/69738D4088E4983EA1FDB45FA7/03002001005874498203872D9B7D2F00C119C6-100D-5BCC-7192-AACAD7DB8210.mp4?sid=8484091068195870954c8_00&ctype=87'}
	autoplay={false}
	preload={'none'}
	loop={false}
	controls={true}
	muted={false}
	poster={'http://ww2.sinaimg.cn/mw690/005BjCpAgw1fbmc5n74dxj30bn0godhm.jpg'}
			/>

please help me , thank you very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions