{"id":2163,"date":"2023-06-17T09:55:12","date_gmt":"2023-06-17T09:55:12","guid":{"rendered":"https:\/\/www.safewiper.com\/blog\/?p=2163"},"modified":"2023-06-17T09:55:12","modified_gmt":"2023-06-17T09:55:12","slug":"how-to-convert-java-file-to-kotlin-on-android-studio","status":"publish","type":"post","link":"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html","title":{"rendered":"How to Convert Java File to Kotlin on Android Studio"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_45_1 counter-hierarchy ez-toc-counter ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" area-label=\"ez-toc-toggle-icon-1\"><label for=\"item-69e749c3f0241\" aria-label=\"Table of Content\"><span style=\"display: flex;align-items: center;width: 35px;height: 30px;justify-content: center;direction:ltr;\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/label><input  type=\"checkbox\" id=\"item-69e749c3f0241\"><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html\/#Video_Tutorial\" title=\"Video Tutorial:\">Video Tutorial:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html\/#Why_You_Need_to_Convert_Java_File_to_Kotlin_on_Android_Studio\" title=\"Why You Need to Convert Java File to Kotlin on Android Studio\">Why You Need to Convert Java File to Kotlin on Android Studio<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html\/#Method_1_Using_Android_Studio\" title=\"Method 1: Using Android Studio\">Method 1: Using Android Studio<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html\/#Method_2_Using_IntelliJ_IDEA\" title=\"Method 2: Using IntelliJ IDEA\">Method 2: Using IntelliJ IDEA<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html\/#Method_3_Using_an_Automated_Conversion_Tool\" title=\"Method 3: Using an Automated Conversion Tool\">Method 3: Using an Automated Conversion Tool<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html\/#What_to_Do_If_You_Cant_Convert_Java_File_to_Kotlin_on_Android_Studio\" title=\"What to Do If You Can&#8217;t Convert Java File to Kotlin on Android Studio\">What to Do If You Can&#8217;t Convert Java File to Kotlin on Android Studio<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html\/#Bonus_Tip\" title=\"Bonus Tip\">Bonus Tip<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html\/#5_FAQs\" title=\"5 FAQs\">5 FAQs<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html\/#Final_Thoughts\" title=\"Final Thoughts\">Final Thoughts<\/a><\/li><\/ul><\/nav><\/div>\n<p>Kotlin is a statically typed programming language that runs on the Java Virtual Machine (JVM). It was designed to address some of the issues of Java and provides better code readability, concise syntax, and improved performance. The language has gained significant popularity among android developers because of its compatibility with existing Java codebases.<\/p>\n<p>If you are an android developer, the chances are that you must have come across Java files and codebases. Many of these files might need to be migrated to Kotlin for seamless integration with Kotlin codebases. This is where learning how to convert Java files to Kotlin becomes important.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Video_Tutorial\"><\/span>Video Tutorial:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<lite-youtube videoid=\"3QwbL4uypIQ\" playlabel=\"Play: Keynote (Google I\/O '18)\"><\/lite-youtube>\n <\/p>\n<h2><span class=\"ez-toc-section\" id=\"Why_You_Need_to_Convert_Java_File_to_Kotlin_on_Android_Studio\"><\/span>Why You Need to Convert Java File to Kotlin on Android Studio<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>There are several reasons why you might need to convert a Java file to Kotlin in an android project. Firstly, Kotlin is a modern language that provides more concise syntax and a cleaner code structure, making it easier to read and write code. Secondly, Kotlin is compatible with Java, so it can be easily integrated with existing Java codebases.<\/p>\n<p>Kotlin is also designed to address most of the issues that developers face while programming in Java, such as null safety and type inference. Kotlin is less verbose, which means that it can help you write more efficient code with fewer lines.<\/p>\n<p>Lastly, Google has declared Kotlin as the official language for android development, which means that the android development community has embraced Kotlin as the preferred language for developing android applications. Therefore, if you want to stay relevant in the android development industry, learning how to convert Java files to Kotlin is a must.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Method_1_Using_Android_Studio\"><\/span>Method 1: Using Android Studio<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Converting Java files to Kotlin in Android Studio is straightforward and requires only a few steps. Follow the steps below:<\/p>\n<p>1. Open Android Studio and navigate to the Java file you want to convert.<br \/>\n2. Right-click on the Java file and select `Convert Java File to Kotlin File`.<br \/>\n3. Android Studio will provide you with a preview of the converted file. Make any necessary changes to the file&#8217;s Kotlin code.<br \/>\n4. Click on the `Convert` button to complete the conversion process.<\/p>\n<p><b>Pros:<\/b><br \/>\n&#8211; Quick and easy to use.<br \/>\n&#8211; You can preview the converted code before completing the conversion.<\/p>\n<p><b>Cons:<\/b><br \/>\n&#8211; You may need to manually modify some parts of the Kotlin code after conversion.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Method_2_Using_IntelliJ_IDEA\"><\/span>Method 2: Using IntelliJ IDEA<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>IntelliJ IDEA is another popular Integrated Development Environment (IDE) for android development. It also allows you to convert Java files to Kotlin files easily. Follow the steps below:<\/p>\n<p>1. Open IntelliJ IDEA and navigate to the Java file you want to convert.<br \/>\n2. Right-click on the Java file and select `Convert Java File to Kotlin File`.<br \/>\n3. IntelliJ IDEA will provide you with a preview of the converted file. Make any necessary changes to the file&#8217;s Kotlin code.<br \/>\n4. Click on the `Convert` button to complete the conversion process.<\/p>\n<p><b>Pros:<\/b><br \/>\n&#8211; Allows you to preview the converted code before completing the conversion.<br \/>\n&#8211; IntelliJ IDEA has many powerful features for code refactoring, which can help you optimize the converted code.<\/p>\n<p><b>Cons:<\/b><br \/>\n&#8211; You may need to manually modify some parts of the Kotlin code after conversion.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Method_3_Using_an_Automated_Conversion_Tool\"><\/span>Method 3: Using an Automated Conversion Tool<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Several automated conversion tools are available online that allow you to convert Java files to Kotlin files. These tools are designed to convert Java code to Kotlin code automatically, without any human intervention. Follow the steps below:<\/p>\n<p>1. Search for online automated conversion tools for Java files to Kotlin files.<br \/>\n2. Upload the Java file you want to convert to the conversion tool.<br \/>\n3. The conversion tool will automatically convert the file and provide you with the result.<br \/>\n4. Review the converted code and make any necessary changes.<\/p>\n<p><b>Pros:<\/b><br \/>\n&#8211; Quick and easy to use.<br \/>\n&#8211; No need for human intervention.<\/p>\n<p><b>Cons:<\/b><br \/>\n&#8211; The converted code may not be entirely accurate.<br \/>\n&#8211; The tool may not support all Java features.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_to_Do_If_You_Cant_Convert_Java_File_to_Kotlin_on_Android_Studio\"><\/span>What to Do If You Can&#8217;t Convert Java File to Kotlin on Android Studio<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you encounter issues while converting Java files to Kotlin in Android Studio, there are several steps you can take to fix the problem:<\/p>\n<p>1. Check that you are using the latest version of Android Studio.<br \/>\n2. Check that you have the Kotlin plugin installed in Android Studio.<br \/>\n3. Manually convert the Java file to Kotlin by writing the Kotlin code from scratch.<br \/>\n4. Contact the Android Studio support team for help.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Bonus_Tip\"><\/span>Bonus Tip<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>When converting Java files to Kotlin files, try to familiarize yourself with the Kotlin language&#8217;s syntax and coding conventions. This will help you optimize the converted code and make any necessary changes efficiently.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"5_FAQs\"><\/span>5 FAQs<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h4>Q1: Is it possible to convert Kotlin files to Java files?<\/h4>\n<p>A: Yes, it is possible to convert Kotlin files to Java files using the `Convert Kotlin File to Java File` option in Android Studio.<\/p>\n<h4>Q2: Can I use Java and Kotlin in the same Android project?<\/h4>\n<p>A: Yes, Kotlin and Java are fully interoperable, so you can use both languages in the same Android project.<\/p>\n<h4>Q3: Is Kotlin harder to learn than Java?<\/h4>\n<p>A: Not necessarily. Kotlin was designed to be more concise and more accessible than Java, which makes it a great language to learn for beginners.<\/p>\n<h4>Q4: Do I need to learn Kotlin to develop Android applications?<\/h4>\n<p>A: No, it is not strictly necessary to learn Kotlin to develop Android applications. However, as Kotlin becomes more popular among android developers, it is becoming an essential skill to have.<\/p>\n<h4>Q5: Is Kotlin better than Java for Android development?<\/h4>\n<p>A: Kotlin is statistically faster, more concise, and more maintainable than Java for Android development. Therefore, many android developers prefer Kotlin over Java.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Final_Thoughts\"><\/span>Final Thoughts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Converting Java files to Kotlin files is essential if you want to stay up-to-date with the latest android development trends. Android Studio and IntelliJ IDEA provide excellent tools for Java-to-Kotlin conversion, while automated conversion tools can make the process even easier. Remember to familiarize yourself with the Kotlin language&#8217;s syntax and best practices to optimize the converted code.<script type=\"application\/ld+json\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\" Is it possible to convert Kotlin files to Java files?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\" Yes, it is possible to convert Kotlin files to Java files using the `Convert Kotlin File to Java File` option in Android Studio.\"}},{\"@type\":\"Question\",\"name\":\" Can I use Java and Kotlin in the same Android project?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\" Yes, Kotlin and Java are fully interoperable, so you can use both languages in the same Android project.\"}},{\"@type\":\"Question\",\"name\":\" Is Kotlin harder to learn than Java?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\" Not necessarily. Kotlin was designed to be more concise and more accessible than Java, which makes it a great language to learn for beginners.\"}},{\"@type\":\"Question\",\"name\":\" Do I need to learn Kotlin to develop Android applications?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\" No, it is not strictly necessary to learn Kotlin to develop Android applications. However, as Kotlin becomes more popular among android developers, it is becoming an essential skill to have.\"}},{\"@type\":\"Question\",\"name\":\" Is Kotlin better than Java for Android development?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\" Kotlin is statistically faster, more concise, and more maintainable than Java for Android development. Therefore, many android developers prefer Kotlin over Java.\"}}]}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kotlin is a statically typed programming language that runs on the Java Virtual Machine (JVM). It was designed to address some of the issues of Java and provides better code readability, concise syntax, and improved performance. The language has gained significant popularity among android developers because of its compatibility with existing Java codebases. If you &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html\"> <span class=\"screen-reader-text\">How to Convert Java File to Kotlin on Android Studio<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[3],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Convert Java File To Kotlin On Android Studio<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Convert Java File to Kotlin on Android Studio\" \/>\n<meta property=\"og:description\" content=\"Kotlin is a statically typed programming language that runs on the Java Virtual Machine (JVM). It was designed to address some of the issues of Java and provides better code readability, concise syntax, and improved performance. The language has gained significant popularity among android developers because of its compatibility with existing Java codebases. If you &hellip; How to Convert Java File to Kotlin on Android Studio Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-17T09:55:12+00:00\" \/>\n<meta name=\"author\" content=\"James Hoodja\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Hoodja\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html\",\"url\":\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html\",\"name\":\"How to Convert Java File to Kotlin on Android Studio\",\"isPartOf\":{\"@id\":\"https:\/\/www.safewiper.com\/blog\/#website\"},\"datePublished\":\"2023-06-17T09:55:12+00:00\",\"dateModified\":\"2023-06-17T09:55:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.safewiper.com\/blog\/#\/schema\/person\/3761e0cfad421f8c647367fc872b5c0f\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.safewiper.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Convert Java File to Kotlin on Android Studio\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.safewiper.com\/blog\/#website\",\"url\":\"https:\/\/www.safewiper.com\/blog\/\",\"name\":\"\",\"description\":\"Share the most comprehensive deletion solution about Android\/iPhone\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.safewiper.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.safewiper.com\/blog\/#\/schema\/person\/3761e0cfad421f8c647367fc872b5c0f\",\"name\":\"James Hoodja\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.safewiper.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f08ff9007faef9008a4042248581c8ed?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f08ff9007faef9008a4042248581c8ed?s=96&d=mm&r=g\",\"caption\":\"James Hoodja\"},\"url\":\"https:\/\/www.safewiper.com\/blog\/author\/hoodja\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Convert Java File To Kotlin On Android Studio","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html","og_locale":"en_US","og_type":"article","og_title":"How to Convert Java File to Kotlin on Android Studio","og_description":"Kotlin is a statically typed programming language that runs on the Java Virtual Machine (JVM). It was designed to address some of the issues of Java and provides better code readability, concise syntax, and improved performance. The language has gained significant popularity among android developers because of its compatibility with existing Java codebases. If you &hellip; How to Convert Java File to Kotlin on Android Studio Read More &raquo;","og_url":"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html","article_published_time":"2023-06-17T09:55:12+00:00","author":"James Hoodja","twitter_card":"summary_large_image","twitter_misc":{"Written by":"James Hoodja","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html","url":"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html","name":"How to Convert Java File to Kotlin on Android Studio","isPartOf":{"@id":"https:\/\/www.safewiper.com\/blog\/#website"},"datePublished":"2023-06-17T09:55:12+00:00","dateModified":"2023-06-17T09:55:12+00:00","author":{"@id":"https:\/\/www.safewiper.com\/blog\/#\/schema\/person\/3761e0cfad421f8c647367fc872b5c0f"},"breadcrumb":{"@id":"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.safewiper.com\/blog\/how-to-convert-java-file-to-kotlin-on-android-studio.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.safewiper.com\/blog"},{"@type":"ListItem","position":2,"name":"How to Convert Java File to Kotlin on Android Studio"}]},{"@type":"WebSite","@id":"https:\/\/www.safewiper.com\/blog\/#website","url":"https:\/\/www.safewiper.com\/blog\/","name":"","description":"Share the most comprehensive deletion solution about Android\/iPhone","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.safewiper.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.safewiper.com\/blog\/#\/schema\/person\/3761e0cfad421f8c647367fc872b5c0f","name":"James Hoodja","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.safewiper.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f08ff9007faef9008a4042248581c8ed?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f08ff9007faef9008a4042248581c8ed?s=96&d=mm&r=g","caption":"James Hoodja"},"url":"https:\/\/www.safewiper.com\/blog\/author\/hoodja"}]}},"_links":{"self":[{"href":"https:\/\/www.safewiper.com\/blog\/wp-json\/wp\/v2\/posts\/2163"}],"collection":[{"href":"https:\/\/www.safewiper.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.safewiper.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.safewiper.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.safewiper.com\/blog\/wp-json\/wp\/v2\/comments?post=2163"}],"version-history":[{"count":1,"href":"https:\/\/www.safewiper.com\/blog\/wp-json\/wp\/v2\/posts\/2163\/revisions"}],"predecessor-version":[{"id":2186,"href":"https:\/\/www.safewiper.com\/blog\/wp-json\/wp\/v2\/posts\/2163\/revisions\/2186"}],"wp:attachment":[{"href":"https:\/\/www.safewiper.com\/blog\/wp-json\/wp\/v2\/media?parent=2163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.safewiper.com\/blog\/wp-json\/wp\/v2\/categories?post=2163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.safewiper.com\/blog\/wp-json\/wp\/v2\/tags?post=2163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}