Skip to content Skip to sidebar Skip to footer

Problem Cannot Resolve Symbol 'DrawableRes' In AutocompleteTextView

i'm new to android and i have this problem in AutocomplettextView Activity it says Cannot resolve symbol 'DrawableRes' import android.annotation.DrawableRes; this is my list of de

Solution 1:

intead of implementation "com.android.support:appcompat-v7:27.1.0"

use implementation "com.android.support:appcompat-v7:27.1.1"

and change implementation "com.android.support:design:${supportLibVersion}"

to implementation "com.android.support:design:27.1.1"


Solution 2:

Replace

implementation "com.android.support:appcompat-v7:27.1.0"
implementation "com.android.support:design:${supportLibVersion}"

with

implementation "com.android.support:appcompat-v7:27.1.1"
implementation "com.android.support:design:27.1.1"

and add these 2 dependencies to the Gradle file

implementation "com.android.support:animated-vector-drawable:27.1.1"
implementation "com.android.support:exifinterface:27.1.1"

Post a Comment for "Problem Cannot Resolve Symbol 'DrawableRes' In AutocompleteTextView"