{"id":49,"date":"2022-08-21T13:10:50","date_gmt":"2022-08-21T08:40:50","guid":{"rendered":"https:\/\/parmin.cloud\/blog\/?p=49"},"modified":"2024-10-24T15:59:00","modified_gmt":"2024-10-24T12:29:00","slug":"android-emulator-as-a-service","status":"publish","type":"post","link":"https:\/\/parmin.cloud\/blog\/android-emulator-as-a-service\/","title":{"rendered":"\u0633\u0631\u0648\u06cc\u0633 \u0634\u0628\u06cc\u0647 \u0633\u0627\u0632 \u0627\u0646\u062f\u0631\u0648\u06cc\u062f"},"content":{"rendered":"<p>\u0633\u0644\u0627\u0645 \u0627\u0645\u0631\u0648\u0632 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0645\u06cc\u062e\u0648\u0627\u0647\u06cc\u0645 \u0628\u0627\u0647\u0645 \u0646\u06af\u0627\u0647\u06cc \u0628\u0647 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0634\u0628\u06cc\u0647 \u0633\u0627\u0632 \u0627\u0646\u062f\u0631\u0648\u06cc\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u0645 \u0627\u0648\u0644 \u0627\u0632 \u0647\u0645\u0647 \u0628\u0627\u06cc\u062f \u0628\u062f\u0648\u0646\u06cc\u0645 \u06a9\u0647 \u0645\u0627 \u0628\u0631\u0627\u06cc \u0686\u06cc \u0628\u0647 \u0634\u0628\u06cc\u0647 \u0633\u0627\u0632 \u0627\u0646\u062f\u0631\u0648\u06cc\u062f \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0633\u0631\u0648\u06cc\u0633 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u0645<\/p>\n<ul>\n<li>\u0645\u062f\u06cc\u0631\u06cc\u062a \u0628\u0647\u062a\u0631 \u0645\u0646\u0627\u0628\u0639 \u0648 \u0631\u06cc\u0633\u0648\u0631\u0633 \u0628\u0631\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0647\u0627\u06cc \u062f\u0633\u06a9\u062a\u0627\u067e<\/li>\n<li>\u062f\u0627\u0634\u062a\u0646 \u0634\u0628\u06cc\u0647 \u0633\u0627\u0632 \u0627\u0646\u062f\u0631\u0648\u06cc\u062f \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u0631\u06a9\u0632\u06cc \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0633\u0627\u06cc\u0631 \u062f\u0633\u062a\u06af\u0627\u0647 \u0647\u0627<\/li>\n<li>\u0645\u0634\u0627\u0647\u062f\u0647 \u0627\u0646\u0644\u0627\u06cc\u0646 \u0648 \u0627\u0634\u062a\u0631\u0627\u06a9 \u06af\u0630\u0627\u0631\u06cc \u0647\u0645\u0647 \u062a\u063a\u06cc\u0631\u0627\u062a \u062f\u0631 \u067e\u0631\u0648\u0698\u0647 \u0647\u0627<\/li>\n<\/ul>\n<p>\u062d\u0627\u0644\u0627 \u0628\u0627\u0647\u0645 \u0631\u0648\u0646\u062f \u06a9\u0627\u0631 \u0631\u0648 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u06a9\u0646\u06cc\u0645 :<\/p>\n<p>\u0646\u06cc\u0627\u0632\u0645\u0646\u062f\u06cc \u0647\u0627 :<\/p>\n<ul>\n<li>\u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u062f\u0628\u06cc\u0627\u0646<\/li>\n<li>\u0646\u0635\u0628 \u0648 \u0641\u0639\u0627\u0644 \u0628\u0648\u062f\u0646 docker, git, python (and pip), docker-compose<\/li>\n<li>\u0646\u0635\u0628 \u0648 \u0641\u0639\u0627\u0644 \u0628\u0648\u062f\u0646 qemu-kvm<\/li>\n<\/ul>\n<p>\u062d\u0627\u0644\u0627 \u0628\u0632\u0646 \u0628\u0631\u06cc\u0645 !<\/p>\n<p>\u062f\u0631 \u0627\u0628\u062a\u062f\u0627 \u0628\u0627\u06cc\u062f \u0627\u0632 \u0631\u06cc\u067e\u0627\u0632\u06cc\u062a\u0648\u0631\u06cc https:\/\/github.com\/google\/android-emulator-container-scripts \u06a9\u0644\u0648\u0646 \u0628\u06af\u06cc\u0631\u06cc\u0645 \u0648 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 cd \u0648\u0627\u0631\u062f \u067e\u0648\u0634\u0647 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0628\u0634\u06cc\u0645<\/p>\n<p>\u062d\u0627\u0644\u0627 \u062f\u0631 \u067e\u0648\u0634\u0647 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u06a9\u0627\u0645\u0646\u062f source .\/configure.sh \u0631\u0648 \u0648\u0627\u0631\u062f \u0645\u06cc\u06a9\u0646\u06cc\u0645 \u0648 \u0628\u0639\u062f \u0627\u0632 \u0627\u06cc\u0646\u06a9\u0647 \u0647\u0645\u0647 \u0686\u06cc\u0632 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0634\u062f<\/p>\n<p>\u062d\u0627\u0644\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 <span style=\"background-color: #e9ebec; color: #222222; font-family: Consolas, Monaco, monospace;\">emu-docker licenses\u00a0<\/span> \u0645\u062c\u0648\u0632 \u0627\u062c\u0631\u0627 \u0631\u0648 \u062a\u0627\u06cc\u06cc\u062f \u0645\u06cc\u06a9\u0646\u06cc\u0645 \u0648 \u0633\u067e\u0633 <code class=\" language-bash\" data-lang=\"bash\">emu-docker list <\/code> \u0648\u0627\u0631\u062f \u0645\u06cc\u06a9\u0646\u06cc\u0645<\/p>\n<p>\u062d\u0627\u0644\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632\u062f\u0633\u062a\u0648\u0631 <code class=\" language-bash\" data-lang=\"bash\">emu-docker create <span class=\"token operator\">&lt;<\/span>emulator image<span class=\"token operator\">&gt;<\/span> <span class=\"token operator\">&lt;<\/span>system image<span class=\"token operator\">&gt;<\/span> \u00a0<\/code>\u06a9\u0627\u0646\u062a\u06cc\u0646\u0631 \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u06a9\u0646\u06cc\u0645<\/p>\n<div class=\"highlight\">\n<div class=\"code-toolbar\">\n<pre class=\" language-bash\" tabindex=\"0\"><\/pre>\n<\/div>\n<\/div>\n<p>\u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0631\u0627\u0628\u0637 \u06a9\u0627\u0631\u0628\u0631\u06cc \u062a\u062d\u062a \u0648\u0628 \u062f\u0633\u062a\u0631\u0633\u06cc \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u06a9\u0646\u06cc\u0645<\/p>\n<div class=\"highlight\">\n<div class=\"code-toolbar\">\n<pre class=\" language-bash\" tabindex=\"0\"><code class=\" language-bash\" data-lang=\"bash\">.\/create_web_container.sh -p <span class=\"token operator\">&lt;<\/span>emulator_webview_username<span class=\"token operator\">&gt;<\/span>,<span class=\"token operator\">&lt;<\/span>emulator_webview_password<span class=\"token operator\">&gt;<\/span> <\/code><\/pre>\n<div class=\"toolbar\">\n<div class=\"toolbar-item\">\u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u06a9\u0627\u0631<\/div>\n<div>\n<div class=\"highlight\">\n<div class=\"code-toolbar\">\n<pre class=\" language-bash\" tabindex=\"0\"><code class=\" language-bash\" data-lang=\"bash\"><span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> coturn systemctl stop coturn \r\n\r\n\r\n\u0641\u0627\u06cc\u0644 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0631\u0648 \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u062f\u0647\u06cc\u0645<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"highlight\">\n<div class=\"code-toolbar\">\n<pre class=\" language-bash\" tabindex=\"0\"><code class=\" language-bash\" data-lang=\"bash\"><span class=\"token function\">vim<\/span> \/etc\/default\/coturn  <span class=\"token assign-left variable\">TURNSERVER_ENABLED<\/span><span class=\"token operator\">=<\/span><span class=\"token number\">1<\/span> \r\n\r\n<\/code><\/pre>\n<div class=\"toolbar\">\n<div class=\"toolbar-item\">\u0628\u0631\u0627\u06cc \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0646\u0647\u0627\u06cc\u06cc \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062e\u0648\u062f \u0631\u0627 \u0637\u0628\u0642 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u062c\u0627\u06cc\u06af\u0630\u0627\u0631\u06cc \u06a9\u0646\u06cc\u062f<\/div>\n<div>\n<div class=\"highlight\">\n<div class=\"code-toolbar\">\n<pre class=\" language-bash\" tabindex=\"0\"><code class=\" language-bash\" data-lang=\"bash\"><span class=\"token function\">vim<\/span> \/etc\/default\/coturn  lt-cred-mech  <span class=\"token comment\">#set your realm name  realm=&lt;coturn_realm&gt;  #coturn username and password  user=&lt;coturn_username&gt;:&lt;coturn_password&gt;  external-ip=&lt;host_public_ip&gt;\/&lt;host_private_ip&gt; \r\n\r\n\r\n<\/span><\/code><\/pre>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0628\u0627\u06cc\u062f \u0633\u0631\u0648\u06cc\u0633 \u0647\u0627 \u0631\u0627 \u0627\u0633\u062a\u0627\u0631\u062a \u06a9\u0646\u06cc\u062f<\/p>\n<p>systemctl start coturn systemctl <span class=\"token builtin class-name\">enable<\/span> coturn<\/p>\n<\/div>\n<\/div>\n<p>\u0647\u0645\u0686\u0646\u06cc\u0646 \u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0645\u06cc\u062e\u0627\u0647\u06cc\u062f \u0628\u0647 \u062f\u0648\u0631 \u0627\u0632 \u067e\u06cc\u0686\u06cc\u062f\u06af\u06cc \u0641\u0646\u06cc \u0648 \u0645\u0634\u06a9\u0644\u0627\u062a \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u0628\u0627\u0634\u06cc\u062f \u0645\u06cc\u062a\u0648\u0646\u06cc\u062f \u0634\u0628\u06cc\u0647 \u0633\u0627\u0632 \u0627\u0646\u062f\u0631\u0648\u06cc\u062f \u0631\u0627 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0645\u062d\u0627\u0632\u06cc \u067e\u0627\u0631\u0645\u06cc\u0646 \u06a9\u0644\u0648\u062f \u0631\u0627 \u0631\u0627\u06cc\u06af\u0627\u0646 \u062a\u062d\u0648\u06cc\u0644 \u0628\u06af\u06cc\u0631\u06cc\u062f \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0627\u0631 \u06a9\u0627\u0641\u06cc \u0647\u0633\u062a\u0634 \u06a9\u0647 \u0633\u0631\u0648\u0631 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u062e\u0648\u062f\u062a\u0648\u0646 \u0631\u0648 \u0627\u0632 \u067e\u0627\u0631\u0645\u06cc\u0646 \u06a9\u0644\u0648\u062f \u0633\u0641\u0627\u0631\u0634 \u0628\u062f\u06cc\u062f \u0648 \u0628\u0639\u062f \u0627\u0632 \u062a\u062d\u0648\u06cc\u0644 \u0627\u0646\u0644\u0627\u06cc\u0646 \u0633\u0631\u0648\u06cc\u0633 \u0627\u0632 \u0646\u0635\u0628 \u06a9\u0646\u0646\u062f\u0647 \u062e\u0648\u062f\u06a9\u0627\u0631 \u067e\u0627\u0631\u0645\u06cc\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style='text-align:center' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>\u0633\u0644\u0627\u0645 \u0627\u0645\u0631\u0648\u0632 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0645\u06cc\u062e\u0648\u0627\u0647\u06cc\u0645 \u0628\u0627\u0647\u0645 \u0646\u06af\u0627\u0647\u06cc \u0628\u0647 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0634\u0628\u06cc\u0647 \u0633\u0627\u0632 \u0627\u0646\u062f\u0631\u0648\u06cc\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u0645 \u0627\u0648\u0644 \u0627\u0632 \u0647\u0645\u0647 \u0628\u0627\u06cc\u062f \u0628\u062f\u0648\u0646\u06cc\u0645 \u06a9\u0647 \u0645\u0627 \u0628\u0631\u0627\u06cc \u0686\u06cc \u0628\u0647 \u0634\u0628\u06cc\u0647 \u0633\u0627\u0632 \u0627\u0646\u062f\u0631\u0648\u06cc\u062f \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0633\u0631\u0648\u06cc\u0633 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u0645 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0628\u0647\u062a\u0631 \u0645\u0646\u0627\u0628\u0639 \u0648 \u0631\u06cc\u0633\u0648\u0631\u0633 \u0628\u0631\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0647\u0627\u06cc \u062f\u0633\u06a9\u062a\u0627\u067e \u062f\u0627\u0634\u062a\u0646 \u0634\u0628\u06cc\u0647 \u0633\u0627\u0632 \u0627\u0646\u062f\u0631\u0648\u06cc\u062f \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u0631\u06a9\u0632\u06cc \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0633\u0627\u06cc\u0631 \u062f\u0633\u062a\u06af\u0627\u0647 \u0647\u0627 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":62,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"categories":[130,131],"tags":[128,129,132,133],"class_list":["post-49","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-131","tag-android-emulator-as-a-service","tag-129","tag-132","tag-133"],"aioseo_notices":[],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":0,"sum_votes":0},"_links":{"self":[{"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/comments?post=49"}],"version-history":[{"count":1,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/posts\/49\/revisions"}],"predecessor-version":[{"id":5272,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/posts\/49\/revisions\/5272"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/media\/62"}],"wp:attachment":[{"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/media?parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/categories?post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/tags?post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}