shijingsh / react-native-customized-image-picker

iOS/Android image picker with support for camera, video compression, multiple images and cropping
245 stars 59 forks source link

Cant run example in Android #5

Closed hungdev closed 7 years ago

hungdev commented 7 years ago

the issue in below image: er

 Could not resolve all dependencies for configuration ':app:_debugApk'.
   > A problem occurred configuring project ':react-native-customized-image-picker'.
      > Could not resolve all dependencies for configuration ':react-native-customized-image-picker:_debugPublishCopy'.
         > Could not find com.mg.RxCustomizedImagePicker:library:0.0.3.
           Required by:
               example:react-native-customized-image-picker:unspecified

can you help me solve the issue?

liukefu2050 commented 7 years ago

RxCustomizedImagePicker native library has not been released due to Jcenter.

hungdev commented 7 years ago

@liukefu2050 could you tell me how do i solve that?

liukefu2050 commented 7 years ago

I will upload it later ,now you can use the version of "0.0.22"。 but the language displayed is not English

hungdev commented 7 years ago

thank for reply, but you mean version react native 0.0.22? and when do you upload?

liukefu2050 commented 7 years ago

"react-native-customized-image-picker": "^0.0.22",

hungdev commented 7 years ago

@liukefu2050 when do you update english version ?

liukefu2050 commented 7 years ago

Already submitted,Jcenter needs to be reviewed ,maybe two or three days

liukefu2050 commented 7 years ago

fixed it! Please try again

hungdev commented 7 years ago

@liukefu2050 , i run version 0.0.23 it says errer like image below: 0 23

And with version 0.0.22, it says error: 22v1

err i try more time, it always error like image. But old version ran fine

liukefu2050 commented 7 years ago

I'm not sure,Delete the directory "projectRoot\node_modules\react-native-customized-image-picker"

npm i react-native-customized-image-picker --save react-native link react-native-customized-image-picker

dependencies in my package.json "dependencies": { "react": "15.3.1", "react-native": "^0.36.1", }

If there is still a problem, I will modify demo later, you refer to demo

hungdev commented 7 years ago

It run ok with dependencies in package.json "dependencies": { "react": "15.3.1", "react-native": "^0.36.1", }

But with newest version: "react": "~15.4.0", "react-native": "0.41.2", it run error: ne

please fix it on dependencies "react": "~15.4.0", "react-native": "0.41.2",

liukefu2050 commented 7 years ago

error with "could not get BatchedBridge"?

hungdev commented 7 years ago

I had to run again but it always says that issue. look lauchPackager screen , it is not normal. it is C:\Users\ManIc\Desktop\New folder\NNN\node_modules\react-native\packager> let me try again

liukefu2050 commented 7 years ago

checklist 1.the example under react-native-customized-image-picker is incorrect,don't use it, first image 2.Check whether you have write access on both the directories. if you are on Windows OS, also try to run it as Administrator ,or Best not on C system disk for "failed to create directory" error.image 2 and 3 3.delete the directory "projectRoot\node_modules\react-native-customized-image-picker" and reinstall

4.with newest version ,i will try later

hungdev commented 7 years ago

ok it run fine. thank you so much. You are kindhearted and enthusiastic.

hungdev commented 7 years ago

oh, sorry to bother you, but it not all english. i hope you fix full error for best library. china china2

liukefu2050 commented 7 years ago

ok ,next version fixes it

liukefu2050 commented 7 years ago

new version 0.0.24

ducpt2 commented 6 years ago

+1 I'm using "react-native-customized-image-picker": "0.0.33", same issue like @hungdev. Two tag not work is: //[string name="gallery_image_selected"]Selected[/string] //[string name="gallery_image_unit"]pictures[/string] Sorry i replace < with [ to show. Any suggestion @hungdev ? Thanks.