「.NET 開発基盤部会 Wiki」は、「Open棟梁Project」,「OSSコンソーシアム .NET開発基盤部会」によって運営されています。 目次 †概要 †
プロキシ系 †Proxycapで対応可能。 プロキシ環境 †プロキシ環境では、Proxycapが必要になる。
HTTP Debug Proxy †画面サイズ †環境設定 †環境設定だと、アスペクト比が固定である模様。
レジストリ †レジストリ設定を行えば、画面のアスペクト比を変更可能な模様(未検証)。
キャプチャ †HTTP Debug Proxy †
LAN Analyzer †HTTP Debug Proxyでのキャプチャが上手く行かない場合、 Visual Studio †Visual StudioがDebug時に使用するエミュレータとしても使用できる模様。
Bluestacksの起動 †
ビルド出力 †emulator-5554にデプロイされる(以下はビルド出力)。 1>------ ビルド開始: プロジェクト:OtrCdvTpl, 構成:Debug Android ------ 1> ------ ソース パッケージ ディレクトリからパッケージが正しくグローバルにインストールされていることを確認しています: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\ApacheCordovaTools\packages\vs-tac 1> ------ ソースの package.json の名前: vs-tac 1> ------ ソースの package.json のバージョン: 1.0.42 1> ------ パッケージは既に正しいバージョンでグローバルにインストールされています。 1> ------ Cordova ツール 6.1.1 は既にインストールされています。 1> ------ Build Settings: 1> ------ Build Settings: 1> ------ platformConfigurationBldDir: C:\・・・\bld\Android\Debug 1> ------ platformConfigurationBinDir: C:\・・・\bin\Android\Debug 1> ------ buildCommand: build 1> ------ platform: Android 1> ------ cordovaPlatform: android 1> ------ configuration: Debug 1> ------ cordovaConfiguration: Debug 1> ------ projectName: OtrCdvTpl 1> ------ projectSourceDir: C:\・・・ 1> ------ npmInstallDir: C:\Users\xxx\AppData\Roaming\npm 1> ------ buildTarget: AndroidEmulator 1> ------ language: ja-JP 1> ------ プラットフォーム android は既に存在しています 1> ------ ネイティブ ファイルを C:\・・・\res\native\android から platforms\android にコピーしています 1> ------ C:\・・・\res\native\android\ant.properties を platforms\android\ant.properties にコピーしました 1> ------ platforms\android へのネイティブ ファイルのコピーが完了しました 1> ------ プラグインを更新しています 1> ------ 現在インストールされているプラグイン: cordova-plugin-customurlscheme@4.3.0,cordova-plugin-inappbrowser@1.7.1,cordova-plugin-whitelist@1.3.2 1> ------ 現在インストールされている依存プラグイン: 1> ------ 現在構成されているプラグイン: 1> ------ 準備中のプラットフォーム: android 1> Executing "before_prepare" hook for all plugins. 1> Executing "before_build" hook for all plugins. 1> Searching PlatformJson files for differences between project vs. platform installed plugins 1> No differences found between project and android platform. Continuing... 1> Generating config.xml from defaults for platform "android" 1> Found "merges" for android platform. Copying over existing "www" files. 1> Wrote out Android application name to "OtrCdvTpl" 1> Wrote out Android package name to "io.cordova.myappc103c4" 1> Deleted C:\・・・\platforms\android\res\drawable-hdpi\icon.png 1> Deleted C:\・・・\platforms\android\res\drawable-land-hdpi\icon.png 1> Deleted C:\・・・\platforms\android\res\drawable-land-ldpi\icon.png 1> Deleted C:\・・・\platforms\android\res\drawable-land-mdpi\icon.png 1> Deleted C:\・・・\platforms\android\res\drawable-land-xhdpi\icon.png 1> Deleted C:\・・・\platforms\android\res\drawable-ldpi\icon.png 1> Deleted C:\・・・\platforms\android\res\drawable-mdpi\icon.png 1> Deleted C:\・・・\platforms\android\res\drawable-port-hdpi\icon.png 1> Deleted C:\・・・\platforms\android\res\drawable-port-ldpi\icon.png 1> Deleted C:\・・・\platforms\android\res\drawable-port-mdpi\icon.png 1> Deleted C:\・・・\platforms\android\res\drawable-port-xhdpi\icon.png 1> Deleted C:\・・・\platforms\android\res\drawable-xhdpi\icon.png 1> Deleted C:\・・・\platforms\android\res\drawable-xxhdpi\icon.png 1> copying image from C:\・・・\res\icons\android\icon-36-ldpi.png to C:\・・・\platforms\android\res\drawable-ldpi\icon.png 1> copying image from C:\・・・\res\icons\android\icon-48-mdpi.png to C:\・・・\platforms\android\res\drawable-mdpi\icon.png 1> copying image from C:\・・・\res\icons\android\icon-72-hdpi.png to C:\・・・\platforms\android\res\drawable-hdpi\icon.png 1> copying image from C:\・・・\res\icons\android\icon-96-xhdpi.png to C:\・・・\platforms\android\res\drawable-xhdpi\icon.png 1> Deleted C:\・・・\platforms\android\res\drawable-hdpi\screen.png 1> Deleted C:\・・・\platforms\android\res\drawable-land-hdpi\screen.png 1> Deleted C:\・・・\platforms\android\res\drawable-land-ldpi\screen.png 1> Deleted C:\・・・\platforms\android\res\drawable-land-mdpi\screen.png 1> Deleted C:\・・・\platforms\android\res\drawable-land-xhdpi\screen.png 1> Deleted C:\・・・\platforms\android\res\drawable-ldpi\screen.png 1> Deleted C:\・・・\platforms\android\res\drawable-mdpi\screen.png 1> Deleted C:\・・・\platforms\android\res\drawable-port-hdpi\screen.png 1> Deleted C:\・・・\platforms\android\res\drawable-port-ldpi\screen.png 1> Deleted C:\・・・\platforms\android\res\drawable-port-mdpi\screen.png 1> Deleted C:\・・・\platforms\android\res\drawable-port-xhdpi\screen.png 1> Deleted C:\・・・\platforms\android\res\drawable-xhdpi\screen.png 1> Deleted C:\・・・\platforms\android\res\drawable-xxhdpi\screen.png 1> splash screens: ・・・ 1> copying image from C:\・・・\res\screens\android\screen-hdpi-landscape.png to C:\・・・\platforms\android\res\drawable-land-hdpi\screen.png 1> copying image from C:\・・・\res\screens\android\screen-ldpi-landscape.png to C:\・・・\platforms\android\res\drawable-land-ldpi\screen.png 1> copying image from C:\・・・\res\screens\android\screen-mdpi-landscape.png to C:\・・・\platforms\android\res\drawable-land-mdpi\screen.png 1> copying image from C:\・・・\res\screens\android\screen-xhdpi-landscape.png to C:\・・・\platforms\android\res\drawable-land-xhdpi\screen.png 1> copying image from C:\・・・\res\screens\android\screen-hdpi-portrait.png to C:\・・・\platforms\android\res\drawable-port-hdpi\screen.png 1> copying image from C:\・・・\res\screens\android\screen-ldpi-portrait.png to C:\・・・\platforms\android\res\drawable-port-ldpi\screen.png 1> copying image from C:\・・・\res\screens\android\screen-mdpi-portrait.png to C:\・・・\platforms\android\res\drawable-port-mdpi\screen.png 1> copying image from C:\・・・\res\screens\android\screen-xhdpi-portrait.png to C:\・・・\platforms\android\res\drawable-port-xhdpi\screen.png 1> updated project successfully 1> Executing "after_prepare" hook for all plugins. 1> ------ C:\・・・\bin\Android\Debug\VSBuildInfo.xml を platforms\android\assets\www\VSBuildInfo.xml にコピーしました 1> ------ ビルド中のプラットフォーム: android 1> Debug 1> ------ ビルドの構成オプション: --debug 1> Executing "before_compile" hook for all plugins. 1> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk 1> JAVA_HOME=C:\Program Files (x86)\java\jdk1.8.0_131 1> Reading build config file: C:\・・・\build.json 1> :preBuild UP-TO-DATE 1> :preDebugBuild UP-TO-DATE 1> :checkDebugManifest 1> :CordovaLib:preBuild UP-TO-DATE 1> :CordovaLib:preDebugBuild UP-TO-DATE 1> :CordovaLib:compileDebugNdk UP-TO-DATE 1> :CordovaLib:compileLint 1> :CordovaLib:copyDebugLint UP-TO-DATE 1> :CordovaLib:mergeDebugProguardFiles UP-TO-DATE 1> :CordovaLib:packageDebugRenderscript UP-TO-DATE 1> :CordovaLib:checkDebugManifest 1> :CordovaLib:prepareDebugDependencies 1> :CordovaLib:compileDebugRenderscript UP-TO-DATE 1> :CordovaLib:generateDebugResValues UP-TO-DATE 1> :CordovaLib:generateDebugResources UP-TO-DATE 1> :CordovaLib:packageDebugResources UP-TO-DATE 1> :CordovaLib:compileDebugAidl UP-TO-DATE 1> :CordovaLib:generateDebugBuildConfig UP-TO-DATE 1> :CordovaLib:generateDebugAssets UP-TO-DATE 1> :CordovaLib:mergeDebugAssets UP-TO-DATE 1> :CordovaLib:processDebugManifest UP-TO-DATE 1> :CordovaLib:processDebugResources UP-TO-DATE 1> :CordovaLib:generateDebugSources UP-TO-DATE 1> :CordovaLib:compileDebugJavaWithJavac UP-TO-DATE 1> :CordovaLib:processDebugJavaRes UP-TO-DATE 1> :CordovaLib:transformResourcesWithMergeJavaResForDebug UP-TO-DATE 1> :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE 1> :CordovaLib:mergeDebugJniLibFolders UP-TO-DATE 1> :CordovaLib:transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE 1> :CordovaLib:transformNative_libsWithSyncJniLibsForDebug UP-TO-DATE 1> :CordovaLib:bundleDebug UP-TO-DATE 1> :prepareAndroidCordovaLibUnspecifiedDebugLibrary UP-TO-DATE 1> :prepareDebugDependencies 1> :compileDebugAidl UP-TO-DATE 1> :compileDebugRenderscript UP-TO-DATE 1> :generateDebugBuildConfig UP-TO-DATE 1> :generateDebugAssets UP-TO-DATE 1> :mergeDebugAssets UP-TO-DATE 1> :generateDebugResValues UP-TO-DATE 1> :generateDebugResources UP-TO-DATE 1> :mergeDebugResources UP-TO-DATE 1> :processDebugManifest UP-TO-DATE 1> :processDebugResources UP-TO-DATE 1> :generateDebugSources UP-TO-DATE 1> :compileDebugJavaWithJavac UP-TO-DATE 1> :compileDebugNdk UP-TO-DATE 1> :compileDebugSources UP-TO-DATE 1> :transformClassesWithDexForDebug UP-TO-DATE 1> :mergeDebugJniLibFolders UP-TO-DATE 1> :transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE 1> :processDebugJavaRes UP-TO-DATE 1> :transformResourcesWithMergeJavaResForDebug UP-TO-DATE 1> :validateDebugSigning 1> :packageDebug UP-TO-DATE 1> :zipalignDebug UP-TO-DATE 1> :assembleDebug UP-TO-DATE 1> :cdvBuildDebug UP-TO-DATE 1> 1> BUILD SUCCESSFUL 1> 1> Total time: 22.144 secs 1> Built the following apk(s): 1> C:/・・・/platforms/android/build/outputs/apk/android-debug.apk 1> Executing "after_compile" hook for all plugins. 1> Executing "after_build" hook for all plugins. 1> ------ プロジェクトにコピーしています: Android 1> ------ platforms\android\build\outputs\apk\android-debug-unaligned.apk を C:\・・・\bin\Android\Debug\android-debug-unaligned.apk にコピーしました 1> ------ platforms\android\build\outputs\apk\android-debug.apk を C:\・・・\bin\Android\Debug\android-debug.apk にコピーしました 1> ------ コンパイル済みのファイルのコピーが完了しました: Android 2>------ 配置開始: プロジェクト:OtrCdvTpl, 構成:Debug Android ------ 2>Starting launch process ・・・ 2> ------ Cordova ・・・・Executing "before_run" hook for all plugins. 2> Executing "before_prepare" hook for all plugins. 2> Searching PlatformJson files for differences between project vs. platform installed plugins 2> No differences found between project and android platform. Continuing... 2> Generating config.xml from defaults for platform "android" 2> Found "merges" for android platform. Copying over existing "www" files. 2> Wrote out Android application name to "OtrCdvTpl" 2> Wrote out Android package name to "io.cordova.myappc103c4" 2> Deleted C:\・・・\platforms\android\res\drawable-hdpi\icon.png 2> Deleted C:\・・・\platforms\android\res\drawable-land-hdpi\icon.png 2> Deleted C:\・・・\platforms\android\res\drawable-land-ldpi\icon.png 2> Deleted C:\・・・\platforms\android\res\drawable-land-mdpi\icon.png 2> Deleted C:\・・・\platforms\android\res\drawable-land-xhdpi\icon.png 2> Deleted C:\・・・\platforms\android\res\drawable-ldpi\icon.png 2> Deleted C:\・・・\platforms\android\res\drawable-mdpi\icon.png 2> Deleted C:\・・・\platforms\android\res\drawable-port-hdpi\icon.png 2> Deleted C:\・・・\platforms\android\res\drawable-port-ldpi\icon.png 2> Deleted C:\・・・\platforms\android\res\drawable-port-mdpi\icon.png 2> Deleted C:\・・・\platforms\android\res\drawable-port-xhdpi\icon.png 2> Deleted C:\・・・\platforms\android\res\drawable-xhdpi\icon.png 2> Deleted C:\・・・\platforms\android\res\drawable-xxhdpi\icon.png 2> copying image from C:\・・・\res\icons\android\icon-36-ldpi.png to C:\・・・\platforms\android\res\drawable-ldpi\icon.png 2> copying image from C:\・・・\res\icons\android\icon-48-mdpi.png to C:\・・・\platforms\android\res\drawable-mdpi\icon.png 2> copying image from C:\・・・\res\icons\android\icon-72-hdpi.png to C:\・・・\platforms\android\res\drawable-hdpi\icon.png 2> copying image from C:\・・・\res\icons\android\icon-96-xhdpi.png to C:\・・・\platforms\android\res\drawable-xhdpi\icon.png 2> Deleted C:\・・・\platforms\android\res\drawable-hdpi\screen.png 2> Deleted C:\・・・\platforms\android\res\drawable-land-hdpi\screen.png 2> Deleted C:\・・・\platforms\android\res\drawable-land-ldpi\screen.png 2> Deleted C:\・・・\platforms\android\res\drawable-land-mdpi\screen.png 2> Deleted C:\・・・\platforms\android\res\drawable-land-xhdpi\screen.png 2> Deleted C:\・・・\platforms\android\res\drawable-ldpi\screen.png 2> Deleted C:\・・・\platforms\android\res\drawable-mdpi\screen.png 2> Deleted C:\・・・\platforms\android\res\drawable-port-hdpi\screen.png 2> Deleted C:\・・・\platforms\android\res\drawable-port-ldpi\screen.png 2> Deleted C:\・・・\platforms\android\res\drawable-port-mdpi\screen.png 2> Deleted C:\・・・\platforms\android\res\drawable-port-xhdpi\screen.png 2> Deleted C:\・・・\platforms\android\res\drawable-xhdpi\screen.png 2> Deleted C:\・・・\platforms\android\res\drawable-xxhdpi\screen.png 2> splash screens: ・・・ 2> copying image from C:\・・・\res\screens\android\screen-hdpi-landscape.png to C:\・・・\platforms\android\res\drawable-land-hdpi\screen.png 2> copying image from C:\・・・\res\screens\android\screen-ldpi-landscape.png to C:\・・・\platforms\android\res\drawable-land-ldpi\screen.png 2> copying image from C:\・・・\res\screens\android\screen-mdpi-landscape.png to C:\・・・\platforms\android\res\drawable-land-mdpi\screen.png 2> copying image from C:\・・・\res\screens\android\screen-xhdpi-landscape.png to C:\・・・\platforms\android\res\drawable-land-xhdpi\screen.png 2> copying image from C:\・・・\res\screens\android\screen-hdpi-portrait.png to C:\・・・\platforms\android\res\drawable-port-hdpi\screen.png 2> copying image from C:\・・・\res\screens\android\screen-ldpi-portrait.png to C:\・・・\platforms\android\res\drawable-port-ldpi\screen.png 2> copying image from C:\・・・\res\screens\android\screen-mdpi-portrait.png to C:\・・・\platforms\android\res\drawable-port-mdpi\screen.png 2> copying image from C:\・・・\res\screens\android\screen-xhdpi-portrait.png to C:\・・・\platforms\android\res\drawable-port-xhdpi\screen.png 2> updated project successfully 2> Executing "after_prepare" hook for all plugins. 2> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk 2> JAVA_HOME=C:\Program Files (x86)\java\jdk1.8.0_131 2> Running command "cat /proc/cpuinfo" on emulator-5554... 2> Reading build config file: C:\・・・\build.json 2> Skipping build... 2> Built the following apk(s): 2> C:/・・・/platforms/android/build/outputs/apk/android-debug.apk 2> Running command "ps" on emulator-5554... ・・・ここが非常に遅い・・・ 2> .Running command "ps" on emulator-5554... 2> Using apk: C:/・・・/platforms/android/build/outputs/apk/android-debug.apk 2> Installing app on emulator... 2> Installing apk C:/・・・/platforms/android/build/outputs/apk/android-debug.apk on emulator-5554... 2> INSTALL SUCCESS 2> Unlocking screen... 2> Running command "input keyevent 82" on emulator-5554... 2> Starting application "io.cordova.myappc103c4/.MainActivity" on emulator-5554... 2> Running command "am start -W -a android.intent.action.MAIN -nio.cordova.myappc103c4/.MainActivity" on emulator-5554... 2> LAUNCH SUCCESS 2> Executing "after_run" hook for all plugins. 2> ========== ビルド: 1 正常終了、0 失敗、0 更新不要、0 スキップ ========== ========== 配置: 1 正常終了、0 失敗、0 スキップ ========== 参考 †
参考 †
アンインストール †
|