bytepark / auto_orientation

A flutter plugin to programmatically change the orientation and rotate
MIT License
46 stars 47 forks source link

Namespace not specified #43

Open jebaseelandev opened 1 month ago

jebaseelandev commented 1 month ago

Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl. Namespace not specified.

benneca commented 1 month ago

I am also getting this isssue

mikes222 commented 1 month ago

The only change that needs to be done is to insert the namespace into android/build.gradle. Fortunately someone (not me) has done this already. Until this issue is solved in this library you could for example use the following code:

# Device orientation, MIT License
auto_orientation: #^2.3.1
    git: https://github.com/Kanwarpalsingh1986/auto_orientation

Make sure to check back from time to time if this issue is already solved.