how to make zxing's source code can be debug in android studio?

63 visualizações
Pular para a primeira mensagem não lida

Lu Luo

não lida,
31 de mai. de 2017, 02:17:1931/05/2017
para zxing
Like my attachments picture, it can not be debugged if we import ZXing jar file.
QQ截图20170531141107.png

Zorawar B.

não lida,
31 de mai. de 2017, 09:07:2931/05/2017
para zxing
On Wednesday, May 31, 2017 at 2:17:19 AM UTC-4, Lu Luo wrote:
> Like my attachments picture, it can not be debugged if we import ZXing jar file.

You would just need to get the sources and then attach it in the IDE.
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.google.zxing%22%20AND%20a%3A%22core%22

Hope that is what you wanted to do.


Regards,
Zorawar

Lu Luo

não lida,
31 de mai. de 2017, 21:51:1131/05/2017
para zxing
> Do you mean that I should add the core-3.3.0-source.jar file?That does not work.
> Regards,
> Zorawar

QQ截图20170601094550.png

Lu Luo

não lida,
31 de mai. de 2017, 22:13:4831/05/2017
para zxing
在 2017年6月1日星期四 UTC+8上午9:51:11,Lu Luo写道:
I'm so sorry,it works now!
Q2.png

Sean Owen

não lida,
4 de jun. de 2017, 10:37:5304/06/2017
para zxing
If you need the source, it's much more direct to get it from Github:

But really, you need to declare a dependency on the library artifact you want using Maven. Then the IDE just downloads source for you.

This isn't the right way to do it.

Lu Luo

não lida,
5 de jun. de 2017, 22:33:5105/06/2017
para zxing
在 2017年6月4日星期日 UTC+8下午10:37:53,Sean Owen写道:
Thank you ,Sean Owen, my jar file is indeed downloaded from the ZXing official website,
Responder a todos
Responder ao autor
Encaminhar
0 nova mensagem