x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Error :app:mergeDebugResourceserror with gradle

Hello!

I'm trying to use this Plugin: https://github.com/PandoraEntertainment/Facebook in my game, but when I try to package the game (plugin enabled), the package process crashes:

 LogPlayLevel: :app:mergeDebugResourceserror: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: image must be at least 3x3 (1x1 image with 1 pixel border).
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: image must be at least 3x3 (1x1 image with 1 pixel border).
 LogPlayLevel: error: image must be at least 3x3 (1x1 image with 1 pixel border).
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: image must be at least 3x3 (1x1 image with 1 pixel border).
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: top-left corner pixel must be either opaque white or transparent.
 LogPlayLevel: error: found an invalid color.
 LogPlayLevel: Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
 LogPlayLevel: :app:mergeDebugResources FAILED
 LogPlayLevel: FAILURE: Build failed with an exception.
 LogPlayLevel: * What went wrong:
 LogPlayLevel: Execution failed for task ':app:mergeDebugResources'.
 LogPlayLevel: > Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
 LogPlayLevel: * Try:
 LogPlayLevel: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
 LogPlayLevel: * Get more help at https://help.gradle.org
 LogPlayLevel: BUILD FAILED in 44s

I hope you guys can help me out!

Best regards from Germany :)

Product Version: UE 4.20
Tags:
more ▼

asked Aug 27 '18 at 01:11 PM in Packaging & Deployment

avatar image

Fatorice
1 1 4 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

For all those, who have the same problem. I fixed it by renaming all images in the Facebook-SDK.aar (under res/drawables-[XXX]) from: [xxxxxxxxxxxxxxxx].9.png to [xxxxxxxxxxxxxxxx].png

more ▼

answered Sep 01 '18 at 08:00 PM

avatar image

Fatorice
1 1 4 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question