antispam-bee domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/ruwritingagame/public_html/wp-includes/functions.php on line 6131Visual Studio, Android, Native activity, C++, OpenGL ES<\/strong><\/p>\n\n\n\n “\u0420\u043e\u0434\u043d\u044b\u0435” \u044f\u0437\u044b\u043a\u0438 \u0434\u043b\u044f \u0410\u043d\u0434\u0440\u043e\u0438\u0434\u0430 – \u044d\u0442\u043e Java \u0438 Kotlin.<\/p>\n\n\n\n Native activity<\/strong> \u0436\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434 \u0434\u043b\u044f Android-\u0430 \u043d\u0430 C++. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, Visual Studio\u2019s Native activity \u0448\u0430\u0431\u043b\u043e\u043d \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e OpenGL ES-\u0430.<\/p>\n\n\n\n 1. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Visual Studio. \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c “Create a new project<\/strong>“. \u0412 \u043c\u0435\u043d\u044e \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c Android, \u043f\u043e\u0442\u043e\u043c \u201cNative Activity Application (Android)\u201d:<\/p>\n\n\n\n \u0417\u0430\u0442\u0435\u043c \u2013 Next<\/strong>.<\/p>\n\n\n\n 2. \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u044d\u043a\u0440\u0430\u043d – Configure your new project<\/strong>:<\/p>\n\n\n\n \u0417\u0430\u0442\u0435\u043c \u2013 Create<\/strong>.<\/p>\n\n\n\n \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n\n\n\n \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, \u043f\u043e\u0434 \u201cp_android\u201d solution\/\u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u043b\u043e\u0441\u044c \u0414\u0412\u0410 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u2013 \u201cp_android.NativeActivity\u201d \u0438 \u201cp_android.Packaging\u201d.<\/p>\n\n\n\n 3. \u0412\u0410\u0416\u041d\u041e<\/strong>: Default platform (\u0432 \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u043c\u0435\u043d\u044e) – ARM. \u041d\u0430\u0434\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0430 ARM64<\/strong>.<\/p>\n\n\n\n Google \u0443\u0436\u0435 \u043e\u0431\u044a\u044f\u0432\u0438\u043b, \u0447\u0442\u043e 32 bit \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u041d\u0415 \u0431\u0443\u0434\u0435\u0442, \u0442\u0430\u043a \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0441 64.<\/p>\n\n\n\n 4. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043c\u044b \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c OpenGL ES 3.2, \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u0432\u044b\u0441\u043e\u043a\u0438\u0439 API level (\u0432 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0431\u044b\u043b 21).<\/p>\n\n\n\n Right-click \u043d\u0430 p_android.NativeActivity<\/strong> \u043f\u0440\u043e\u0435\u043a\u0442 -> Properties (\u0432\u043d\u0438\u0437\u0443), <\/p>\n\n\n\n \u041f\u043e\u043c\u0435\u043d\u044f\u0435\u043c Configuration \u043d\u0430 All Configurations<\/strong>, Platform: ARM64<\/strong>, <\/p>\n\n\n\n \u0418\u0434\u0435\u043c \u0432 General -> Target API Level<\/em>, \u043c\u0435\u043d\u044f\u0435\u043c \u043d\u0430 27<\/strong> (\u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e):<\/p>\n\n\n\n \u0417\u0430\u0442\u0435\u043c \u2013 Apply, Ok<\/strong>.<\/p>\n\n\n\n 5. \u0422\u0430\u043a\u0436\u0435 \u043d\u0430\u0434\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c minSdkVersion <\/em>\u0432 AndroidManifest-\u0435 \u043d\u0430<\/strong> 24 (\u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0434\u043b\u044f ES 3.2) \u0438 targetSdkVersion <\/em>\u043d\u0430 27 (\u043a\u0430\u043a \u0440\u0435\u0448\u0438\u043b\u0438 \u0432\u044b\u0448\u0435):<\/p>\n\n\n\n \u0415\u0449\u0435, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u043c\u0435\u043d\u044f\u043c android:label<\/strong> \u0441 “@string\/app_name” \u043d\u0430 “OurProject<\/strong>“.<\/p>\n\n\n\n \u0417\u0430\u0442\u0435\u043c – Save All<\/strong>:<\/p>\n\n\n\n 6. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u0441 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e OpenGL ES 1.0 \u043d\u0430 \u0436\u0435\u043b\u0430\u0435\u043c\u044b\u0439 OpenGL ES 3.2<\/strong>. \u0421\u0441\u044b\u043b\u043a\u0430 – \u0432 \u0444\u0430\u0439\u043b\u0435 pch.h \u043f\u043e\u0434 p_android.NativeActivity \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c. \u041f\u043e\u043c\u0435\u043d\u044f\u0435\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u043d\u0430 \u201cGLES3\\gl32.h\u201d:<\/p>\n\n\n\n \u0421\u043d\u043e\u0432\u0430, Save All.<\/p>\n\n\n\n 7. \u0418 \u043d\u0430\u0434\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443. Right-click \u043d\u0430 \u201cp_android.NativeActivity\u201d \u043f\u0440\u043e\u0435\u043a\u0442 -> Properties, All Configurations<\/strong>, ARM64<\/strong>, Linker -> Input<\/em>, \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c Library Dependencies -> Edit<\/em>.<\/p>\n\n\n\n \u0412\u0440\u0443\u0447\u043d\u0443\u044e <\/strong>\u043c\u0435\u043d\u044f\u0435\u043c GLESv1_CM \u043d\u0430 GLESv3<\/strong><\/p>\n\n\n\n Ok, Apply, Ok.<\/p>\n\n\n\n \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043d\u0435 \u0441\u043b\u043e\u043c\u0430\u043b\u0438 \u043b\u0438 \u0447\u0435\u0433\u043e-\u043d\u0438\u0431\u0443\u0434\u044c, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0430\u0448\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0410\u043d\u0434\u0440\u043e\u0438\u0434\u0435.<\/p>\n\n\n\n \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u0434\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u201cUSB debugging\u201d \u0432 Settings -> Developer options \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435.<\/p>\n\n\n\n \u041d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439: \u043d\u0430 \u043c\u043e\u0435\u043c Samsung S20 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0435 \u201cDeveloper Options\u201d \u0432 Settings \u043d\u0415 \u0431\u044b\u043b\u043e. \u041d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0439\u0442\u0438 \u0432 Settings -> About phone -> Software information<\/em> \u0438 \u043a\u043b\u0438\u043a\u043d\u0443\u0442\u044c 7 \u0440\u0430\u0437 \u043d\u0430 Build number<\/em>. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e Developer options \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0432 \u0441\u043f\u0438\u0441\u043a\u0435, \u0438 \u0442\u043e\u0433\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u0432 Settings -> Developer options<\/em> \u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c-\u0442\u0430\u043a\u0438 USB debugging<\/em>.<\/p>\n\n\n\n 8. \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0438 \u0440\u0430\u0437\u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u043c <\/strong>\u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043a PC USB \u043a\u0430\u0431\u0435\u043b\u0435\u043c. \u0422\u0435\u043b\u0435\u0444\u043e\u043d \u0441\u043f\u0440\u043e\u0441\u0438\u0442 \u201cAllow USB debugging?\u201d \u2013 allow (\u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c). \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432:<\/p>\n\n\n\n \u0416\u043c\u0435\u043c \u0437\u0435\u043b\u0435\u043d\u0443\u044e \u0441\u0442\u0440\u0435\u043b\u043a\u0443 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b (Configuration: Debug \/ ARM64):<\/p>\n\n\n\n \u041a\u0430\u043a \u0438 \u043e\u0436\u0438\u0434\u0430\u043b\u043e\u0441\u044c – \u043e\u0448\u0438\u0431\u043a\u0438.<\/p>\n\n\n\n 9. \u0418\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u043c poll.h “errors”. \u0412\u0430\u0436\u043d\u043e – 2 \u201cundefined identifiers\u201d: GL_PERSPECTIVE_CORRECTION_HINT \u0438 GL_SMOOTH \u0432 main.cpp. \u0421\u0442\u0440\u043e\u043a\u0438 111 \u0438 113 (\u044d\u0442\u043e \u0434\u043b\u044f GLES 1.0). <\/p>\n\n\n\n Double-click \u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0443 \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434. \u041f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u044d\u0442\u0438 2 \u0441\u0442\u0440\u043e\u043a\u0438:<\/p>\n\n\n\n \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u043d\u043e\u0432\u0430 (\u0437\u0435\u043b\u0435\u043d\u0430\u044f \u0441\u0442\u0440\u0435\u043b\u043a\u0430) \u2013 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442! \u041d\u0430 \u043c\u043e\u0435\u043c S20 \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a \u043c\u0438\u0433\u0430\u044e\u0449\u0438\u0439 \u0437\u0435\u043b\u0435\u043d\u044b\u0439 \u044d\u043a\u0440\u0430\u043d:<\/p>\n\n\n\n \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043e\u0442\u043b\u043e\u0436\u0438\u043c \u0410\u043d\u0434\u0440\u043e\u0438\u0434 \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443, \u0438 \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a PC.<\/p>\n\n\n\n <\/p>\n","protected":false},"excerpt":{"rendered":" Visual Studio, Android, Native activity, C++, OpenGL ES “\u0420\u043e\u0434\u043d\u044b\u0435” \u044f\u0437\u044b\u043a\u0438 \u0434\u043b\u044f \u0410\u043d\u0434\u0440\u043e\u0438\u0434\u0430 – \u044d\u0442\u043e Java \u0438 Kotlin. Native activity \u0436\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434 \u0434\u043b\u044f Android-\u0430 \u043d\u0430 C++. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, Visual Studio\u2019s Native activity \u0448\u0430\u0431\u043b\u043e\u043d \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e OpenGL ES-\u0430. 1. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Visual Studio. \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c “Create a new project“. \u0412 \u043c\u0435\u043d\u044e \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c Android, \u043f\u043e\u0442\u043e\u043c \u201cNative Activity […]<\/p>\n","protected":false},"author":1,"featured_media":407,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-69","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cross-platform-3d"],"_links":{"self":[{"href":"https:\/\/writingagame.ru\/index.php\/wp-json\/wp\/v2\/posts\/69","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/writingagame.ru\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/writingagame.ru\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/writingagame.ru\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/writingagame.ru\/index.php\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":12,"href":"https:\/\/writingagame.ru\/index.php\/wp-json\/wp\/v2\/posts\/69\/revisions"}],"predecessor-version":[{"id":1667,"href":"https:\/\/writingagame.ru\/index.php\/wp-json\/wp\/v2\/posts\/69\/revisions\/1667"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/writingagame.ru\/index.php\/wp-json\/wp\/v2\/media\/407"}],"wp:attachment":[{"href":"https:\/\/writingagame.ru\/index.php\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/writingagame.ru\/index.php\/wp-json\/wp\/v2\/categories?post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/writingagame.ru\/index.php\/wp-json\/wp\/v2\/tags?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
<\/p>\n\n\n\n
\n\n\n\n
<\/p>\n\n\n\n
<\/p>\n\n\n\n
\n\n\n\n
<\/p>\n\n\n\n
\n\n\n\n
<\/p>\n\n\n\n
\n\n\n\n
<\/p>\n\n\n\n
<\/p>\n\n\n\n
\n\n\n\n
<\/p>\n\n\n\n
\n\n\n\n
\n\n\n\n
\n\n\n\n
<\/p>\n\n\n\n
<\/p>\n\n\n\n
\n\n\n\n
<\/p>\n\n\n\n
<\/p>\n\n\n\n
\n\n\n\n