AnyChart-Android icon indicating copy to clipboard operation
AnyChart-Android copied to clipboard

Cannot resolve symbol 'AnyChartView' in Android Studio version Arctic Fox |2020.3.1 Patch 3

Open AhmedElsayedTaha opened this issue 3 years ago • 1 comments

I can't use the AnyChart library . I always get Cannot resolve symbol 'AnyChartView'

I added this line in my dependency implementation 'com.github.AnyChart:AnyChart-Android:1.1.2' Also I added this in my gradle file maven { url 'https://jitpack.io' } to be like this

buildscript {
    repositories {
        google()
        mavenCentral()
        maven { url 'https://jitpack.io' }
    }
    dependencies {
        classpath "com.android.tools.build:gradle:7.0.3"

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

image

AhmedElsayedTaha avatar Aug 08 '22 16:08 AhmedElsayedTaha

Need to add following line in settings.gradle (Project Settings) file. maven { url 'https://jitpack.io' }

Also, add following line in build.gradle (Module level gradle file). implementation 'com.github.AnyChart:AnyChart-Android:1.1.4'

drparasmehta avatar Jan 23 '23 16:01 drparasmehta