Android IDE (AIDE) Support Forum

Unknown entity errors

How can I solved unknown entity errors facing in every project.

Here is a full guide:

  1. delete the build folder.

  2. clear cache (in some cases clear all data).

  3. kill app.

  4. build and run.

I did it still same problem. Firstly project was correct as I added Google library error occurred unknown entity. I am pro user aide ide still same what is bug bro.

Make sure you have imported your app’s R
import com.example.myapp.R;

Yes, if you are working on another package you need to import the R.