- Updated UI to use AnimatedVisibility for loading indicator and empty state message. - Enhanced user feedback with a centered loading spinner and message during search. - Improved layout and spacing for search results and user items. - Adjusted colors and sizes for better visual consistency. chore: Update gradle.properties to use new Java 17 path - Changed Java home path to reflect new installation location. docs: Add comprehensive README for project setup and development - Included quick start instructions, available emulators, technologies used, and useful commands. - Documented project structure and debugging tips. - Added license information and contact details for the development team. build: Add development scripts for quick rebuild and installation - Created dev.sh for fast rebuild and install without cleaning. - Added run.sh for a complete build and install process with emulator checks. - Introduced watch-dev.sh for automatic rebuild on file changes.
36 lines
952 B
Bash
Executable File
36 lines
952 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Quick Dev Script - Fast rebuild and install
|
|
|
|
echo "🔄 Quick rebuild and install..."
|
|
|
|
# Check if emulator is running
|
|
if ! adb devices | grep -q "emulator"; then
|
|
echo "⚠️ Эмулятор не запущен. Запускаю..."
|
|
$ANDROID_HOME/emulator/emulator -avd Pixel_9_Pro_API_35 &
|
|
adb wait-for-device
|
|
|
|
# Wait for boot complete
|
|
while [ "$(adb shell getprop sys.boot_completed 2>/dev/null | tr -d '\r')" != "1" ]; do
|
|
sleep 2
|
|
done
|
|
fi
|
|
|
|
echo "📱 Эмулятор готов!"
|
|
|
|
# Fast install (no clean)
|
|
./gradlew installDebug --no-daemon
|
|
|
|
if [ $? -eq 0 ]; then
|
|
echo "✅ Установлено!"
|
|
|
|
# Auto-launch
|
|
adb shell am start -n com.rosetta.messenger/.MainActivity
|
|
|
|
echo ""
|
|
echo "🎉 Приложение запущено!"
|
|
echo "📝 Для просмотра логов: adb logcat | grep rosetta"
|
|
else
|
|
echo "❌ Ошибка установки"
|
|
fi
|