Please help getting error

[javac] C:\Users\varsha\Desktop\extension-template-master (1)\extension-template-master\src\sample.java:9: error: package android.support.graphics.drawable does not exist
[javac] import android.support.graphics.drawable.AndroidResources;
[javac]                                         ^
[javac] C:\Users\varsha\Desktop\extension-template-master (1)\extension-template-master\src\sample.java:10: error: package android.support.graphics.drawable does not exist
[javac] import android.support.graphics.drawable.BuildConfig;
[javac]                                         ^
[javac] 2 errors
[javac] 4 warnings

BUILD FAILED
C:\Users\varsha\Desktop\extension-template-master (1)\extension-template-master\build.xml:29: Compile failed; see the compiler error output for details.

Total time: 3 seconds

how to import this packages?

We no longer provide the android support packages. We have switched to using the AndroidX libraries. You should switch to using the correct library and import.

1 Like