PDF417 / pdf417-phonegap

PDF417 and QR code scanning plugins for PhoneGap/Cordova framework
47 stars 21 forks source link

CLI adding android #24

Closed firescout closed 8 years ago

firescout commented 8 years ago

When i run ionic plugin add /Downloads/pdf417-phonegap-master/Pdf417 It throws a error Error: Uh oh! "/plugins/mobi.pdf417.Pdf417Scanner/src/android/pdf417-android/Pdf417MobiDemo/pdf417MobiDemo/src/main/res/raw/beep.mp3" not found!

The downloaded folder doesn't have a beep.mp3

Anyone have some on this?

DoDoENT commented 8 years ago

Have you initialised submodules after cloning?

firescout commented 8 years ago

i did not clone. downloaded as zip. when i run git clone git@github.com:PDF417/pdf417-phonegap.git It shows the following Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

DoDoENT commented 8 years ago

This error indicates that you have set wrong SSH key for your GitHub account. More info here: https://help.github.com/articles/error-permission-denied-publickey/

firescout commented 8 years ago

ok ive cloned it now thanks. when i run submodule commands i get the following

INIT git submodule init zSubmodule 'Pdf417/src/android/pdf417-android' (https://github.com/PDF417/pdf417-android.git) registered for path 'Pdf417/src/android/pdf417-android'`

UPDATE Cloning into 'Pdf417/src/android/pdf417-android'... remote: Counting objects: 6998, done. remote: Compressing objects: 100% (28/28), done. error: RPC failed; result=56, HTTP code = 200B | 257.00 KiB/s fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed Clone of 'https://github.com/PDF417/pdf417-android.git' into submodule path 'Pdf417/src/android/pdf417-android' failed

DoDoENT commented 8 years ago

fatal: The remote end hung up unexpectedly

This indicates a connection glitch between you and GitHub. I've just tried cloning both phonegap repo and its submodules and everything worked correctly.

firescout commented 8 years ago

thank you DoDoENT for the assistance