Error: package android.content does not exist import android.content.Intent;

After installed @capacitor/app getting error: package android.content does not exist import android.content.Intent;

The same for me
error: package android.content does not exist import android.content.Intent;

I got. The problem is the capacitor version… I am using capacitor 3 so the App plugin should be the version 1 (not the 4)

Install this way:
npm install @capacitor/app@~1.0.0