feat: comprehensive emulator launch scripts with performance optimizations

- Add GPU-accelerated launch scripts with NVIDIA optimization
- Implement network connectivity troubleshooting and fixes
- Add CPU cores and memory allocation for better performance
- Disable Bluetooth to prevent hangs and ANRs
- Create comprehensive troubleshooting documentation
- Add multiple launch modes: GPU, OpenGL, ANGLE, Mesa, Network Fix
- Include network verification and diagnostic tools
- Add maximum performance mode for high-end systems
- Update documentation with detailed configuration options

Key improvements:
- GPU acceleration with Vulkan support
- Explicit DNS servers (8.8.8.8, 1.1.1.1) for network reliability
- CPU cores allocation (6-8 cores) for better performance
- Memory allocation (4-6GB) for smooth operation
- Bluetooth disabled (-feature -Bluetooth) to prevent hangs
- Clean state launches (-no-snapshot-load, -wipe-data)
- Comprehensive troubleshooting guides and verification scripts

All scripts include proper error checking, environment validation,
and detailed performance monitoring instructions.
This commit is contained in:
Matthew Raymer
2025-10-13 12:52:53 +00:00
parent 9fdf77dbb0
commit 9b9dc25a8d
12 changed files with 1035 additions and 0 deletions

View File

@@ -311,6 +311,7 @@ const status = await DailyNotification.getDualScheduleStatus();
### Quick Smoke Test
For immediate validation of plugin functionality:
- **Android**: [Manual Smoke Test - Android](./docs/manual_smoke_test.md#android-platform-testing)
- **iOS**: [Manual Smoke Test - iOS](./docs/manual_smoke_test.md#ios-platform-testing)
- **Electron**: [Manual Smoke Test - Electron](./docs/manual_smoke_test.md#electron-platform-testing)
@@ -319,6 +320,31 @@ For immediate validation of plugin functionality:
Complete testing procedures: [docs/manual_smoke_test.md](./docs/manual_smoke_test.md)
### High-Performance Emulator Testing
For optimal Android emulator performance on Linux systems with NVIDIA graphics:
```bash
# Launch emulator with GPU acceleration
cd test-apps
./launch-emulator-gpu.sh
```
**Features:**
- Hardware GPU acceleration for smoother UI
- Vulkan graphics API support
- NVIDIA GPU offloading
- Fast startup and clean state
- Optimized for development workflow
See [test-apps/SETUP_GUIDE.md](./test-apps/SETUP_GUIDE.md#advanced-emulator-launch-gpu-acceleration) for detailed configuration.
**Troubleshooting GPU Issues:**
- [EMULATOR_TROUBLESHOOTING.md](./test-apps/EMULATOR_TROUBLESHOOTING.md) - Comprehensive GPU binding solutions
- Alternative GPU modes: OpenGL, ANGLE, Mesa fallback
- Performance verification and optimization tips
## Platform Requirements
### Android