How to import R class?

i am trying to import R class but getting a error : cannot find symbol.

This is how i am importing it

import aryan.gupta.RootChecker.R;

if anyone know that how to import it . then ,

Please help

Can you explain it because i don’t know what is R Class :thinking:

it is just for identify all assets (from strings to android widgets to layouts)

Problem Solved by @Mohamed_Tamer in PM.

Solution :

1- Aar isn’t supported for extensions, you can’t use resources yet.
2- There isn’t a class called R, for your extension.

1 Like