Issue
I'm trying to "make project" with Android Studio, and I'm getting this error:
Execution failed for task ':myApp:processGoogleDebugManifest'.
Could not get unknown property 'manifestOutputDirectory' for task ':myApp:processGoogleDebugManifest' of type com.android.build.gradle.tasks.ProcessMultiApkApplicationManifest.
Any help please?
EDIT: This error occurred after I updated to gradle v6.5 and plugin v4.1.0. If I revert to gradle v6.1.1 and plugin v4.0.0 the error disappears.
Solution
I encountered this same issue today, in my case it was caused by an outdated version of Huawei's AG Connect plugin. I was using com.huawei.agconnect:agcp:1.2.1.301
, but when I updated it to com.huawei.agconnect:agcp:1.4.1.300
the issue was fixed.
But if Huawei's plugin is not the problem you are having, you can debug the issue by running gradle
with --stacktrace
option to see where the issue originates from. In Android Studio you can add command line options for gradle
in Settings
/Build, Execution, Deployment
/Compiler
/Command-line options
.
Answered By - row
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.