{"id":321,"date":"2023-03-27T17:43:26","date_gmt":"2023-03-27T09:43:26","guid":{"rendered":"https:\/\/doc.orionstar.com\/en\/?post_type=lsvr_faq&#038;p=321"},"modified":"2023-08-07T19:57:08","modified_gmt":"2023-08-07T11:57:08","slug":"opk-apk-development-environment-switch-3","status":"publish","type":"lsvr_faq","link":"https:\/\/doc.orionstar.com\/en\/faq\/opk-apk-development-environment-switch-3\/","title":{"rendered":"OPK\/APK development environment switch"},"content":{"rendered":"\n<p>There are only two ways to correctly load the robot ability component of the installed APK:<\/p>\n\n\n\n<p><strong>1. Through the robot application center, click apk to run.<\/strong><a href=\"https:\/\/ainirobot.gatsbyjs.io\/docs\/faq\/faq\/#code-faq-apk-faq-1-through-the-robot-application-center-click-apk-to-run\"><\/a><\/p>\n\n\n\n<p>The specific method is: pull down with three fingers on the robot screen -&gt; all applications -&gt; find the APK and enter.<\/p>\n\n\n\n<p>If you need a debug program, you can open the APK in this way, and then the attach process can be debugged.<\/p>\n\n\n\n<p>For example, we want to open a developer demo Demo:<\/p>\n\n\n\n<figure class=\"wp-block-video aligncenter\"><video controls src=\"https:\/\/ainirobot.gatsbyjs.io\/assets\/docs\/kyma\/master\/faq\/docs\/assets\/set_home.mp4\"><\/video><\/figure>\n\n\n\n<p><strong>2. Set the APK as the default APK.<\/strong><a href=\"https:\/\/ainirobot.gatsbyjs.io\/docs\/faq\/faq\/#code-faq-apk-faq-2-set-the-apk-as-the-default-apk\"><\/a><\/p>\n\n\n\n<p>This method is not suitable for debugging, please refer to the&nbsp;<a href=\"https:\/\/ainirobot.gatsbyjs.io\/docs\/apk\/apk-development\/#sdk-access-sdk-access\" target=\"_blank\" rel=\"noreferrer noopener\">SDK access<\/a>&nbsp;part in apk development for details.<\/p>\n\n\n\n<p>If you use Android studio&#8217;s run or debug to directly start the apk, it will not be able to load the robot ability components correctly, remember.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are only two ways to correctly load the robot ability component of the installed APK: 1. Through the robot application center, click apk to run. The specific method is: pull down with three fingers on the robot screen -&gt; all applications -&gt; find the APK and enter. If you need a debug program, you [&hellip;]<\/p>\n","protected":false},"author":1,"template":"","meta":[],"lsvr_faq_cat":[12],"lsvr_faq_tag":[],"_links":{"self":[{"href":"https:\/\/doc.orionstar.com\/en\/wp-json\/wp\/v2\/lsvr_faq\/321"}],"collection":[{"href":"https:\/\/doc.orionstar.com\/en\/wp-json\/wp\/v2\/lsvr_faq"}],"about":[{"href":"https:\/\/doc.orionstar.com\/en\/wp-json\/wp\/v2\/types\/lsvr_faq"}],"author":[{"embeddable":true,"href":"https:\/\/doc.orionstar.com\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":2,"href":"https:\/\/doc.orionstar.com\/en\/wp-json\/wp\/v2\/lsvr_faq\/321\/revisions"}],"predecessor-version":[{"id":325,"href":"https:\/\/doc.orionstar.com\/en\/wp-json\/wp\/v2\/lsvr_faq\/321\/revisions\/325"}],"wp:attachment":[{"href":"https:\/\/doc.orionstar.com\/en\/wp-json\/wp\/v2\/media?parent=321"}],"wp:term":[{"taxonomy":"lsvr_faq_cat","embeddable":true,"href":"https:\/\/doc.orionstar.com\/en\/wp-json\/wp\/v2\/lsvr_faq_cat?post=321"},{"taxonomy":"lsvr_faq_tag","embeddable":true,"href":"https:\/\/doc.orionstar.com\/en\/wp-json\/wp\/v2\/lsvr_faq_tag?post=321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}