Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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 /
avatar image
0
Question by N8Squared · Sep 13, 2020 at 07:22 AM · androiderrorbuildmanifest

the min sdk version cannot be specified in the androidmanifest.xml file. you have to remove it.

Please Help ME!!!

I am trying to build my project onto android and I cant, the error comes up with "the min sdk version cannot be specified in the androidmanifest.xml file. you have to remove it."

sometimes it comes up with "could not delete old projectname\temp\gradleout\launcher\build\reports\lint-results-release-fatal.html"

and then it comes up with 243 errors in the console, I'm using unity 2020.1.3f PLEASE HELP

Update: I found the cause but not the solution, I'm trying to setup cloud-once and unity is making me add the google play services scoped registry? and it doesn't let me build but I need it to make cloud-once work. I still don't know

Comment
Add comment
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

4 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by triplume · Nov 12, 2020 at 04:33 PM

Plugins > Android > Firebase ... > AndroidManifest.xml > Remove <uses-sdk android:minSdkVersion="14"/>

Or just search for "Manifest" to find the file.

alt text

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
1

Answer by EmmanuelAyilara · Sep 15, 2020 at 06:40 AM

I had same issues recently @N8Squared see file:///C:/Program%20Files/Unity/Hub/Editor/2020.1.3f1/Editor/Data/Documentation/en/Manual/android-gradle-troubleshooting.html

And also try changing the minSDKversion in the manifest to a higher API level. By default you will see "14". If this does not resolve it remove the line of code or try the steps in the link above.,@N8Squared see file:///C:/Program%20Files/Unity/Hub/Editor/2020.1.3f1/Editor/Data/Documentation/en/Manual/android-gradle-troubleshooting.html

And also try changing the minSDKversion in the manifest to a higher API level. By default you will see "14". If this does not resolve it remove the line of code or try the steps in the link above.

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 Ahmadounity · May 28, 2021 at 09:22 AM 0
Share

The $$anonymous$$SDk version can not be specified in the AndroidManifest.xml file. You have to remove it. I am getting this error when I build the game using unity. I am using firebase and native gallery plugin. I have two android manifest files in my project screen shoots are attached. PLEASE HELP M$$anonymous$$

link of the error i am facing

manifest file of Firebase

manifest file of assets>plugins>Android

PLEASE HELP

avatar image
0

Answer by anileapen05 · May 25, 2021 at 02:36 PM

For me it was the androidmanifest.xml in google play games plugin that had

uses-sdk android:minSdkVersion="14"

but my project was targeting android sdk 28 and 29.

so i removed uses-sdk android:minSdkVersion="14" and built.

Worked 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 Ahmadounity · May 28, 2021 at 09:22 AM 0
Share

The $$anonymous$$SDk version can not be specified in the AndroidManifest.xml file. You have to remove it. I am getting this error when I build the game using unity. I am using firebase and native gallery plugin. I have two android manifest files in my project screen shoots are attached. PLEASE HELP M$$anonymous$$

link of the error i am facing

manifest file of Firebase

manifest file of assets>plugins>Android

PLEASE HELP

avatar image
0

Answer by Ahmadounity · May 28, 2021 at 09:18 AM

The minSDk version can not be specified in the AndroidManifest.xml file. You have to remove it. I am getting this error when I build the game using unity. I am using firebase and native gallery plugin. I have two android manifest files in my project screen shoots are attached. PLEASE HELP ME.

link of the error i am facing

manifest file of Firebase

manifest file of assets>plugins>Android

PLEASE HELP

Comment
Add comment · Show 5 · 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 anileapen05 · May 28, 2021 at 10:43 AM 0
Share

Firebase is clean. Remove uses-sdk from the second androidmanifest.xml file

avatar image Ahmadounity anileapen05 · May 28, 2021 at 10:47 AM 0
Share

When I remove it and build a apk then the apk doesn't run on android device.

avatar image anileapen05 Ahmadounity · May 28, 2021 at 10:52 AM 0
Share

Your building issue is solved. Is this is the first time u r running ur app on android device?

Show more comments

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.

Follow this Question

Answers Answers and Comments

341 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 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 build "Failed to re-package resources" 2 Answers

can't build android app with facebook sdk 5 Answers

Can't build into Android 2 Answers

Android Application Error Message 0 Answers

unable to merge androidmenifest 1 Answer


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