Eclipse can't find Theme.Sherlock

31 views
Skip to first unread message

Paul Crowley

unread,
May 11, 2014, 11:52:48 AM5/11/14
to tag...@googlegroups.com
I'm trying to build TagTime for Android.

I've downloaded the TagTime sources, as well as sources for ActionBarSherlock and Beedroid. I've imported them as projects in Eclipse, and added the latter two as depenedencies of the first. However, it complains about the references to "@style/Theme.Sherlock" in AndroidManifest.xml:

error: Error: No resource found that matches the given name (at 'theme' with value '@style/Theme.Sherlock'). AndroidManifest.xml /TagTime line 18

Now I think the resource that matches that name is somewhere in ActionBarSherlock, but what do I need to do to point one at the other?

And oh, I wish the Android word were Mavenized!

Thanks!

Uluc Saranli

unread,
May 13, 2014, 2:19:45 AM5/13/14
to tag...@googlegroups.com


Did you add a reference to the ActionBarSherlock project from Project Settings->Android in TagTime? I think that might be one possible reason.

It seems like my updates made TagTime a bit more difficult to compile. Sorry about that.

- Uluc

Paul Crowley

unread,
May 14, 2014, 4:27:37 PM5/14/14
to tag...@googlegroups.com


On Tuesday, 13 May 2014 07:19:45 UTC+1, Uluc Saranli wrote:
Did you add a reference to the ActionBarSherlock project from Project Settings->Android in TagTime? I think that might be one possible reason.

This turns out to be the problem - it has a hardwired idea of where to expect to find ActionBarSherlock that wasn't related to the build path.  To fix it:

- right click on the project
- Select Properties > Android
- remove the broken reference
- press "Add" and it should automatically prompt you with a non-broken reference.

Thanks!
Reply all
Reply to author
Forward
0 new messages