Page 1 of 1

BarcodeScanner missing resource - captureactivity.jar?

Posted: Mon Sep 24, 2012 8:02 pm
by David Moolenaar

I exported the Twitter search example to Android/Eclipse project. After importing I am getting an error about missing BarcodeScanner/bin/captureactivity.jar. I can build the BarcodeScanner module but not the Twitter search. Ideas on what I did wrong importing to Eclipse and/or how to locate the missing jar file?


BarcodeScanner missing resource - captureactivity.jar?

Posted: Mon Sep 24, 2012 8:17 pm
by David Moolenaar

So I updated my Eclipse (running Indigo on OSX) and restarted. Now the BarcodeScanner module in the Project tree is named CaptureActivity. The missing jar is in place however my Project (the standard Twitter Search) won't build now saying that AndroidManifest.xml is missing. The file is clearly there and I can edit the file in Eclipse. Ideas?


BarcodeScanner missing resource - captureactivity.jar?

Posted: Tue Sep 25, 2012 12:32 am
by maxkatz

Could you post the exact error message you are getting?


BarcodeScanner missing resource - captureactivity.jar?

Posted: Tue Sep 25, 2012 1:23 am
by David Moolenaar

Sure Max. I right click on the imported project, I called the project "Lists" but it's basically the Twitter Search application, and select "Run as Android Application" and I get a Popup that says "Your project contains error(s), please fix them before running your application". I click "Ok" on the dialog and it closes. In the Eclipse "problems" pane the error is shown and states "Errors (1 item)" and the next line says "AndroidManifest.xml file is missing.". That is the entireity of the error message. If I right click on my Lists project in Eclipse again and choose "Build Project" the error goes away as does the red x on the Lists project name in the Eclipse Project Explorer.


BarcodeScanner missing resource - captureactivity.jar?

Posted: Wed Sep 26, 2012 8:44 am
by Maryna Brodina

Hello! Please try to do it the next way:

New Android Project. In the Contents Tab in "New Android Project", select "Create project from existing source" and choose the Build Target. That should fix your problem.