Could not get unknown property 'metaData' for ProductFlavor_Decorated{name=main, dimension=null, minSdkVersion=DefaultApiVersion{mApiLevel=16, mCodename='null'}, targetSdkVersion=DefaultApiVersion{mApiLevel=21, mCodename='null'}, renderscriptTargetApi=null, renderscriptSupportModeEnabled=null, renderscriptSupportModeBlasEnabled=null, renderscriptNdkModeEnabled=null, versionCode=null, versionName=1.0.0, applicationId=pj128a.hprt.com.android, testApplicationId=null, testInstrumentationRunner=null, testInstrumentationRunnerArguments={}, testHandleProfiling=null, testFunctionalTest=null, signingConfig=null, resConfig=null, mBuildConfigFields={}, mResValues={}, mProguardFiles=[], mConsumerProguardFiles=[], mManifestPlaceholders={}, mWearAppUnbundled=null} of type com.android.build.gradle.internal.dsl.ProductFlavor.
时间: 2024-03-31 12:32:22 浏览: 129
这个错误提示是在 Gradle 构建时出现的。它表示在 ProductFlavor 中没有找到名为 metaData 的属性。可能是你在 ProductFlavor 中使用了这个属性,但是它并不存在。请检查你的代码,确保你使用的属性都是存在的。如果你不确定该如何解决问题,可以提供更多的上下文信息或者代码片段,这样我可以更好地帮助你解决问题。
阅读全文
相关推荐













