#!/bin/bash echo "Checking Android project structure..." # Check if this is an Android project if [ -f "AndroidManifest.xml" ]; then echo "Found AndroidManifest.xml" else echo "Error: No AndroidManifest.xml found" exit 1 fi # Check if src directory exists if [ -d "src" ]; then echo "Found src directory" else echo "Error: No src directory found" exit 1 fi # Check if res directory exists if [ -d "res" ]; then echo "Found res directory" else echo "Error: No res directory found" exit 1 fi echo "Project structure is valid!" echo "The project should be ready to build with Android SDK tools." echo "You can use the following command to build the project:" echo "android update project -p . && ant debug"