+ 4

Preview is not working in Android Studio

I just started with Android Studio , but the preview doesn't work , it shows me this message: " Preview is unavailable until successful build?" What can I do to solve this issue ? Thanks

25th Oct 2018, 3:06 PM
Try It Yourself
Try It Yourself - avatar
4 Réponses
0
you gradle has some problem and it can't build your app correctly. Dose it have an error like this at the top?? gradle sync fail
25th Oct 2018, 8:21 PM
AmirFrb
AmirFrb - avatar
0
It says Gradle project sync failed and " design editor is unavailable until a successful build "
25th Oct 2018, 8:38 PM
Try It Yourself
Try It Yourself - avatar
0
ok , you must do several works to solve this. first go to file>setting and deselect wrap , instead select local Gradle path .
26th Oct 2018, 7:10 AM
AmirFrb
AmirFrb - avatar
0
Oh Ok I'll try it !! Thx
26th Oct 2018, 6:30 PM
Try It Yourself
Try It Yourself - avatar