• 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 Jeston · Nov 21, 2011 at 05:58 PM · androidmanifest

preferExternal Android Manifest setting

I had a recent app rejected due to the fact that I had a setting called preferExternal set in the AndroidManifest.

Does anyone have suggestions of how to remove this entry ? I tried editing the xml from within the apk but it looked like a binary file.

Comment
Add comment · Show 2
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 thorbrian · Nov 21, 2011 at 10:36 PM 0
Share

was it 'android:installLocation="preferExternal"'? that's weird it was rejected because of that... it shouldn't be a problem, maybe it's a mismatched SD$$anonymous$$ version or something?

avatar image Jeston · Nov 22, 2011 at 01:46 AM 0
Share

Indeed it was, I believe this went to the nook marketplace shrug

the exact message is as follows: "The application has not passed technical review and is waiting for an update from the developer. Files- Rejected: Your application is set to preferExternal as the installLocation in the android market. This is not currently allowed on our platform. Please remove this entry from your manifest and resubmit"

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by thorbrian · Nov 21, 2011 at 10:35 PM

The way you are supposed to edit the manifest is by adding your own AndroidManifest.xml to "Plugins/Android/AndroidManifest.xml" in your project, and that one will get included instead of the default.

You can find the default template at "C:\Program Files\Unity\Editor\Data\PlaybackEngines\androidplayer\AndroidManifest.xml" or whatever your equivalent directory for your Unity install is.

The help page for this crap is here: http://unity3d.com/support/documentation/Manual/Plugins.html (but the manifest bits are all buried and hard to find)

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 Jeston · Nov 22, 2011 at 01:44 AM 0
Share

that would do it, this is a one off build I am doing anyways, if I wasn't under the gun in deadlines I might learn the right way :) big thanks & I found the file

avatar image
1

Answer by www_3dart_es · Apr 24, 2014 at 11:48 AM

http://docs.unity3d.com/Documentation/Manual/class-PlayerSettings.html

In Android section you have:

Install Location Specifies application install location on the device (for detailed information, please refer to http://developer.android.com/guide/appendix/install-location.html).

Automatic: Let OS decide. User will be able to move the app back and forth.

Prefer External: Install app to external storage (SD-Card) if possible. OS does not guarantee that will be possible; if not, the app will be installed to internal memory.

Force Internal: Force app to be installed into internal memory. User will be unable to move the app to external storage.

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

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Facebook SDK 7.2.2 does not work with Unity 5.3.0f4 0 Answers

Unity Cloud Build - AndroidManifest.xml ignored 0 Answers

UnityPlayerActivity vs. UnityPlayerNativeActivity 0 Answers

AndroidSDKToolsException: Unable to merge android manifests. 1 Answer

Merging 2 AndroidManifest.xml's 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