ManojNimbalkar / bitcoin-wallet

Automatically exported from code.google.com/p/bitcoin-wallet
0 stars 0 forks source link

Update to zxing 2.2 #196

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi:
   I try to build bitcoin-wallet 3.11 for android, but got a error "The method renderCroppedGreyscaleBitmap() is undefined for the type PlanarYUVLuminanceSource"
  How to fix it.

thanks

Original issue reported on code.google.com by bord...@gmail.com on 5 Jul 2013 at 3:23

GoogleCodeExporter commented 9 years ago
Description Resource    Path    Location    Type
The method renderCroppedGreyscaleBitmap() is undefined for the type 
PlanarYUVLuminanceSource    ScanActivity.java   /WalletActivity/src/de/schildbach/wal
let/ui  line 306    Java Problem

Original comment by bord...@gmail.com on 5 Jul 2013 at 3:34

GoogleCodeExporter commented 9 years ago
How are you trying to build? Have you tried with using Maven first? (mvn clean 
install)

Original comment by andreas....@gmail.com on 5 Jul 2013 at 7:30

GoogleCodeExporter commented 9 years ago
using "mvn clean install" is work fine. but got a error in eclipse.
It's because bitcoin-wallet  dependent on zxing 2.1, but I using the lasting 
version 2.2.
zxing 2.2 remove the method renderCroppedGreyscaleBitmap in 
com.google.zxing.PlanarYUVLuminanceSource.java

I change zxing from 2.2 to 2.1, it's work fine in eclipse.

thanks

Original comment by bord...@gmail.com on 5 Jul 2013 at 10:36

GoogleCodeExporter commented 9 years ago
I will take look at updating to zxing 2.2 and find an alternative to the 
removed API call.

Original comment by andreas....@gmail.com on 5 Jul 2013 at 5:52

GoogleCodeExporter commented 9 years ago
Fixed with 3.12.

Original comment by andreas....@gmail.com on 7 Jul 2013 at 9:35