Clone the Repository
Alternative: Clone via SSH
Alternative: Clone via SSH
If you have SSH keys configured with GitHub:
Open in Android Studio
Open the project
- Select File > Open from the menu
- Navigate to the
threadlydirectory you just cloned - Click OK to open the project
Verify Project Configuration
After Gradle sync completes, verify your project setup:Sync successful? Your project is ready for the next steps.
Configure Build Variants
Threadly comes with two build variants:Debug Build
- Pre-configured with hosted backend URLs
- Suitable for development and testing
- No additional configuration needed
Release Build
- Optimized for production
- Configure signing keys for distribution
Build the Project
Select build variant
In Android Studio:
- Open Build > Select Build Variant
- Choose debug from the dropdown
Run the App
Connect a device or start an emulator
- Physical Device
- Emulator
- Enable Developer Options on your Android device
- Enable USB Debugging
- Connect via USB cable
- Verify device appears in Android Studio’s device dropdown
Run the app
Click the Run button (green play icon) or press:
- Windows/Linux:
Shift + F10 - macOS:
Control + R
Troubleshooting
Gradle sync failed
Gradle sync failed
- Check your internet connection
- Try File > Invalidate Caches / Restart
- Verify JDK 11 is properly configured
- Check Android Studio’s error messages for specific issues
Build errors
Build errors
- Ensure you have the latest Android SDK components installed
- Verify
compileSdk 36is available in SDK Manager - Clean and rebuild: Build > Clean Project then Build > Rebuild Project
App crashes on launch
App crashes on launch
- Verify you’ve completed Backend Setup
- Check Logcat for error messages
- Ensure device meets minimum SDK requirements (API 29+)
Next Steps
Backend Setup
Configure API and Socket.IO endpoints
Firebase Setup
Enable push notifications with FCM