I am doing a project in Android Studio and today I saw that suddenly all my code has errors and even the line:
import com.google.android.gms.appindexing.Action;
has error: cannot resolve symbol android
any suggestions why this might have happened?
Please ensure you have mention in your project grades it has been tested and working fine
dependencies {
...
compile 'com.google.android.gms:play-services-appindexing:8.4.0'
...
}
clean your project and rebuild again and wait till android studio make indexing and loaded all resource some time due to system it will slow. please comment if you found something else. happy coding :)