{"id":692,"date":"2016-05-07T06:50:13","date_gmt":"2016-05-07T06:50:13","guid":{"rendered":"http:\/\/abhiandroid.com\/androidstudio\/?p=692"},"modified":"2018-06-05T07:23:37","modified_gmt":"2018-06-05T07:23:37","slug":"create-assets-folder-android-studio-html-files","status":"publish","type":"post","link":"https:\/\/abhiandroid.com\/androidstudio\/create-assets-folder-android-studio-html-files.html","title":{"rendered":"How To Add\/Create Assets Folder In Android Studio For HTML Files"},"content":{"rendered":"<p>You might have noticed that unlike Eclipse ADT Android Studio doesn&#8217;t have Assets folder which we usually use to keep our web files like HTML. Assets folder is saved under main folder: main\/assets:<\/p>\n<p>Here we will share step by step how to create Assets raw folder in Android Studio.<\/p>\n<hr \/>\n<h4><strong>How to add assets and raw folder in android Studio<\/strong><\/h4>\n<p><strong>Step 1<\/strong>: Open your android studio. Navigate to Android option.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-718\" src=\"\/androidstudio\/wp-content\/uploads\/2016\/05\/android-option-android-studio.jpg\" alt=\"android option android studio\" width=\"297\" height=\"176\" \/><\/p>\n<p><strong>Step 2<\/strong>: You will find app folder and Gradle Script. Right click on app folder goto <strong>New&gt; Folder&gt;Assets Folder.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-719\" src=\"\/androidstudio\/wp-content\/uploads\/2016\/05\/Assets-Folder-in-Android-Studio.jpg\" alt=\"Assets Folder in Android Studio\" width=\"527\" height=\"329\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2016\/05\/Assets-Folder-in-Android-Studio.jpg 527w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2016\/05\/Assets-Folder-in-Android-Studio-300x187.jpg 300w\" sizes=\"auto, (max-width: 527px) 100vw, 527px\" \/><\/p>\n<p><strong>Step 3<\/strong>: Android Studio will open a dialog box. Keep all the settings default. Under target source set, option <strong>main<\/strong> should be selected. and click finish.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-720\" src=\"\/androidstudio\/wp-content\/uploads\/2016\/05\/target-source-set-main-in-Assets-Folder.jpg\" alt=\"target source set main in Assets Folder\" width=\"554\" height=\"337\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2016\/05\/target-source-set-main-in-Assets-Folder.jpg 554w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2016\/05\/target-source-set-main-in-Assets-Folder-300x182.jpg 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p><strong>Step 4<\/strong>: Now open app folder. you will find your Assets folder by the name of <strong>&#8220;assets&#8221;.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-721\" src=\"\/androidstudio\/wp-content\/uploads\/2016\/05\/Assets-Folder-Created-in-App-Android-Studio.jpg\" alt=\"Assets Folder Created in App Android Studio\" width=\"206\" height=\"104\" \/><\/p>\n<p><strong>Next Read:<\/strong> <a href=\"\/androidstudio\/add-local-html-file-android-studio.html\">How To Add\/Create Local HTML File\u00a0In Assets Folder\u00a0In Android Studio<\/a><\/p>\n<p><strong>Also Read: <\/strong><br \/>\n1. <a href=\"\/ui\/webview\">WebView Tutorial<\/a><br \/>\n2. <a href=\"\/ui\/html\">HTML in Android Tutorial With Example<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You might have noticed that unlike Eclipse ADT Android Studio doesn&#8217;t have Assets folder which we usually use to keep our web files like HTML. Assets folder is saved under main folder: main\/assets: Here we will share step by step how to create Assets raw folder in Android Studio. How to add assets and raw &hellip; <a href=\"https:\/\/abhiandroid.com\/androidstudio\/create-assets-folder-android-studio-html-files.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How To Add\/Create Assets Folder In Android Studio For HTML Files<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[63,1,62],"tags":[],"class_list":["post-692","post","type-post","status-publish","format-standard","hentry","category-android-studio","category-archieve","category-tips"],"psp_head":"<title>How To Add\/Create Assets Folder In Android Studio For HTML Files \u2013 Abhi Android<\/title>\r\n<meta name=\"description\" content=\"Here we will share step by step how to create Assets raw folder in Android Studio which we usually use to keep our web files like HTML..\" \/>\r\n<meta name=\"robots\" content=\"index,follow\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/abhiandroid.com\/androidstudio\/create-assets-folder-android-studio-html-files.html\" \/>\r\n","_links":{"self":[{"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/posts\/692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/comments?post=692"}],"version-history":[{"count":1,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/posts\/692\/revisions"}],"predecessor-version":[{"id":1468,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/posts\/692\/revisions\/1468"}],"wp:attachment":[{"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/media?parent=692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/categories?post=692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/tags?post=692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}