We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef109fb commit 11a2d27Copy full SHA for 11a2d27
scripts/build-android-app.sh
@@ -412,7 +412,7 @@ fi
412
ba_log "Building Android gradle project using Codename One port"
413
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[@]}"
414
415
-GRADLE_PROJECT_DIR=$(find "$APP_DIR/target" -maxdepth 1 -type d -name "*-android-source" | head -n 1 || true)
+GRADLE_PROJECT_DIR=$(find "$APP_DIR/target" -maxdepth 2 -type d -name "*-android-source" | head -n 1 || true)
416
if [ -z "$GRADLE_PROJECT_DIR" ]; then
417
ba_log "Failed to locate generated Android project" >&2
418
exit 1
0 commit comments