Upgrade to AGP 7.4.0-alpha01

- Remove explicit targetSdkVersion from wear test app as it is using
  an obsolete API 30 that android lint doesn't like.
- Fix the usage of internal UAST implementation.

Test: ./gradlew bOS
Change-Id: I77ec06a3786fc9c16deb17fbdf8af09b280a57a3
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index b37c949..754f9c7 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -2,13 +2,13 @@
 # -----------------------------------------------------------------------------
 # All of the following should be updated in sync.
 # -----------------------------------------------------------------------------
-androidGradlePlugin = "7.3.0-alpha08"
+androidGradlePlugin = "7.4.0-alpha01"
 # NOTE: When updating the lint version we also need to update the `api` version
 # supported by `IssueRegistry`'s.' For e.g. r.android.com/1331903
-androidLint = "30.3.0-alpha08"
+androidLint = "30.4.0-alpha01"
 # Once you have a chosen version of AGP to upgrade to, go to
 # https://developer.android.com/studio/archive and find the matching version of Studio.
-androidStudio = "2021.3.1.8"
+androidStudio = "2022.1.1.1"
 # -----------------------------------------------------------------------------
 
 androidGradlePluginMin = "7.0.4"