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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by coofee
, 1 year ago
Invalid resource type '<public>' in 'TestBuck/res/values/public.xml'.
via GitHub by youyuo
, 1 year ago
Invalid resource type '<public>' in '/res/values/public.xml'.
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(MiniAapt.java:413)
at com.facebook.buck.android.aapt.MiniAapt.processValues(MiniAapt.java:349)
at com.facebook.buck.android.aapt.MiniAapt.collectResources(MiniAapt.java:272)
at com.facebook.buck.android.aapt.MiniAapt.execute(MiniAapt.java:166)
at com.facebook.buck.step.DefaultStepRunner.runStepForBuildTarget(DefaultStepRunner.java:63)
at com.facebook.buck.rules.CachingBuildEngine.executeCommandsNowThatDepsAreBuilt(CachingBuildEngine.java:1151)
at com.facebook.buck.rules.CachingBuildEngine.access$1000(CachingBuildEngine.java:109)
at com.facebook.buck.rules.CachingBuildEngine$5$1.call(CachingBuildEngine.java:523)
at com.facebook.buck.rules.CachingBuildEngine$5$1.call(CachingBuildEngine.java:512)
at com.facebook.buck.util.concurrent.WeightedListeningExecutorService$1.apply(WeightedListeningExecutorService.java:65)
at com.facebook.buck.util.concurrent.WeightedListeningExecutorService$1.apply(WeightedListeningExecutorService.java:61)
at com.google.common.util.concurrent.Futures$AsyncChainingFuture.doTransform(Futures.java:1442)
at com.google.common.util.concurrent.Futures$AsyncChainingFuture.doTransform(Futures.java:1433)
at com.google.common.util.concurrent.Futures$AbstractChainingFuture.run(Futures.java:1408)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.