newsof1111 / cordova-plugin-video-picture-preview-picker-V2

MIT License
19 stars 10 forks source link

problem with ionic cordova add #7

Open abdelp opened 6 years ago

abdelp commented 6 years ago

not working with ionic 3 when android platform already exists, the errors: \platforms\android\app\src\main\res\values\colors.xml" already exists! \platforms\android\app\src\main\res\layout\actionbar_discard_button.xml" already exists! \platforms\android\app\src\main\res\layout\actionbar_done_button.xml" already exists! ENOENT: no such file or directory, open 'D:\Users\MyUser\Documents\Ionic projects\Desarrollo\observauto\platforms\android\AndroidManifest.xml'

and when remove and re add the platform the variable is undefined with the declaration especified to ionic 2+

silverbeauty commented 5 years ago

same issue

ghost commented 4 years ago

The solution to the problem you are experiencing is very simple

/platforms/android/app/src/main/res/values/colors.xml

Step 1

Go to this directory folder and delete color.xml

Step 2

re-install without removing anything


phonegap plugin add https://github.com/newsof1111/cordova-plugin-video-picture-preview-picker-V2.git

cordova plugin add https://github.com/newsof1111/cordova-plugin-video-picture-preview-picker-V2.git



**Problem solved.**
I don't know if he found a solution. I hope it is useful.

@silverbeauty @abdelp