Erro namepace in android studio

Help me.
Namespace not specified. Please specify a namespace in the module’s build.gradle file like so:

android {
namespace ‘com.example.namespace’
}

check this Could not create an instance of type com.android.build.api.variant.impl.ApplicationVariantImpl. · Issue #23569 · opencv/opencv · GitHub