I'm followed this IBM Worklight article instructions - link.
On Eclipse - when I try to run BarcodeScannerSampleBarcodeScannerSampleAppAndroid -
I get message box with title - "Android Launch"
, that says:"Your projects contains error".
At Markers window I get this Error:
The container 'Android Dependencies' references non existing library 'D:\Users\MyUser\workspaceNew\CaptureActivity\bin\captureactivity.jar' BarcodeScannerSampleBarcodeScannerSampleAppAndroid Build path Build Path Problem
Directory - "D:\Users\MyUser\workspaceNew\CaptureActivity\bin\"
doesn't contains "captureactivity.jar"
file.
Any idea? Thanks!
Looks like you missed one step.
And make sure you configured the config.xml and AndroidManifest.xml properly.
You can find the file here: https://github.com/phonegap-build/BarcodeScanner/
Make sure you follow the instructions in the blog post to the letter.
It sounds like you did not follow the last step, which says to:
Fuller steps:
Then you need to continue with creating the Worklight project. It's two different projects.
Next you need to configure AndroidManifest.xml and config.xml in the same location (your-app\android\native).
In both the CaptureActivity AndroidManifest.xml and the Worklight project AndroidManifest.xml I've set the minSdkVersion to 19, which I have installed.
Now,
Make sure to not select the "Is library" checkbox.
Yaniv thanks.
The problem was in CaptureActivity library.
After importing "Existing Android Code Into Workspace", I should BUILD the project library.
Then it create a directory -
"D:\Users\MyUser\workspaceNew\CaptureActivity\bin\"
with"captureactivity.jar"
file in it.Thanks!