1

I keep facing this below error from android studio.

I've done all things from this post.

Could not get unknown property 'release' for SoftwareComponentInternal - Maven publish plugin project gradle

But nothing doesn't work.

Can you help me?

   Build file '/Users/hayat/Documents/chungchunon-RN-frontend/node_modules/expo-camera/android/build.gradle' line: 48
    
A problem occurred evaluating project ':expo'.
> A problem occurred configuring project ':expo-camera'.
   > Could not get unknown property 'release' for SoftwareComponentInternal set of type org.gradle.api.internal.component.DefaultSoftwareComponentContainer.

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating project ':expo'.
    at 
Hyejung
  • 902
  • 1
  • 8
  • 22
  • https://stackoverflow.com/questions/71365373/software-components-will-not-be-created-automatically-for-maven-publishing-from – CAMOBAP Nov 21 '22 at 10:32

1 Answers1

3

It's helped for me.

gradle.properties

it was

 android.disableAutomaticComponentCreation=true

changed

 #android.disableAutomaticComponentCreation=true