Sainath S.R
Sainath S.R

Reputation: 3306

How to apply a patch in android studio?

I have only a few months android experiece .Recently I updated to android studio 1.2 and the update broke the preview pane , i would like to help with this bug by checking what works and what doesnt ,

It says here in the Known issues page

Workaround 3: If the above workarounds don't work for you, and you are on windows, please try downloading a build from https://drive.google.com/file/d/0B6b7eYGgoFdCTWFyYWlySExjUlE/view which probably solves the issue. Please report back on the issue tracker whether it worked for you or not.

and here is the issue tracker https://code.google.com/p/android/issues/detail?id=170841

I have downloaded the .zip file but have no idea what it means to apply the patch , and i'm currently working on some simple apps and would hate to break the IDE ,

PS: As soon as the bug is fixed i will also switch to the stable update channel

Upvotes: 13

Views: 29118

Answers (4)

Utkarsh Saxena
Utkarsh Saxena

Reputation: 41

Select Git from above Menu Bar and click on Patch, then select either of the two options.

Android Studio Menu - Git - Patch

Docs : https://www.jetbrains.com/help/idea/using-patches.html#apply-patch

Upvotes: 1

Daniel Cettour
Daniel Cettour

Reputation: 304

In my case, using Android Studio Artic Fox. Top Menu: Git -> Patch -> Apply patch (or "Apply Patch from Clipboard" if you have copied it)

Upvotes: 5

Dhaval Patel
Dhaval Patel

Reputation: 648

At Android Studio : Top menu Select VCS -> Apply Patch

Upvotes: 42

fToro
fToro

Reputation: 38

Try lowering the version used to render to API 21

On the right of the preview pane change the 22 to 21.

Upvotes: -2

Related Questions