Building android-studio…
==> Making package: android-studio 2021.1.1.22-1 (Tue 01 Mar 2022 11:56:17 AM CST)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> Retrieving sources…
→ Found android-studio-2021.1.1.22-linux.tar.gz
→ Found android-studio.desktop
→ Found license.html
==> Validating source files with sha256sums…
android-studio-2021.1.1.22-linux.tar.gz … FAILED
android-studio.desktop … Passed
license.html … Passed
==> ERROR: One or more files did not pass the validity check!
Failed to build android-studio
I don’t spot a similar issue being reported, though the package has been updated only a week ago.
Try building it the proper way, and if that fails too, report it upstream.
The checksum exists for things like corrupted downloads or a change from the source, one of them seems to happen to you. Just check yourself which one actually happens. In any case, you can always edit the PKGBUILD and change the checksum to SKIP, but if the downloaded .tar.gz is corrupted it will still fail to build eventually.