首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Android错误:无法获得SoftwareComponentInternal集的未知属性“发布”

Android错误:无法获得SoftwareComponentInternal集的未知属性“发布”
EN

Stack Overflow用户
提问于 2022-07-20 11:11:19
回答 1查看 298关注 0票数 1

我一直在面对来自android工作室的错误。

我做了这篇文章里的所有事情。

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

但没什么不管用的。

你能帮帮我吗?

代码语言:javascript
复制
   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 
EN

回答 1

Stack Overflow用户

发布于 2022-11-17 03:31:49

这对我有帮助。

gradle.properties

确实是

代码语言:javascript
复制
 android.disableAutomaticComponentCreation=true

变化

代码语言:javascript
复制
 #android.disableAutomaticComponentCreation=true
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73050616

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档