• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by SmartyPantsScott · Jan 17, 2019 at 07:03 PM · android buildandroid-manifestmanifest

Developing for Android - Gradle Error / AndroidManifest - Resource 'drawable/app_banner' not found

I've tried for the last three days searc$$anonymous$$ng and trying different solutions to t$$anonymous$$s issue and about to headbutt my laptop.

I took out the lines in the manifest, in various ways....taking out the whole line, taking out the @drawable/app_icon lines, replacing the @drawable with @mipmap, and yet still not$$anonymous$$ng or more related errors to the line:

 <application android:theme = "@style/UnityThemeSelector" android:icon='@drawable/app_icon' android:label='@string/app_name' android:isGame='true' android:banner='@drawable/app_banner'>

Tried: http://shob$$anonymous$$tsamaria.com/troubleshooting-unity-build-android-platform/ https://answers.unity.com/questions/1542418/gradle-error-ressource-not-found.html

And a bunch more that I do not care to re-visit, but if you want I can list them here......later.

T$$anonymous$$s started happening when I started to delete files that I no longer needed - is that what causes t$$anonymous$$s mess? It's been D L L hell.

How can I fix t$$anonymous$$s other than what I've listed so far? I re-installed Android SDK's, upgraded Unity (even though I'm in the middle of a project and usually that's frowned upon and avoided like the plague)

  • I was grasping at straws at t$$anonymous$$s point. My project is using two plugins, but had a t$$anonymous$$rd one w$$anonymous$$ch I removed (Would that be the cause?)

Ugh...

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SmartyPantsScott · Jan 17, 2019 at 07:15 PM 0
Share

5 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Benymo · Apr 25, 2019 at 02:49 PM

T$$anonymous$$s is a bit older question but maybe it will help somebody. I encountered t$$anonymous$$s problem after importing an Android related asset just to find out later that my previous Manifest.xml got replaced with a new one that contained the android:banner='@drawable/app_banner'. The SOLUTION for me was to jus t DELETE that "banner" part from the manifest. I am no professional or experienced Unity nor Android developer but I guess if you do not need the banner for somet$$anonymous$$ng specificaly, then just remove it as it tries to look for the image associated with the banner that does not exist.

My lessons from t$$anonymous$$s issue is to always double check what I am importing with each asset as it can cause unwanted ridiculous errors.alt text


manifest.png (9.5 kB)
Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image manuelpeirone · Jul 10, 2019 at 03:20 PM 0
Share
avatar image SweatyChair · Jul 11, 2019 at 08:21 AM 0
Share
avatar image
1

Answer by marcomatic · Feb 20, 2019 at 04:28 AM

In case any juan else got stuck on t$$anonymous$$s issue. After much trial and error and copious amounts of crying...

I deleted the Android Manifest.xml wit$$anonymous$$n the plugin/android folder. Restarted Unity and then ran the build. After a long wait of suspense the build was successful.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image m7uniyal · Nov 02, 2019 at 07:19 AM 0
Share
avatar image $$anonymous$$ · Jan 25, 2020 at 01:42 AM 0
Share
avatar image
0

Answer by JD_FVTC · Feb 05, 2019 at 07:27 PM

Did you solve t$$anonymous$$s issue yet? Can you post your solution. Im struggling with the same t$$anonymous$$ng.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by SmartyPantsScott · Feb 08, 2019 at 01:16 AM

So, after much wrestling with the build and the project....I honestly cant say what it was that did it. I edited the AndroidManifest.xml file, re-installed the Android Studio, upgraded Unity, adjusted my player settings and re-imported grap$$anonymous$$cs that were originally used. Apparently, t$$anonymous$$s is a hell-hole of an issue that requires many trial and error approaches....I still haven't nailed down what caused it to go wonky. T$$anonymous$$s is the second time its happened to me and each time was completely different errors in terms of the details but still under the "Gradle" / DLL issue.

If it does happen again, I'll do the smart t$$anonymous$$ng and write down each t$$anonymous$$ng I did and post it here....hopefully, you've gotten yours solved by now? If not, definitely write down the steps you did and didnt do....

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by twistedpair · Feb 11, 2019 at 07:16 PM

Has anyone figured out exactly what causes t$$anonymous$$s error and how to fix it? I've found that t$$anonymous$$s is only an issue with Unity 2018.3, 2018.2 seems to build fine.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Graithen · Feb 15, 2019 at 02:29 PM 0
Share

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

176 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Android Unable to merge android manifest Error 1 Answer

Unable to merge android manifests while integrating Rewarded Videos from Admob 0 Answers

Android error building player Error: No resource found that matches the given name 3 Answers

Why i can't select minimum android api level 15 from minimum api level dropdown (unity 2017 or higher) 0 Answers

Unfortunately app has stopped 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges