How to use Eclipse 3.4 to do Zxing/Android development

1,619 views
Skip to first unread message

skyred

unread,
Feb 22, 2009, 7:50:51 PM2/22/09
to zxing
There have been a few threads talking about the "import" errors in
Eclipse when people try to open zxing/core and zxing/android in
Eclipse 3.4

Solution: copy zxing\core\src\ to zxing\android\

The errors are path/name space problem.

skyred
insready.com

Sean Owen

unread,
Feb 22, 2009, 8:22:55 PM2/22/09
to zxing
Can't you tell Eclipse where the source root is in the project...
surely it doesn't expect the project root to be the source root?

skyred

unread,
Feb 23, 2009, 10:34:07 AM2/23/09
to zxing
Yes, I just didn't play hard enough to find the link option

So the updated solution:
1. Go to your CaptureActivity Properties (Alt + Enter)
2. Jave Build Path
3. Source Tab => Link Source
4. Put your ......zxing/core/src into the location
5. Give a different folder name (link), because the default src name
already exists.

Then all the errors are gone!

NicolasB

unread,
Mar 20, 2009, 1:43:24 PM3/20/09
to zxing
Thank you so much
Nicolas

On 23 fév, 16:34, skyred <sky...@gmail.com> wrote:
> Yes, I just didn't play hard enough to find the link option
>
> So the updated solution:
> 1. Go to your CaptureActivity Properties (Alt + Enter)
> 2. Jave Build Path
> 3. Source Tab => Link Source
> 4. Put your ......zxing/core/src into the location
> 5. Give a different folder name (link), because the default src name
> already exists.
>
> Then all the errors are gone!
>
> On Feb 22, 8:22 pm, Sean Owen <sro...@gmail.com> wrote:
>
> > Can't you tellEclipsewhere the source root is in the project...
> > surely it doesn't expect the project root to be the source root?
>
> > On Feb 23, 12:50 am, skyred <sky...@gmail.com> wrote:
>
> > > There have been a few threads talking about the "import" errors in
> > >Eclipsewhen people try to open zxing/core and zxing/android in
Reply all
Reply to author
Forward
0 new messages