Fixed, package name and R classes not found in custom module

This commit is contained in:
MohitMaliFtechiz 2023-11-26 14:33:52 +05:30 committed by Kelson
parent 1d7cbbd96b
commit 8f6cde05b3

View File

@ -33,7 +33,7 @@ android {
// Added namespace for every custom app to make it compatible with gradle 8.0 and above.
// This is now specified in the Gradle configuration instead of declaring
// it directly in the AndroidManifest file.
namespace = "org.kiwix.kiwixcustom$name"
namespace = "org.kiwix.kiwixmobile.custom"
File("$projectDir/src", "$name/$name.zim").let {
createDownloadTask(it)
createPublishApkWithExpansionTask(it, applicationVariants)