title: Bare Expo app unable to build when created first time (Expo SDK 42)
body: <p>I created a react native app using</p>
  <pre><code>expo init AwesomeProject
  </code></pre>
  <p>I chose <strong>bare workflow</strong>.</p>
  <p>As soon as I try to run the app using <code>yarn android</code>, the build crashes.</p>
  <p>This is the error:</p>
  <pre><code> &gt; Task :unimodules-react-native-adapter:compileDebugJavaWithJavac FAILED
  
  Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
  Use '--warning-mode all' to show the individual deprecation warnings.
  See https://docs.gradle.org/6.8/userguide/command_line_interface.html#sec:command_line_warnings
  284 actionable tasks: 284 executed
  C:\Users\prana\Desktop\new-app\new-app\SphereV2\node_modules\expo-modules-autolinking\build\index.js:14
          .option('-i, --ignore-paths &lt;ignorePaths...&gt;', 'Paths to ignore when looking up for modules.', (value, previous) =&gt; (previous ?? []).concat(value))
                                                                                                                                         ^
  
  SyntaxError: Unexpected token '?'
      at wrapSafe (internal/modules/cjs/loader.js:1053:16)
      at Module._compile (internal/modules/cjs/loader.js:1101:27)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
      at Module.load (internal/modules/cjs/loader.js:985:32)
      at Function.Module._load (internal/modules/cjs/loader.js:878:14)
      at Module.require (internal/modules/cjs/loader.js:1025:19)
      at require (internal/modules/cjs/helpers.js:72:18)
      at [eval]:1:1
      at Script.runInThisContext (vm.js:120:18)
      at Object.runInThisContext (vm.js:309:38)
  Note: Some input files use unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details.
  Note: Some input files use or override a deprecated API.
  Note: Recompile with -Xlint:deprecation for details.
  Note: Some input files use unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details.
  Note: C:\Users\prana\Desktop\new-app\new-app\SphereV2\node_modules\expo-application\android\src\main\java\expo\modules\application\ApplicationModule.java uses or overrides a deprecated API.
  Note: Recompile with -Xlint:deprecation for details.
  Note: Some input files use or override a deprecated API.
  Note: Recompile with -Xlint:deprecation for details.
  Note: Some input files use unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details.
  Note: Some input files use or override a deprecated API.
  Note: Recompile with -Xlint:deprecation for details.
  Note: C:\Users\prana\Desktop\new-app\new-app\SphereV2\node_modules\expo-updates\android\src\main\java\expo\modules\updates\UpdatesConfiguration.java uses unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details.
  Note: C:\Users\prana\Desktop\new-app\new-app\SphereV2\node_modules\expo-constants\android\src\main\java\expo\modules\constants\ConstantsService.java uses or overrides a deprecated API.
  Note: Recompile with -Xlint:deprecation for details.
  Note: C:\Users\prana\Desktop\new-app\new-app\SphereV2\node_modules\expo-file-system\android\src\main\java\expo\modules\filesystem\FileSystemModule.java uses or overrides a deprecated API.
  Note: Recompile with -Xlint:deprecation for details.
  Note: C:\Users\prana\Desktop\new-app\new-app\SphereV2\node_modules\expo-file-system\android\src\main\java\expo\modules\filesystem\FileSystemModule.java uses unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details.
  C:\Users\prana\Desktop\new-app\new-app\SphereV2\node_modules\@unimodules\react-native-adapter\android\src\main\java\org\unimodules\adapters\react\ModuleRegistryAdapter.java:26: error: cannot find symbol
      mModuleRegistryProvider = new ReactModuleRegistryProvider(new ExpoModulesPackageList().getPackageList(), null);
                                                                    ^
    symbol:   class ExpoModulesPackageList
    location: class ModuleRegistryAdapter
  1 error
  
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  Execution failed for task ':unimodules-react-native-adapter:compileDebugJavaWithJavac'.
  &gt; Compilation failed; see the compiler error output for details.
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  
  * Get more help at https://help.gradle.org
  
  BUILD FAILED in 5m 40s
  
  error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
  Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
  C:\Users\prana\Desktop\new-app\new-app\SphereV2\node_modules\expo-modules-autolinking\build\index.js:14
  error Command failed with exit code 1.
  info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  
  enter code here
  </code></pre>
  <p>This is my environment after running <code>react-native info</code>:</p>
  <pre><code>System:
      OS: Windows 10 10.0.19043
      CPU: (8) x64 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
      Memory: 682.79 MB / 7.79 GB
    Binaries:
      Node: 12.18.3 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
      npm: 6.14.6 - C:\Program Files\nodejs\npm.CMD
      Watchman: Not Found
    SDKs:
      Android SDK: Not Found
      Windows SDK: Not Found
    IDEs:
      Android Studio: Version  4.1.0.0 AI-201.8743.12.41.6953283
      Visual Studio: Not Found
    Languages:
      Java: 11.0.2
      Python: 3.8.4
    npmPackages:
      @react-native-community/cli: Not Found
      react: 16.13.1 =&gt; 16.13.1
      react-native: ~0.63.4 =&gt; 0.63.4
      react-native-windows: Not Found
    npmGlobalPackages:
      *react-native*: Not Found
  </code></pre>
  <p>/android/gradle/wrapper/gradle-wrapper.properites:</p>
  <pre><code>distributionBase=GRADLE_USER_HOME
  distributionPath=wrapper/dists
  distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-all.zip
  zipStoreBase=GRADLE_USER_HOME
  zipStorePath=wrapper/dists
  </code></pre>
  <p>/android/build.gradle:</p>
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
      ext {
          buildToolsVersion = &quot;29.0.3&quot;
          minSdkVersion = 21
          compileSdkVersion = 30
          targetSdkVersion = 30
      }
      repositories {
          google()
          jcenter()
      }
      dependencies {
          classpath(&quot;com.android.tools.build:gradle:4.1.0&quot;)
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          mavenLocal()
          maven {
              // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
              url(&quot;$rootDir/../node_modules/react-native/android&quot;)
          }
          maven {
              // Android JSC is installed from npm
              url(&quot;$rootDir/../node_modules/jsc-android/dist&quot;)
          }
  
          google()
          jcenter()
          maven { url 'https://www.jitpack.io' }
      }
  }
  </code></pre>
  <p>The current <strong>Gradle version on my system is Gradle 6.8</strong>.
  I have tried using Gradle 7.0 as well, and in that case, I end up getting an error saying:</p>
  <pre><code>Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
  </code></pre>
  <p>Does anyone know how to fix this?? I am running the latest expo SDK version 42.</p>