This appear in AndroidManifest.xml to "LibraryProject"
<!-- versionCode is a monotonically increasing integer. I'm starting
it at 6 because v2.3 is the 6th
version to be published. The next versionCode will be 7, regardless of
whether the user-visible
versionName is 2.31, 2.4, or 3.0. -->
<manifest xmlns:android="
http://schemas.android.com/apk/res/android"
package="
com.google.zxing.client.android"
android:versionName="3.61 beta 1"
android:versionCode="71"
android:installLocation="auto">
<!-- We require Cupcake (Android 1.5) or later, but are really
targeting Donut. -->
<uses-sdk android:minSdkVersion="3"
<-----------------------------------------------------------------------------------
In my project I use 2.3.3 (10) if I put 10 it does not work
android:targetSdkVersion="4"/>
<!-- Donut-specific flags which allow us to run on any dpi screens.
-->
<supports-screens android:xlargeScreens="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>
PD: I put this in AndroidManifest to my project:
<!-- ZXing activities --> <activity
android:name="com.google.zxing.client.android.CaptureActivity"
android:screenOrientation="landscape"
android:configChanges="orientation|keyboardHidden"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:windowSoftInputMode="stateAlwaysHidden"> <intent-filter>
<action android:name="com.phonegap.plugins.barcodescanner.SCAN"/>
<category android:name="android.intent.category.DEFAULT"/> </intent-
filter> </activity> <activity
android:name="com.google.zxing.client.android.encode.EncodeActivity"
android:label="@string/share_name"> <intent-filter> <action
android:name="com.phonegap.plugins.barcodescanner.ENCODE"/> <category
android:name="android.intent.category.DEFAULT"/> </intent-filter> </
activity>