This feature requires ASM7
I can’t get rid of this error for Android. can’ t do builds now because of this.
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.
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
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.
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.
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
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
Happy New Year! Thanks bro!
I got same error with latest API level 33 for target api level.
Workaround steps:
fyi
Try to increase Min API Level to Android 7.0 (API 24) this worked for me.
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.
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:
======================================
will someplugin will not wwork ??? play game service , admob ,and should i do clean build everytime??
Thanks! It’s works for me.