I have a class that extends AsyncTask in Java, but Android Studio is giving an error that the AsyncTask symbol cannot be resolved.
class GcmRegistrationAsyncTask extends AsyncTask<Void, Void, String> { // CLASS CODE }
Am I missing an import statement or error code?
I have the same problem in my Android Studio installation. Autoorganization doesn't work, but if you manually add import android.os.AsyncTask; for your import, the class will be found.