java.lang.RuntimeException: com.android.manifmerger.ManifestMerger2$MergeFailureException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.

GitHub | pfn | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 283#241199889

    GitHub | 9 months ago | pfn
    java.lang.RuntimeException: com.android.manifmerger.ManifestMerger2$MergeFailureException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
  2. 0

    java.util.NoSuchElementException: head of empty list

    GitHub | 9 months ago | relrod
    java.lang.RuntimeException: com.android.manifmerger.ManifestMerger2$MergeFailureException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.

    Root Cause Analysis

    1. com.android.manifmerger.ManifestMerger2$MergeFailureException

      org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.

      at com.android.manifmerger.ManifestMerger2.loadLibraries()
    2. com.android.tools.build.manifest-merger
      ManifestMerger2$Invoker.merge
      1. com.android.manifmerger.ManifestMerger2.loadLibraries(ManifestMerger2.java:586)
      2. com.android.manifmerger.ManifestMerger2.merge(ManifestMerger2.java:126)
      3. com.android.manifmerger.ManifestMerger2.access$1100(ManifestMerger2.java:58)
      4. com.android.manifmerger.ManifestMerger2$Invoker.merge(ManifestMerger2.java:1163)
      4 frames
    3. com.android.tools.build.builder
      AndroidBuilder.mergeManifests
      1. com.android.builder.core.AndroidBuilder.mergeManifests(AndroidBuilder.java:654)
      1 frame
    4. Android Platform
      Tasks$$anonfun$58.apply
      1. android.Tasks$$anonfun$58.apply(tasks.scala:761)
      2. android.Tasks$$anonfun$58.apply(tasks.scala:746)
      2 frames
    5. Scala
      Function1$$anonfun$compose$1.apply
      1. scala.Function10$$anonfun$tupled$1.apply(Function10.scala:35)
      2. scala.Function10$$anonfun$tupled$1.apply(Function10.scala:34)
      3. scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
      3 frames
    6. SBT
      $tilde$greater$$anonfun$$u2219$1.apply
      1. sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
      1 frame
    7. sbt Task system
      Transform$$anon$4.work
      1. sbt.std.Transform$$anon$4.work(System.scala:63)
      1 frame
    8. SBT
      CompletionService$$anon$2.call
      1. sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
      2. sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
      3. sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
      4. sbt.Execute.work(Execute.scala:237)
      5. sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
      6. sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
      7. sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
      8. sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
      8 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      6. java.lang.Thread.run(Thread.java:745)
      6 frames