To install gradle to your mac system you can follow this or this
As far as I know, PDE will never use the exported projects to build signed packages as it will use its default configuration of build and source files. Whenever a task is performed say generate signed package So files changing exported project will not work if you would try to generate signed package on PDE. Whenever a task is performed for building a signed package, a folder gets created for example in windows
This folder is used to create a signed package and it gets deleted as soon as the task gets completed. So it will never use the exported project to build the app. Changed
build.gradle file from the exported project will not work as it will use
build.gradle file from a temporary project which gets created every time a task is performed in the PDE.
I tried reproducing the issue and found that you are getting the following error-
Caused by: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:lintVitalRelease'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$3(ExecuteActionsTaskExecuter.java:186) at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:268
In the same error if you see the following line it means that you can easily fix it -
Caused by: com.android.builder.errors.EvalIssueException: Failed to parse XML in C:\Users\Name\AppData\Local\Temp\android805....05570sketch\app\src\main\AndroidManifest.xml The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file. at com.android.builder.errors.IssueReporter.reportError(IssueReporter.kt:106)
To fix this you need to remove the following line in
Documents\Processing\sketch_210910a\AndroidManifest.xml(The same file in which you have included the new package id)
<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="29"/> - this line needs to be removed in
I hope it will resolve.