In Android Studio, right-click on the id="iframe_0.3337842207984636" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://i.stack.imgur.com/zgcSy.png?_=4386043%22%20style=%22border:none;max-width:1113px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.3337842207984636',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-width: initial; border-style: none; width: 50px; height: 22px;"> folder and navigate to the Assets Folder
.
id="iframe_0.675528476841726" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://i.stack.imgur.com/kiILk.png?_=4386043%22%20style=%22border:none;max-width:1113px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.675528476841726',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-width: initial; border-style: none; width: 534px; height: 632px;">
On the next screen just click Finish
.
id="iframe_0.6923095103973123" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://i.stack.imgur.com/q0t34.png?_=4386043%22%20style=%22border:none;max-width:1113px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.6923095103973123',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-width: initial; border-style: none; width: 1080px; height: 649px;">
It will create the assets
folder in the main
target source set.
id="iframe_0.4650507503442103" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://i.stack.imgur.com/2o3SW.png?_=4386043%22%20style=%22border:none;max-width:1113px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.4650507503442103',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-width: initial; border-style: none; width: 213px; height: 144px;">
法三:
Looking inside the .iml file of your project you will see the following line:
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
Therefore the "assets" folder is already declared for Gradle but you need to create it under src/main/ (I'm using AS 0.4.2)