{"id":202,"date":"2022-02-04T19:29:15","date_gmt":"2022-02-04T19:29:15","guid":{"rendered":"https:\/\/gkokot.com\/?p=202"},"modified":"2022-02-05T11:25:56","modified_gmt":"2022-02-05T11:25:56","slug":"flutter-doctor-android-licenses-not-accepted","status":"publish","type":"post","link":"https:\/\/gkokot.com\/?p=202","title":{"rendered":"Flutter doctor \u2013 Android licenses status unknown"},"content":{"rendered":"\n<p class=\"has-black-color has-text-color\">Command :&gt; <em><strong>Flutter doctor &#8211;android-licenses -&gt;<\/strong><\/em> generate following exception :<br>Exception in thread &#8220;main&#8221; java.lang.NoClassDefFoundError: javax\/xml\/bind\/annotation\/XmlSchema<br>at com.android.repository.api.SchemaModule $SchemaModuleVersion.(SchemaModule.java:156)<br>at com.android.repository.api.SchemaModule. (SchemaModule.java:75)<br>at com.android.sdklib.repository.AndroidSdkHandler.(AndroidSdkHandler.java:81)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"271\" src=\"https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture1-1024x271.png\" alt=\"\" class=\"wp-image-203\" srcset=\"https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture1-1024x271.png 1024w, https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture1-300x79.png 300w, https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture1-768x203.png 768w, https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture1.png 1203w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Flutter doctor display<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"275\" src=\"https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture2-1024x275.png\" alt=\"\" class=\"wp-image-204\" srcset=\"https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture2-1024x275.png 1024w, https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture2-300x81.png 300w, https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture2-768x206.png 768w, https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture2.png 1203w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Flutter doctor &#8211;android-licences display<\/figcaption><\/figure>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-small-font-size\"><\/p>\n\n\n\n<p class=\"has-large-font-size\">Solution<\/p>\n\n\n\n<p>Go to Android Studio and display settings for Android SDK.<br>Install \u201cAndroid SDK Command-line Tools\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"690\" src=\"https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture3-1024x690.png\" alt=\"\" class=\"wp-image-205\" srcset=\"https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture3-1024x690.png 1024w, https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture3-300x202.png 300w, https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture3-768x518.png 768w, https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture3.png 1203w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Android Studio settings<\/figcaption><\/figure>\n\n\n\n<p>Flutter doctor &#8211;android-licenses<br>All SDK package licenses accepted.======] 100% Computing updates\u2026<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"225\" src=\"https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture4-1024x225.png\" alt=\"\" class=\"wp-image-206\" srcset=\"https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture4-1024x225.png 1024w, https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture4-300x66.png 300w, https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture4-768x169.png 768w, https:\/\/gkokot.com\/wp-content\/uploads\/2022\/02\/FLPicture4.png 1203w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Command :&gt; Flutter doctor &#8211;android-licenses -&gt; generate following exception :Exception in thread &#8220;main&#8221; java.lang.NoClassDefFoundError: javax\/xml\/bind\/annotation\/XmlSchemaat<a class=\"readmore btn btn-info\" href=\"https:\/\/gkokot.com\/?p=202\" rel=\"nofollow\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":209,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,17],"tags":[],"class_list":["post-202","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android-studio","category-flutter"],"_links":{"self":[{"href":"https:\/\/gkokot.com\/index.php?rest_route=\/wp\/v2\/posts\/202"}],"collection":[{"href":"https:\/\/gkokot.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gkokot.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gkokot.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gkokot.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=202"}],"version-history":[{"count":6,"href":"https:\/\/gkokot.com\/index.php?rest_route=\/wp\/v2\/posts\/202\/revisions"}],"predecessor-version":[{"id":220,"href":"https:\/\/gkokot.com\/index.php?rest_route=\/wp\/v2\/posts\/202\/revisions\/220"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gkokot.com\/index.php?rest_route=\/wp\/v2\/media\/209"}],"wp:attachment":[{"href":"https:\/\/gkokot.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gkokot.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gkokot.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}