This is a migrated thread and some comments may be shown as answers.

[Solved] Cannot get Chart functionality to integrate in Android Studio

9 Answers 126 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ray
Top achievements
Rank 1
ray asked on 16 Dec 2016, 06:50 AM

I keep getting this style error each time i try to compile the project with the chart.aar file

Error:(2602, 21) No resource found that matches the given name: attr 'fillColor'.
Error:(2614, 21) No resource found that matches the given name: attr 'fillColor'.
Error:(2615, 21) No resource found that matches the given name: attr 'strokeColor'.
Error:(2621, 21) No resource found that matches the given name: attr 'strokeColor'.
Error:(2625, 21) No resource found that matches the given name: attr 'fillColor'.

i always keep getting this error regardless of putting in 'Primitive.aar' file in the project as per previous solution I had found.

I've updated the min sdk to even 21 in gradle and in the manifest to no avail. 

9 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 19 Dec 2016, 08:18 AM
Hello Ray,

Thanks for writing.

We cannot reproduce the behavior that you describe. Can you ZIP your project and send it to us for further investigation? You will need to open a new support ticket to be able to attach the archive.

Thanks for your time!

Regards,
Deyan
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
ray
Top achievements
Rank 1
answered on 19 Dec 2016, 06:09 PM

I can't zip up the project because it contains proprietary information. Is there any other information i can provide that might

help?

0
Deyan
Telerik team
answered on 20 Dec 2016, 09:47 AM
Hello Ray,

Can you try creating a separate project, adding the Telerik binaries and reproducing the issue in it?

We are actively using our binaries in different projects and do not experience such problems so I guess it might be something specific to your setup.

Which API Level are you targeting?
Which Telerik binaries are you referencing?

Regards,
Deyan
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
ray
Top achievements
Rank 1
answered on 26 Jan 2017, 11:37 PM

I've added a sample project to test for compilation and it still does not compile

https://www.dropbox.com/s/0g15tq6gdac8y6m/testsub.rar?dl=0

0
Deyan
Telerik team
answered on 30 Jan 2017, 03:13 PM
Hi,

The reason for your project not compiling is that you are targeting API Level 25 and there are resources in Telerik UI for Android which are API Level 23 compatible so you will need to lower your configuration settings.

We plan to upgrade UI for Android to API Level 25 so the suggested solution is temporary.

Let us know if you have additional questions.

Regards,
Deyan
Telerik by Progress
Want to go cross-platform with C# for iOS, Android, and UWP. With UI for Xamarin you can creating beautiful apps for these mobile platforms using a single shared C# codebase.
0
ray
Top achievements
Rank 1
answered on 30 Jan 2017, 08:01 PM
the Chart feature still does not work even when targetting api 23
0
Deyan
Telerik team
answered on 02 Feb 2017, 11:47 AM
Hi,

Here's a project I've managed to run on my side. Just drop the .aar files into the libs folder and build.

Regards,
Deyan
Telerik by Progress
Want to go cross-platform with C# for iOS, Android, and UWP. With UI for Xamarin you can creating beautiful apps for these mobile platforms using a single shared C# codebase.
0
Paolo
Top achievements
Rank 1
answered on 15 Feb 2017, 09:50 AM
Your application does not work on my side. Any suggestions?
0
Deyan
Telerik team
answered on 15 Feb 2017, 03:51 PM
Hello,

You seem to not have copied the .aar files to the specified libs folder. Did you check whether you have the .aar files at the right location as referenced in the .gradle project?

Regards,
Deyan
Telerik by Progress
Want to go cross-platform with C# for iOS, Android, and UWP. With UI for Xamarin you can creating beautiful apps for these mobile platforms using a single shared C# codebase.
Tags
General Discussion
Asked by
ray
Top achievements
Rank 1
Answers by
Deyan
Telerik team
ray
Top achievements
Rank 1
Paolo
Top achievements
Rank 1
Share this question
or