tradingview / charting-library-examples

Examples of Charting Library integrations with other libraries, frameworks and data transports
MIT License
1.33k stars 744 forks source link

Getting error while running android integration example #291

Open paashinkatpitia opened 2 years ago

paashinkatpitia commented 2 years ago

I followed every step of integration and when I run the build on mobile I'm getting this screen Screenshot_20220511-092601

romfrancois commented 2 years ago

Hi @paashinkatpitia !

Looks like the url is messed up 🤔

What's the config of your widget?

paashinkatpitia commented 2 years ago

Hi @romfrancois

I had replaced the url with index.html as mention in the tutorial

val chartingLibraryUrl = "src/main/assets/charting_library/index.html"

romfrancois commented 2 years ago

Well if that url is local it should start with "file:///" vs "http://" if used on a server.