Skip to content

Commit eeddd67

Browse files
committed
Fixed paths
1 parent eac6995 commit eeddd67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/build-android-app.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,12 +412,12 @@ fi
412412
ba_log "Building Android gradle project using Codename One port"
413413
xvfb-run -a "${MAVEN_CMD[@]}" -q -f "$APP_DIR/pom.xml" package -DskipTests -Dcodename1.platform=android -Dcodename1.buildTarget=android-source -Dopen=false "${EXTRA_MVN_ARGS[@]}"
414414

415-
GRADLE_PROJECT_DIR=$(find "$APP_DIR/target" -maxdepth 2 -type d -name "*-android-source" | head -n 1 || true)
415+
GRADLE_PROJECT_DIR=$(find "$APP_DIR/android/target" -maxdepth 2 -type d -name "*-android-source" | head -n 1 || true)
416416

417417
if [ -z "$GRADLE_PROJECT_DIR" ]; then
418418
ba_log "Failed to locate generated Android project" >&2
419-
ba_log "Contents of $APP_DIR/target:" >&2
420-
ls -R "$APP_DIR" >&2 || ba_log "Unable to list $APP_DIR" >&2
419+
ba_log "Contents of $APP_DIR/android/target:" >&2
420+
ls -R "$APP_DIR/android/target" >&2 || ba_log "Unable to list $APP_DIR/android/target" >&2
421421
exit 1
422422
fi
423423

0 commit comments

Comments
 (0)