Android Studio Layout or Compose Preview Not Showing
Workaround available Windows, macOS, Linux Updated November 13, 2026Based on 3 user reportsHow we research
Quick answer
A blank or failing preview usually means the project has not built, the preview's rendering target is too new for your setup, or caches are stale. Build first, then refresh or invalidate caches.
Most likely fix: Build the project
How to fix it
Try these in order — the most common fix is first.
1. Build the project
- Build > Make Project
- Fix any red errors; previews rely on a successful build
- Click the Build & Refresh bar above the preview
Did this fix it?2. Refresh or restart the preview
- Close and reopen the Split or Design view
- Use the refresh button in the preview toolbar
Did this fix it?3. Check theme and API level
- Pick a different device or API level in the preview toolbar
- Make sure the app theme in the manifest exists and the compileSdk platform is installed in SDK Manager
Did this fix it?4. Clear caches and give memory
- File > Invalidate Caches > Invalidate and Restart
- Increase IDE heap in Settings > Appearance & Behavior > System Settings > Memory Settings
Did this fix it?5. Update tools
- Update Android Studio and your Compose or AppCompat libraries to current stable versions
Did this fix it?
Symptoms
The Design or Split view is blank, shows 'Render problem' or 'Failed to load', or Compose @Preview never appears.
Why it happens
- Project has not built successfully (previews need a build)
- Compile errors elsewhere in the module
- Stale IDE caches or a preview that needs a refresh
- Mismatched compileSdk, theme or library versions
- Too little IDE memory
This guide also covers
- android studio layout preview not showing
- compose preview not working android studio
- android studio render problem
- android studio design view blank
Still not working?
If Android Studio keeps failing, you're not alone. See every Android Studio problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usOther Android Studio errors
- Android Studio Gradle Sync Failed
- Android Studio Emulator Not Starting
- Android Emulator HAXM / Hypervisor Error (VT-x, WHPX, AEHD)
- Android Studio Emulator Slow or Laggy
- Android Studio Device Offline or Not Detected (ADB)
- Android Studio Slow and Using Too Much RAM
- Android Studio Gradle Build Slow
- Android Studio SDK Location Not Found