Browse Source

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.
master
Matthew Raymer 4 days ago
parent
commit
34ab8b7b46
  1. 2
      scripts/build-native.sh

2
scripts/build-native.sh

@ -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

Loading…
Cancel
Save