[mono-android] "Packaging Failed" after upgrading to 4.0.1
Builder
peter.gejgus at gmail.com
Fri Jan 13 10:56:52 UTC 2012
Hello,
I have the existing application which was developed with M4A 1.2.0. I
upgraded M4A to 4.0.1. But now I get "Packaging failed" error when building
the application. The problem is in the embedded java source files (ZXing
library) in my solution. Errors in Output windows look that:
C:\Program Files (x86)\Java\jdk1.6.0_27\bin\javac.exe -d
obj\Debug\android\bin\classes -classpath "C:\Program Files (x86)\Reference
Assemblies\Microsoft\Framework\MonoAndroid\v2.2\mono.android.jar"
-bootclasspath C:\Android_SDK\platforms\android-8\android.jar -encoding
UTF-8 "@C:\Users\gep\AppData\Local\Temp\tmp149C.tmp"
ZXing\CaptureActivity.java(19,24): javac error : package com.google.zxing
does not exist [D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivity.java(19,24): javac error : import
com.google.zxing.BarcodeFormat; [D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivity.java(19,24): javac error :
[D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivity.java(20,24): javac error : package com.google.zxing
does not exist [D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivity.java(20,24): javac error : import
com.google.zxing.Result; [D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivity.java(20,24): javac error :
[D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivity.java(21,24): javac error : package com.google.zxing
does not exist [D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivity.java(21,24): javac error : import
com.google.zxing.ResultPoint; [D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivity.java(21,24): javac error :
[D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivityHandler.java(20,24): javac error : package
com.google.zxing does not exist [D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivityHandler.java(20,24): javac error : import
com.google.zxing.BarcodeFormat; [D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivityHandler.java(20,24): javac error :
[D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivityHandler.java(21,24): javac error : package
com.google.zxing does not exist [D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivityHandler.java(21,24): javac error : import
com.google.zxing.Result; [D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivityHandler.java(21,24): javac error :
[D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\ViewfinderView.java(19,24): javac error : package com.google.zxing
does not exist [D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\ViewfinderView.java(19,24): javac error : import
com.google.zxing.ResultPoint; [D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\ViewfinderView.java(19,24): javac error :
[D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivity.java(84,11): javac error : cannot find symbol
[D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivity.java(84,11): javac error : symbol : class Result
[D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivity.java(84,11): javac error : location: class
tvd.tvd.CaptureActivity [D:\TVD\MonoDroid\TVD\TVD.csproj]
ZXing\CaptureActivity.java(84,11): javac error : private Result
lastResult; [D:\TVD\MonoDroid\TVD\TVD.csproj]
...
It worked ok in M4A 1.2.0, I embedded ZXing to my app according to hint at
http://mono-for-android.1047100.n5.nabble.com/zxing-for-android-td4370723.html#a4376723
. Cau you help me with this packaging issue, please?
Best Regards,
Peter
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Packaging-Failed-after-upgrading-to-4-0-1-tp5142301p5142301.html
Sent from the Mono for Android mailing list archive at Nabble.com.
More information about the Monodroid
mailing list