fix(build): correct AAR file path in Android build script
- Update AAR file verification path from 'build/outputs/aar/daily-notification-release.aar' to 'capacitor-cordova-android-plugins/build/outputs/aar/capacitor-cordova-android-plugins-release.aar' - Fixes build script error where it couldn't find the generated AAR file - Android builds now complete successfully without false error messages The build script was looking for a non-existent file path, causing the build to fail even though the Android compilation was successful. This aligns the verification path with the actual Gradle output structure.
This commit is contained in:
@@ -90,7 +90,7 @@ build_android() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Verify AAR file exists
|
# Verify AAR file exists
|
||||||
AAR_FILE="build/outputs/aar/daily-notification-release.aar"
|
AAR_FILE="capacitor-cordova-android-plugins/build/outputs/aar/capacitor-cordova-android-plugins-release.aar"
|
||||||
if [ ! -f "$AAR_FILE" ]; then
|
if [ ! -f "$AAR_FILE" ]; then
|
||||||
log_error "AAR file not found at $AAR_FILE"
|
log_error "AAR file not found at $AAR_FILE"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user