Task 'bundleRelease' not found in root project
Prabha10cs opened this issue · 4 comments
Prabha10cs commented
- What went wrong:
Task 'bundleRelease' not found in root project
how to solve this in actions
amirisback commented
What do you name your flavor release? @Prabha10cs
amirisback commented
it should match your flavor build name release
amirisback commented
signingConfigs {
create("release") { // this name must match for call bundleRelease
// You need to specify either an absolute path or include the
// keystore file in the same directory as the build.gradle file.
// [PROJECT FOLDER NAME/app/[COPY YOUT KEY STORE] .jks in here
storeFile = file(ProjectSetting.KEY_PATH)
storePassword = ProjectSetting.KEY_STORE_PASSWORD
keyAlias = ProjectSetting.KEY_ALIAS
keyPassword = ProjectSetting.KEY_ALIAS_PASSWORD
}
}
buildTypes {
getByName("release") { // this name must match for call bundleRelease
isMinifyEnabled = false
// Disable Debug Mode
isDebuggable = false
isJniDebuggable = false
isRenderscriptDebuggable = false
isPseudoLocalesEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
// Generated Signed APK / AAB
signingConfig = signingConfigs.getByName("release")
}
}
amirisback commented