This feature requires ASM7

This feature requires ASM7

I can’t get rid of this error for Android. can’ t do builds now because of this.

Some devs reported it went off after a restart or clearing cache if any.
Try toggling the checkmarks in External Tools settings for Android and Gradle entries.

1 Like

Oh thanks man. It actually stopped when I changed to sdk 33 from 30
Thanks for the response i’ll try that incase I have to go back to 30 sdk.

What cache were you referring too?
Well this error is back again.

Tried to do a restart
Tried unchecking and checking back boxes in external tools

1 Like

Ended up fixing it by going back to API 30 lol.
Probably why doing api 33 fixed it last time.

Guess this needs to be reported to unity

Update: API 33 is required from August 2023!
Obsolete →
Set API 32 as its valid for next 2 years.

1 Like

When I try 32 i think it told me I don’t have api 32.
I’m not sure how to download those api’s, I used to do it in android studio but now unity downloads its own copy to use. So not sure how to do that now.

Usually it will prompt to update the sdk if it doesn’t exist. If it fails to do so, try manual approach.

  1. Go to system’s android sdk/platforms folder and copy android-32 folder
  2. Paste it in unity’s Android sdk/platforms folder

Similarly copy build-tools/30.0.2 and paste in unity’s android sdk. Note it should be 30.0.2 as above it unity won’t support until recent versions.

So now I’m doing a build with api 30 and then a build with api 33.
Only way atm i figured out how to get rid of this error.

I dont think doing a build at api 32 would fix this problem.

Ya at least there is a work around. Any chance you can do a bug report on it. I’m just so busy atm. Already engaged in several atm

I have the same problem and even at this moment is not solved , I tried all methods that I find on Internet and nothing

I faced this error after I imported Admob plugin v7-3-1. I closed the project and deleted all folders except Assets and ProjectSettings. I opened the project and built it without a problem.
@CyberModeSoftware

1 Like

I got the same error when I imported Admob.
I found the workaround here: This feature requires ASM7 · Issue #2390 · googleads/googleads-mobile-unity · GitHub, answer from linsir6:

I solve this issue in my local,
replace distributionUrl=https://services.gradle.org/distributions/gradle-6.1.1-bin.zip to distributionUrl=https://services.gradle.org/distributions/gradle-6.9.3-bin.zip in gradle-wrapper.properties

1 Like

Happy New Year! Thanks bro!

8714193--1177878--upload_2023-1-8_20-59-10.png

1 Like

I got same error with latest API level 33 for target api level.
Workaround steps:

  • I built package for target api level with API 30 first (API 32 is not working, it is needed to install, but I prefer api 30).
  • If this build is success, build for target api level with value API 33, and it works by this way.

fyi

Try to increase Min API Level to Android 7.0 (API 24) this worked for me.

2 Likes

It usually occurs when you remove a package but new incremental build system didn’t notice it.
I solved it by use “Clean Build” as instructed below.

Unity - Manual: Incremental build pipeline

Creating non-incremental builds
In some scenarios, it can be useful or necessary to create builds that don’t use the incremental build pipeline.

To create a clean, non-incremental, build:

  • Open the Build Settings window.
  • Next to the Build button, select the drop-down.
  • Select Clean Build

======================================

3 Likes

will someplugin will not wwork ??? play game service , admob ,and should i do clean build everytime??

Thanks! It’s works for me.