null pointer null pointer - 4 years ago 121
Android Question

Android Studio need to rebuild project before each run

Recently the android studio shows Error Java cannot find Symbol or each run. i have to go to built and rebuilt the project before each run. Is there any way to fix it?
i don't know if my project problem or the problem of the latest update of android studio.
is anyone facing the same problem ? any way to fix it?

Answer Source

It's a known issue. Maybe you should try this:

Same issue here, to avoid rebuild EACH TIME, i'm going to my module project settings -> Dependencies and up or down one of my library item -> Apply -> Ok -> Make regenerating R.java.

You could also try unchecking "Use external build" in compiler settings:

File -> Settings (Ctrl+Alt+S) -> Compiler -> Uncheck "Use external build"

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download