Getting Error in Pega Mobile Custom Module - Gradle Sync Failed

Hi,

I’m trying to create Pega Mobile Custom Module by following the steps from this article for creation.

I was able to create the custom module successfully, but while doing Gradle sync for this module in the android studio getting the below error.

2022-11-15 22:27:02,232 [12945657] WARN - ect.sync.GradleSyncStateHolder - Gradle sync failed: Could not find com.pega.gradle.plugins:gradle-pega-android-module:1.2.
Searched in the following locations:

In the devkit package, pmcModuleVersion is 1.2 and I have added the same in the custom module gradle.properties as well.

Any input would be really appreciated.

@Mateusz Pedzierski @matrm @RadoslawNowak @gabir @MarijeSchillern, Any inputs will be really helpful!

@SSrinivas
Which version of the Devkit are you using?
What do you have actually opened in Android Studio - the module directory, or the whole Devkit? It should be the Devkit project.
This path

file:/C:/Android/CustomModule/repository/com/pega/gradle/plugins/gradle-pega-android-module/1.2/gradle-pega-android-module-1.2.pom

leads me to that conclusion, since that plugin exists in

(…)/devkit/repository/com/pega/gradle/plugins/gradle-pega-android-module/1.2/gradle-pega-android-module-1.2.pom

not in the module directory

@gabir, Thanks for the response.

I opened Module Directory which is giving me this issue. But running from the devkit works fine.

Thanks!