android build issue with version compatibility with agp and hilt : An exception occurred applying plugin request [id: 'com.google.dagger.hilt.android', version: '2.52']

Ran into this error while trying to install hilt and dagger pakages

An exception occurred applying plugin request [id: 'com.google.dagger.hilt.android', version: '2.52']

> Failed to apply plugin 'com.google.dagger.hilt.android'.

   > Android BaseExtension not found.


Apparently, there is a version compatibility with AGP 

My libs.versions.toml setup which uses AGP version 8.7.3 - and the error goes away.

    


And the solution can be found here:- 

https://stackoverflow.com/questions/79842799/hilt-compilation-error-android-baseextension-not-found






Comments

Popular posts from this blog

vllm : Failed to infer device type

android studio kotlin source is null error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20