designrifts / Ultimate_Theme_UI_Template

The ultimate open source Android theme and icon pack template
125 stars 61 forks source link

R cannot be resolved #13

Open dhanu-saud opened 10 years ago

dhanu-saud commented 10 years ago

I imported both library alongwith silk library attached to Cards library. There was a problem "R cannot be resolved to a variable" which is now fixed after renaming some codes on card_menu_button.xml which were containg errors.

And there are still error at String str = card.getTitle(); which says "Type mismatch: cannot convert from CharSequence to String" .

Any ideas to resolve it?

Nicque commented 10 years ago

Did you try changing the Sdk Version Dai?

dhanu-saud commented 10 years ago

Yes Nicque & it should be API Level-17 in my opinion.

SorenHolm commented 10 years ago

Try changing ... card.getTitle(); ...to... card.getTitle().toString(); On 26 Jun 2014 08:25, "dhanu-saud" notifications@github.com wrote:

I imported both library alongwith silk library attached to Cards library. There was a problem "R cannot be resolved to a variable" which is now fixed after renaming some codes on card_menu_button.xml which were containg errors.

And there are still error at String str = card.getTitle(); which says "Type mismatch: cannot convert from CharSequence to String" .

Any ideas to resolve it?

— Reply to this email directly or view it on GitHub https://github.com/designrifts/Ultimate_Theme_UI_Template/issues/13.

thebentiq commented 10 years ago

Just download the older version of the CardsUI library. It will fix your problem then.

dhanu-saud commented 10 years ago

@benx9 thanks for the info but where can i download older version?

thebentiq commented 10 years ago

https://www.dropbox.com/s/bz1o2q2n4zzcoyt/Cards-UI-master.zip?dl=0

dhanu-saud commented 10 years ago

@benx9 thanks :) can you please share pageslidingtab also?

thebentiq commented 10 years ago

Download the 1.0 version https://github.com/astuetz/PagerSlidingTabStrip/releases

dhanu-saud commented 10 years ago

@benx9 thanks a lot. :)