SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0
0

Today is my first day using SciChart and I’m following along with this hello world demo –

https://www.scichart.com/documentation/android/v2.x/webframe.html#Tutorial%2002%20-%20Creating%20a%20Chart.html

For some reason Android Studio won’t recognize ‘SciChartBuilder.init(this)’. Am I missing a file? I can create an instance of SciChartSurface with no problem but the builder line is a no-go. I have imported and referenced the 4 correct .aar files in my gradle.build file so I’m not sure what else I’d be missing. Any help for a newbie would be appreciated!!

Version
2.5
  • You must to post comments
0
0

Hi Cory,

Did you reference ‘extensions’ module in your application? SciChart Builders API is optional so we created a separate library for it which you need to add in your project to use it:

 compile (group: 'com.scichart.library', name: 'extensions', version: '2.5.0.2583', ext: 'aar')

Hope this will help you!

Best regards,
Yura

  • You must to post comments
0
0

I added the line to my gradle file (doesn’t like ‘compile’ so i’m using implementation instead. After resynching the gradle project I am now getting an error that it ‘failed to resolve the com.scichart.library……’ Is this another file I need to be adding to my lib directory?

  • You must to post comments
0
0

Yes I was trying to reference locally, didn’t have much luck so i ended up referencing as you do in the link to the maven repo and i’m good to go.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.