• 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
Question by nandan · Jul 02, 2013 at 06:38 AM · androidandroidpluginandroid-manifestdll error

dll is not allowed to be included or could not be found" error unity3d for android

Hello,

I am getting following error while building project for android platform.

ArgumentException: The Assembly System.Configuration is referenced by System.Data. But the dll is not allowed to be included or could not be found. UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache) UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache) UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache) UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch) UnityEditor.HostView:OnGUI()

Please help me if you any idea for this error

Regards, Nandan

Comment
yashesh
VikasReddy
Alister-Alis
Decompiled
CrandellWS
mohsalim

People who like this

6 Show 0
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

8 Replies

· Add your reply
  • Sort: 
avatar image

Answer by TonyLi · Jul 02, 2013 at 03:10 PM

Two things to try:

  1. Add System.Configuration.dll your Plugins folder.

  2. In Build Settings > Player Settings > API Compatibility Level, change the .NET setting.

Then try to build again and see if the error goes away or changes.

Comment
$$anonymous$$
roger-wang
sudhir_kotila
Marfrey
Marvin_Luo
Exoria
nike055
gary.allen.lantz
bigoMay
orihq
anildas
Spiritkill
alexjolig
Brancol100
shreeramk
And 14 more...

People who like this

29 Show 7 · 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 yashesh · Jul 03, 2013 at 07:37 AM 0
Share

@TonyLi I am also facing the same but the above answer does not solved my problem.Can you please help me ?

avatar image astechnolabs yashesh · Jul 31, 2021 at 01:59 PM 0
Share

@yashesh in My case also not working :( Please anyone guide yaar....

avatar image TonyLi · Jul 03, 2013 at 01:19 PM 0
Share

What's the error?

avatar image TonyLi · Jul 03, 2013 at 04:53 PM 1
Share

What happens if you try to build for desktop?

avatar image Marfrey · Aug 26, 2015 at 12:19 PM 1
Share

I change it from .NET sub 2.0 to .NET. And it worked thanks! Although my concern would be what will be effected upon changing this.

avatar image tlskillman · Apr 02, 2018 at 04:52 PM 2
Share

2 worked for me. Thanks!

Show more comments
avatar image

Answer by Chofo7 · Nov 30, 2014 at 11:36 PM

change options in Unity, player setting, oter settings: Api compatibility level: .Net 2.0

Comment
AsmaaELshal
Dailyalex
Millenary_Fater
Burkard
Alister-Alis
CrandellWS
kiles
Dhel210

People who like this

8 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 CrandellWS · Nov 02, 2017 at 07:16 AM 0
Share

yea this worked instead of using the .Net 2.0 subset

.Net 2.0 worked

avatar image

Answer by traveler · Apr 23, 2015 at 04:24 PM

The player settings change to Net 2.0 worked for me. Thank you very much!

Comment
softrare
Alister-Alis

People who like this

0 Show 0 · 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

Answer by AnaLidia · Jan 23, 2016 at 01:30 AM

Thank you very much, also helped me to my, the change to .Net 2.0

Comment
softrare
Alister-Alis

People who like this

0 Show 0 · 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

Answer by wanglittleyun · Apr 10, 2017 at 10:30 AM

沒錯Build Settings > Player Settings > API Compatibility Level, change the .NET setting to .Net 2.0 就好了

Comment

People who like this

0 Show 0 · 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
  • 1
  • 2
  • ›

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

30 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

Related Questions

Implementing AdMob with Google Play Services on Unity3D / Android 0 Answers

correct approach for using e.g. three android plugins 0 Answers

Android build crashes on start up. 2 Answers

Get Phone number of android mobile device - Android native code to Unity c# 3 Answers

CommandInvokationFailure: Gradle build failed. unity 2019.4.22 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