Unity3D released several problems encountered when packing APK Android platform


Question 1: UnityEditor.BuildPlayerWindow + BuildMethodException:. Build failed with errors this problem often, troubled quite a long time, finally found a reliable solution in the forums, it is very simple! Because the problem is because the package contents, leading to the path of unity apk is not allowed under the Assets folder, it is set to a different folder or just the desktop can be solved.

Reference Site (English description)


问题2:ArgumentException: The Assembly System.Configuration is referenced by System.Data ('Assets/Plugins/System.Data.dll'). But the dll is not allowed to be included or could not be found.

This problem will only appear on Android, will also appear when the release exe, in fact, the solution is simple.

Analysis: System.Configuration from System.Data, but can not find, can be resolved by modifying the settings in .Net, reduced to .Net 2.0 can be shown

If this problem is released Andrews Figure solved, then publish Windows, change to the Windows settings here.

Guess you like

Origin www.cnblogs.com/wayne-tao/p/11331590.html