Android Studio错误:无法获取SoftwareComponentInternal集的未知属性'release'

4si2a6ki  于 2022-11-20  发布在  Android
关注(0)|答案(1)|浏览(503)

我一直面临着这个来自android工作室下面的错误。
我已经做了所有的事情从这个职位。
Could not get unknown property 'release' for SoftwareComponentInternal - Maven publish plugin project gradle
但没有什么是行不通的。
你能帮我吗?

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
js4nwp54

js4nwp541#

对我有帮助。

分级属性

它是

android.disableAutomaticComponentCreation=true

已更改

#android.disableAutomaticComponentCreation=true

相关问题