Ok, I reinstalled again, I used the SDK Manager to download only the artifacts that I missed during the compilation ( androidx.annotation/annotation-experimental and ViewPager2). With them and the Platform 30 that was installed by default by the installation files it compiles fine (SDK 29 in Manifest).
Rubén