Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2018.1.X
Votes
0
Found in
2018.1.0a5
Issue ID
970815
Regression
No
[Android] Build fails, when texture is attached to only one layer in adaptive icons section
How to reproduce:
1. Open the attached project
2. Go to Player Settings and expand Icon section
3. Notice that under Adaptive Icons only Foreground layer is attached
4. Make sure that you have SDK 26 and Target API Level is pointing to it
5. Build and Run on Android device
Result: Build fails
Error:
CommandInvokationFailure: Gradle build failed.
/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java -classpath "/Applications/Unity 2018.1.0a5/PlaybackEngines/AndroidPlayer/Tools/gradle/lib/gradle-launcher-4.0.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease"
stderr[
/Users/ieva/Downloads/TestIcons/Temp/gradleOut/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:3:35-65: AAPT: No resource found that matches the given name (at 'drawable' with value '@mipmap/ic_launcher_background').
Reproducible: 2018.1.0a5
Note: adaptive icons were not available in previous versions
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS] Postprocessing errors appear when using RenderGraph and NativeRenderPass
- Can't add a Scene to a Baking Set when it has just been deleted from the Set
- [iOS 17] "Malformed URL" error is thrown when using UnityWebRequest with a URI containing "[]"
- [Android] Player crashes at launch with error when built with custom Editor build
- Memory Leak when using InstantiateAsnyc to instantiate a large Prefab
hilmideprem
Apr 03, 2018 21:55
I have that problem and I do not know how to solve it. I tried many things but non of them worked. Can you help me ?