tag:crieit.net,2005:https://crieit.net/tags/surfaceneo/feed 「surfaceneo」の記事 - Crieit Crieitでタグ「surfaceneo」に投稿された最近の記事 2020-02-25T11:43:23+09:00 https://crieit.net/tags/surfaceneo/feed tag:crieit.net,2005:PublicArticle/15734 2020-02-25T11:41:44+09:00 2020-02-25T11:43:23+09:00 https://crieit.net/posts/Lenovo-M75q-1-Win10Home-Surface-Neo-Duo Lenovo社のM75q-1(Win10Home)からへのSurface Neo/Duoの開発環境構築メモ(随時更新中) <h1 id="はじめに"><a href="#%E3%81%AF%E3%81%98%E3%82%81%E3%81%AB">はじめに</a></h1> <p>この記事ではWindows10 Home搭載PC(ここでは<del>32k(税込み)で購入できる圧倒的コスパで有名となっている</del>Lenovo社のThinkCentre M75q-1を使用)から、SurfaceDuo/Neoの開発環境構築する為の手順を記載してます。<br /> やらかしに対するフォローやら、機種固有のTipsもあるため、適宜読み飛ばして下さい。</p> <h2 id="必要になったもの"><a href="#%E5%BF%85%E8%A6%81%E3%81%AB%E3%81%AA%E3%81%A3%E3%81%9F%E3%82%82%E3%81%AE">必要になったもの</a></h2> <ul> <li>Windows10 Pro 以上<br /> <strong>Homeの場合は別途Pro以上jにアップデートが必要</strong><br /> > Windows10XのエミュレーターにはHyper-V が必須なので、Win10Homeではその機能が選択不可能なため、不可<br /> ここで例としている、M75q-1はHomeのみが選択可能なので、別途Updateが必要<br /> <del>Win10 Homeでもいけるやろ?って思ってた僕は別途出費が発生し、別途買い増しが必要となり、本体並みに高い価格で泣いてます。</del><br /> 入ってない場合はWindows10 Proのライセンスキー or HomeからのUpdateキーを別途購入ください。</li> </ul> <h2 id="クリーンインストール自のTips"><a href="#%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E8%87%AA%E3%81%AETips">クリーンインストール自のTips</a></h2> <ul> <li>UPDATE TOOL経由であらかじめ1909 が入ったUSB記憶メディアを用意かDVDを用意するのが一番手間暇少ない<br /> > 今は昔のWindows10をインストールするとOPで付属させたIntelの無線用ドライバが存在しないため、無線通信ができないM75q-1から有線LAN必須 or オフライン環境でのインストール作業となるため、とってもコストが増える</li> <li>M75q-1はLenovoが配布しているAMDのグラフィックドライバーを適用しないと、高確率でフリーズするため、DLするのも一苦労する罠が待ち受けているため予めDLすると吉</li> <li>並行してX220でインストールしてたらそんなこと一切なかったため、機種によってはの罠だと思われます。</li> <li>Lenovoのリカバリーツール使っても当然HomeEditionなのであんまりおいしくなかった</li> </ul> <h2 id="SurfaceNeo向け"><a href="#SurfaceNeo%E5%90%91%E3%81%91">SurfaceNeo向け</a></h2> <p><a target="_blank" rel="nofollow noopener" href="https://docs.microsoft.com/ja-jp/dual-screen/windows/get-dev-tools">Get the Windows 10X development tools - Dual-screen | Microsoft Docs</a><br /> に書かれてる<br /> - <a target="_blank" rel="nofollow noopener" href="https://visualstudio.microsoft.com/vs/preview/">Visual Studio 2019 Preview</a><br /> - <a target="_blank" rel="nofollow noopener" href="https://aka.ms/emulator/sdk">Windows 10 SDK Insider Preview</a><br /> - <a target="_blank" rel="nofollow noopener" href="https://aka.ms/emulator/app">Microsoft Emulator</a>.<br /> - <a target="_blank" rel="nofollow noopener" href="https://aka.ms/emulator/latest">Windows 10X Emulator Image</a>.<br /> をインストールする。<br /> ハマるポイントとしては<br /> - Windows Home EditionでチャレンジしてHyper-Vが使えなくて怒られる<br /> →Proのパッケージ版買っときましょう<br /> - Windows Insider Preview版が必須<br /> →InsiderをSlowで大丈夫のはず(現在構築中で未確認のため、違ったらFastとか設定してください。)<br /> - PCスペックが要求スペック未満<br /> →M75q-1買いましょう<br /> などが推測されます。(僕がハマったのは上二つ)</p> <blockquote> <h2>Visual Studio and Windows SDK<a target="_blank" rel="nofollow noopener" href="https://docs.microsoft.com/ja-jp/dual-screen/windows/get-dev-tools#visual-studio-and-windows-sdk"></a></h2> <p>Use Visual Studio and the Windows 10 SDK Insider Preview to create apps for Windows 10X devices.</p> <ul> <li>Download and install the latest <a target="_blank" rel="nofollow noopener" href="https://visualstudio.microsoft.com/vs/preview/">Visual Studio 2019 Preview</a>. <ul> <li>For installation instructions, see <a target="_blank" rel="nofollow noopener" href="https://docs.microsoft.com/visualstudio/install/install-visual-studio?view=vs-2019">install Visual Studio</a>.</li> </ul></li> <li>Download and install the latest emulator-compatible version of <a target="_blank" rel="nofollow noopener" href="https://aka.ms/emulator/sdk">Windows 10 SDK Insider Preview</a> <ul> <li>The SDK build number must be no greater than the emulator build number.</li> </ul></li> </ul> <h2>Get the Microsoft Emulator and Windows 10X Emulator Image<a target="_blank" rel="nofollow noopener" href="https://docs.microsoft.com/ja-jp/dual-screen/windows/get-dev-tools#get-the-microsoft-emulator-and-windows-10x-emulator-image"></a></h2> <p>Install the Microsoft Emulator and the Windows 10X Emulator Image Preview from the Microsoft Store. (These links will open the Microsoft Store app if it's installed on your computer.)</p> <ul> <li>Install the <a target="_blank" rel="nofollow noopener" href="https://aka.ms/emulator/app">Microsoft Emulator</a>.</li> <li>Install the <a target="_blank" rel="nofollow noopener" href="https://aka.ms/emulator/latest">Windows 10X Emulator Image</a>.</li> </ul> </blockquote> <h2 id="SurfaceDuo向け"><a href="#SurfaceDuo%E5%90%91%E3%81%91">SurfaceDuo向け</a></h2> <ul> <li><a target="_blank" rel="nofollow noopener" href="https://developer.android.com/studio">Android Studio</a> の最新版を入れて、SDK Managerも更新する</li> <li><a target="_blank" rel="nofollow noopener" href="https://www.microsoft.com/download/details.aspx?id=100847">DOWNLOAD THE SURFACE DUO SDK PREVIEW</a></li> </ul> <p>こっちもまだ終わってないので、適宜追記していきます。</p> <blockquote> <p><a target="_blank" rel="nofollow noopener" href="https://docs.microsoft.com/en-us/dual-screen/android/get-duo-sdk?tabs=java">Get the Surface Duo SDK - Dual-screen | Microsoft Docs</a></p> <h3>Surface Duo SDK Preview prerequisites<a target="_blank" rel="nofollow noopener" href="https://docs.microsoft.com/en-us/dual-screen/android/get-duo-sdk?tabs=java#surface-duo-sdk-preview-prerequisites"></a></h3> <ul> <li>Install the latest version of <a target="_blank" rel="nofollow noopener" href="https://developer.android.com/studio">Android Studio</a> and Command line tools from developer.android.com, including Google's Android emulator which you install using the <a target="_blank" rel="nofollow noopener" href="https://developer.android.com/studio/intro/update#sdk-manager">SDK manager</a> in the Android Studio Tools menu.</li> <li>Use the <a target="_blank" rel="nofollow noopener" href="https://developer.android.com/studio/intro/update#sdk-manager">SDK manager</a> to ensure all the required dev tools (Android SDK Build-Tools, Android SDK Platform-Tools, Android SDK Tools and Android Emulator) are up to date.</li> <li>(Optional) Hardware virtualization is enabled. For speedy emulation, follow the guidelines outlined in <a target="_blank" rel="nofollow noopener" href="https://developer.android.com/studio/run/emulator-acceleration">emulator acceleration</a> in the Android Studio docs.</li> </ul> <h3>To use with Microsoft Visual Studio/Xamarin<a target="_blank" rel="nofollow noopener" href="https://docs.microsoft.com/en-us/dual-screen/android/get-duo-sdk?tabs=java#to-use-with-microsoft-visual-studioxamarin"></a></h3> <ul> <li>Complete the installation prerequisites.</li> <li>Get the latest version of <a target="_blank" rel="nofollow noopener" href="https://visualstudio.microsoft.com/">Visual Studio</a> and ensure <a target="_blank" rel="nofollow noopener" href="https://docs.microsoft.com/en-us/xamarin/get-started/installation/?pivots=windows">Xamarin is installed</a>.</li> <li>Ensure the Android SDK is installed via these <a target="_blank" rel="nofollow noopener" href="https://docs.microsoft.com/en-us/xamarin/android/get-started/installation/android-sdk?tabs=windows">Visual Studio instructions</a>.</li> </ul> </blockquote> <h2 id="参考ドキュメント"><a href="#%E5%8F%82%E8%80%83%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88">参考ドキュメント</a></h2> <h3 id="MicrosoftDocs"><a href="#MicrosoftDocs">MicrosoftDocs</a></h3> <p><a target="_blank" rel="nofollow noopener" href="https://docs.microsoft.com/en-us/dual-screen/">Create apps for dual-screen devices - Dual-screen | Microsoft Docs</a><br /> 以下ドキュメント内のリンク</p> <p><a target="_blank" rel="nofollow noopener" href="https://docs.microsoft.com/en-us/dual-screen/android/get-duo-sdk?tabs=java">Get the Surface Duo SDK - Dual-screen | Microsoft Docs</a></p> <p><a target="_blank" rel="nofollow noopener" href="https://docs.microsoft.com/ja-jp/dual-screen/windows/get-dev-tools">Get the Windows 10X development tools - Dual-screen | Microsoft Docs</a></p> <p><a target="_blank" rel="nofollow noopener" href="https://www.microsoft.com/en-us/surface/devices/surface-neo">New Surface Neo – Coming Holiday 2020 – Microsoft Surface</a></p> <p><a target="_blank" rel="nofollow noopener" href="https://www.microsoft.com/en-us/surface/devices/surface-duo">New Surface Duo – Coming Holiday 2020 – Microsoft Surface</a></p> <p><a target="_blank" rel="nofollow noopener" href="https://blogs.windows.com/windowsdeveloper/2020/02/11/microsoft-365-developer-day-dual-screen-experiences/">Microsoft 365 Developer Day: Dual-screen experiences - Windows Developer Blog</a></p> <p><a target="_blank" rel="nofollow noopener" href="https://developer.microsoft.com/en-us/microsoft-365/virtual-events">Virtual events - Microsoft 365</a></p> <p><a target="_blank" rel="nofollow noopener" href="https://www.microsoft.com/en-us/surface/devices/surface-neo">New Surface Neo – Coming Holiday 2020 – Microsoft Surface</a></p> <p><a target="_blank" rel="nofollow noopener" href="https://docs.microsoft.com/en-us/dual-screen/windows/">Develop apps for Windows 10X dual-screen devices - Dual-screen | Microsoft Docs</a></p> <p><a target="_blank" rel="nofollow noopener" href="https://docs.microsoft.com/en-us/dual-screen/introduction">Introduction to dual-screen devices - Dual-screen | Microsoft Docs</a></p> <h2 id="その他ニュースメディアとかで気になった記事など"><a href="#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%8B%E3%83%A5%E3%83%BC%E3%82%B9%E3%83%A1%E3%83%87%E3%82%A3%E3%82%A2%E3%81%A8%E3%81%8B%E3%81%A7%E6%B0%97%E3%81%AB%E3%81%AA%E3%81%A3%E3%81%9F%E8%A8%98%E4%BA%8B%E3%81%AA%E3%81%A9">その他ニュースメディアとかで気になった記事など</a></h2> <p><a target="_blank" rel="nofollow noopener" href="https://news.mynavi.jp/article/20200123-958936/">Microsoft、二画面デバイス「Surface Duo/Neo」向けSDKプレビュー開始 | マイナビニュース</a><br /> <a target="_blank" rel="nofollow noopener" href="https://www.itmedia.co.jp/news/articles/2002/12/news063.html">Microsoft、2画面端末OS「Windows 10X」のSDKとエミュレーター公開 - ITmedia NEWS</a></p> <p>ヒンジセンサーについて、UnoPlatformでの使い方<br /> <a target="_blank" rel="nofollow noopener" href="https://blog.mzikmund.com/2020/02/hinge-angle-sensor-for-uno-platform-dual-screen-apps/">Hinge angle sensor for Uno Platform dual-screen apps – Martin Zikmund</a></p> warmkitty