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!
- Sharleen Kuah asked 6 years ago
- You must login to post comments
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
- Yura Khariton answered 6 years ago
- You must login to post comments
Hi Yura, I have attached a picture of the error that i got.
- Sharleen Kuah answered 6 years ago
- You must login to post comments
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:
-
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'
-
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
- Yura Khariton answered 6 years ago
- You must login to post comments
Please login first to submit.