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

0
0

I am developing an application which can receive the data from an ECG circuit, then transmit that data through Bluetooth into my phone application. My phone application would then display the ECG graph. I tried downloading the ECG demo example and it works find on its own. I am trying to incorporate that into my own project and see if it works. However I have been getting errors. Please help me out! Thank you!

Version
Trial version for android charts
  • You must to post comments
0
0

Hi Sharleen.

Can you provide more information about errors which you’re getting? It’s hard to tell what is wrong with your project without seeing the code. Also if you’re just starting work with SciChart library then I would suggest you to take a look on our tutorials. Maybe they will be helpful.

Best regards,
Yura

  • You must to post comments
0
0

Hi Yura, I have attached a picture of the error that i got.

Images
  • You must to post comments
0
0

Hi Sharleen,

Well as I see there is a problem with referencing of the libraries. On your screenshot I can see that you reference libraries two times:

  1. Reference local libraries which should be copy pasted into your project folder ( project/app/libs/ folder)

    // you can reference aar from app\libs folder
    implementation 'com.scichart:charting:+@aar'
    implementation 'com.scichart:core:+@aar'
    implementation 'com.scichart:drawing:+@aar'
    implementation 'com.scichart:data:+@aar'
    implementation 'com.scichart:extensions:+@aar'
    
  2. Reference libs from our Maven repository:

    // or you can reference latest version from Maven
    implementation (group: 'com.scichart.library', name: 'core', version: '2.1.0.+', ext: 'aar')
    implementation (group: 'com.scichart.library', name: 'data', version: '2.1.0.+', ext: 'aar')
    implementation (group: 'com.scichart.library', name: 'drawing', version: '2.1.0.+', ext: 'aar')
    implementation (group: 'com.scichart.library', name: 'charting', version: '2.1.0.+', ext: 'aar')
    implementation (group: 'com.scichart.library', name: 'extensions',version: '2.1.0.+', ext: 'aar')
    

In your case Gradle can’t resolve the local libraries which you probably didn’t copy to your project. To fix I would suggest just to remove referencing of local libs and leave only references from Maven.

Best regards,
Yura

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.