小蜗牛狂飙记 2023-04-04 17:48 采纳率: 100%
浏览 113
已结题

问题Failed to apply plugin 'com.android.internal.application'.



uild file 'D:\code\FirstActivity\app\build.gradle' line: 2

An exception occurred applying plugin request [id: 'com.android.application']
> Failed to apply plugin 'com.android.internal.application'.
   > Cannot parse project property android.nonTransitiveRClass='trueZs3e3s' of type 'class java.lang.String' as boolean. Expected 'true' or 'false'.

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

* Exception is:
org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'com.android.application']
    at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.exceptionOccurred(DefaultPluginRequestApplicator.java:223)
    at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugin(DefaultPluginRequestApplicator.java:205)
    at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugin(DefaultPluginRequestApplicator.java:147)
    at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.access$200(DefaultPluginRequestApplicator.java:61)
    at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator$1$1.lambda$add$1(DefaultPluginRequestApplicator.java:120)
    
    ... 207 more

提示是这里有问题

img


我很懵,求解决

  • 写回答

2条回答 默认 最新

  • 叶灼hua 2023-04-04 19:14
    关注

    根据部分错误提示:Cannot parse project property android.nonTransitiveRClass='trueZs3e3s' of type 'class java.lang.String' as boolean. Expected 'true' or 'false'.
    你把“trueZs3e3s”改为true看看,

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 4月12日
  • 已采纳回答 4月4日
  • 创建了问题 4月4日