Q:

Cannot resolve symbol nullable

Getting cannot resolve symbol nullable error for my program.
@androidx.annotations.Nullable - nullable has redline under it.
package com.singularity.birdjumper;

import android.app.Activity;
import android.os.Bundle;

public class GameActivity extends Activity
{
    @Override
    protected void onCreate(@androidx.annotation.Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }
}

A:

just add this import statement
import android.support.annotation.Nullable;

For androidx, the import statement should be: 
import androidx.annotation.Nullable;

