com.facebook.buck.android.aapt.MiniAapt$ResourceParseException: Invalid resource type '<public>' in 'TestBuck/res/values/public.xml'.

GitHub | coofee | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    does buck support res/values/public.xml?

    GitHub | 6 months ago | coofee
    com.facebook.buck.android.aapt.MiniAapt$ResourceParseException: Invalid resource type '<public>' in 'TestBuck/res/values/public.xml'.
  2. 0

    Error parsing resources to generate resource IDs

    GitHub | 11 months ago | AllenCoder
    com.facebook.buck.android.aapt.MiniAapt$ResourceParseException: Invalid definition of a resource: '@'

    Root Cause Analysis

    1. com.facebook.buck.android.aapt.MiniAapt$ResourceParseException

      Invalid resource type '<public>' in 'TestBuck/res/values/public.xml'.

      at com.facebook.buck.android.aapt.MiniAapt.processValuesFile()
    2. com.facebook.buck
      WeightedListeningExecutorService$1.apply
      1. com.facebook.buck.android.aapt.MiniAapt.processValuesFile(MiniAapt.java:413)
      2. com.facebook.buck.android.aapt.MiniAapt.processValues(MiniAapt.java:349)
      3. com.facebook.buck.android.aapt.MiniAapt.collectResources(MiniAapt.java:272)
      4. com.facebook.buck.android.aapt.MiniAapt.execute(MiniAapt.java:166)
      5. com.facebook.buck.step.DefaultStepRunner.runStepForBuildTarget(DefaultStepRunner.java:63)
      6. com.facebook.buck.rules.CachingBuildEngine.executeCommandsNowThatDepsAreBuilt(CachingBuildEngine.java:1151)
      7. com.facebook.buck.rules.CachingBuildEngine.access$1000(CachingBuildEngine.java:109)
      8. com.facebook.buck.rules.CachingBuildEngine$5$1.call(CachingBuildEngine.java:523)
      9. com.facebook.buck.rules.CachingBuildEngine$5$1.call(CachingBuildEngine.java:512)
      10. com.facebook.buck.util.concurrent.WeightedListeningExecutorService$1.apply(WeightedListeningExecutorService.java:65)
      11. com.facebook.buck.util.concurrent.WeightedListeningExecutorService$1.apply(WeightedListeningExecutorService.java:61)
      11 frames
    3. Guava
      Futures$2$1.run
      1. com.google.common.util.concurrent.Futures$AsyncChainingFuture.doTransform(Futures.java:1442)
      2. com.google.common.util.concurrent.Futures$AsyncChainingFuture.doTransform(Futures.java:1433)
      3. com.google.common.util.concurrent.Futures$AbstractChainingFuture.run(Futures.java:1408)
      4. com.google.common.util.concurrent.Futures$2$1.run(Futures.java:1177)
      4 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames