title: Error: Could not find EOCD, after adding "splits" in Android
body: <p>I am using the following splits code in my gradle to reduce APK size:</p>
  <pre><code>splits {
          abi {
              // Enable ABI split
  
          enable true
  
          // Clear list of ABIs
          reset()
  
          // Specify each architecture currently supported by the Video SDK
          include &quot;armeabi-v7a&quot;, &quot;arm64-v8a&quot;, &quot;x86&quot;, &quot;x86_64&quot;
  
          // Specify that we do not want an additional universal SDK
          universalApk false
      }
  }
  </code></pre>
  <p>When I run the app, the APK is generated fine, with reduced size and runs on Emulator.</p>
  <p>But when I try to build APK file from Build &gt; Build bundles/apks like
  <a href="https://i.stack.imgur.com/a1FRO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/a1FRO.png" alt="enter image description here" /></a></p>
  <p>I get this error:</p>
  <pre><code>Execution failed for task ':app:packageAbcDebug'.
  &gt; A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
     &gt; Could not find EOCD in '....apk'
  
  Possible solution:
   - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
  </code></pre>
  <p>I only wanted to exclude &quot;x86&quot; architectures, to reduce the APK size and need to send the APK to my client. How do I fix this?</p>