Exception: OBSOLETE - Providing Android resources in Assets/Plugins/Android/assets was removed

I use 2021.2.0b12.3482. Right after update it became unavailable to build an android version because of error. Notice that Assets/Plugins/Android/assets contains the same 2 files sa before. AAR files are also here.
```csharp
*Exception: OBSOLETE - Providing Android resources in Assets/Plugins/Android/assets was removed, please move your resources to an AAR or an Android Library. See “AAR plug-ins and Android Libraries” section of the Manual for more details.
UnityEditor.Android.PostProcessor.Tasks.CheckUserResources.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0)
UnityEditor.Android.PostProcessAndroidPlayer.PrepareForBuild (UnityEditor.BuildOptions options, UnityEditor.BuildTarget target) (at :0)
UnityEditor.Android.AndroidBuildPostprocessor.PrepareForBuild (UnityEditor.BuildOptions options, UnityEditor.BuildTarget target) (at :0)
UnityEditor.PostprocessBuildPlayer.PrepareForBuild (UnityEditor.BuildOptions options, UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target) (at <8a8bf68eb0e443b196386a376561c6a1>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Error building Player: Exception: OBSOLETE - Providing Android resources in Assets/Plugins/Android/assets was removed, please move your resources to an AAR or an Android Library. See “AAR plug-ins and Android Libraries” section of the Manual for more details.*
```

Please help, I am having this issue too.

Haven’t fixed. 2021.2.01 stable. still not able to build for android.

What is the problem is that this error is caused by Unity itself. In my case, it is by UDP.
I got 2021.2.3f1 and UDP 2.2.3
UDP is creating this folder where GameSettings.prop is located.
I hope they will fix it soon.

1 Like

2021.2.3f1 doesn’t fixed.

bump

Bump

Found any solution? Having the same issue

Found any solution? Having the same issue

what if just change the version of the unity? could smth change?

For anyone facing this issue with UDP, updating to UDP 2.2.4 will resolve the issue.

Hi , I tried to integrate Chartboost ads in my Unity Project.I got this error, Then I went to Services->UDP. In the package manager I used the latest UDP 2.2.5. But still getting the same error.

1 Like

same

Any solution? I don’t use UDP and I’m having this bug when I try to build to Android. Unity 2021.3.2f1

1 Like

plz resolve this issue

Deleting the “Assets” folder in "\Assets\Plugins\Android" seemed to fix it for me

15 Likes

You can’t just delete android’s plugin folder. It contains as dependency files and resources you need to build an Android version.

Packing your resources to .aar file could solve this problem. For more details see
https://docs.getsocial.im/knowledge-base/pack-resources-to-aar/

A exclusão da massa “Ativos” em “Ativos/Plugins/Android” funcionou perfeitamente