質問編集履歴

2

そのあと行ったこと

2017/08/05 09:21

投稿

super1234
super1234

スコア52

test CHANGED
File without changes
test CHANGED
@@ -99,3 +99,33 @@
99
99
  ========== ビルド: 1 正常終了、0 失敗、1 更新不要、0 スキップ ==========
100
100
 
101
101
  ========== 配置: 0 正常終了、1 失敗、0 スキップ ==========
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+ ~このあと行ったこと~
110
+
111
+ 対象となるエミュレーターのEDITでgpuのチェックをはずしたらどうですか?という
112
+
113
+ https://social.msdn.microsoft.com/Forums/ja-JP/566b9e16-d1a1-4455-bd74-0235c6b93bb7/visual-studio-2017-xamarin-?forum=vsgeneralja
114
+
115
+ の似たようなページを見つけまして、
116
+
117
+
118
+
119
+ yes からnoにしようとしたらエラー文言がでました。
120
+
121
+
122
+
123
+ ![エラー表示](b8a3151e67d812e61d4d4b311b2b56a9.png)
124
+
125
+
126
+
127
+ このほかに仮想化ハードウェア拡張機能を有効とHyperVをOFFも試しました。
128
+
129
+
130
+
131
+ しかし状況は変わりませんでした。

1

より詳細に書きました。

2017/08/05 09:21

投稿

super1234
super1234

スコア52

test CHANGED
File without changes
test CHANGED
@@ -37,3 +37,65 @@
37
37
 
38
38
 
39
39
  ソースコードなどサンプルファイルを全くいじっていません。どうすれば配置エラーを解消しデバッグしてみることができるのでしょうか。よろしくお願いいたします。
40
+
41
+
42
+
43
+
44
+
45
+ 追加2017年8月5日
46
+
47
+ 行ったことは、
48
+
49
+ 新規→プロジェクト→VisualC#→PCL選択→App.Androidにて右クリック→スタートをここに設定→VisualStudio_android-23_arm_phone(Android6.0-API23)→デバッグ実行→エミュレーターの軌道の小窓が現れ緑色のゲージが出現するが、すぐに「配置エラーが発生しました。続行しますか?」→いいえであれば何も変化なく進まず、はいだと警告として一部のプロジェクト機能が使用できなくなりました。IDE0006 App.android 1行目 と出てきています。
50
+
51
+
52
+
53
+
54
+
55
+ ~出力されたログは以下になります。~
56
+
57
+
58
+
59
+ 1>------ ビルド開始: プロジェクト: App4.Android, 構成: Debug Any CPU ------
60
+
61
+ 1> App4.Android -> c:\users\owner\documents\visual studio 2017\Projects\App4\App4\App4.Android\bin\Debug\App4.Android.dll
62
+
63
+ 1>c:\users\owner\documents\visual studio 2017\Projects\App4\App4\App4.Android\App4.Android.csproj : warning XA0105: The $(TargetFrameworkVersion) for FormsViewGroup.dll (v7.1) is greater than the $(TargetFrameworkVersion) for your project (v6.0). You need to increase the $(TargetFrameworkVersion) for your project.
64
+
65
+ 1>c:\users\owner\documents\visual studio 2017\Projects\App4\App4\App4.Android\App4.Android.csproj : warning XA0105: The $(TargetFrameworkVersion) for Xamarin.Forms.Platform.Android.dll (v7.1) is greater than the $(TargetFrameworkVersion) for your project (v6.0). You need to increase the $(TargetFrameworkVersion) for your project.
66
+
67
+ 1>c:\users\owner\documents\visual studio 2017\Projects\App4\App4\App4.Android\App4.Android.csproj : warning XA0105: The $(TargetFrameworkVersion) for Xamarin.Forms.Platform.dll (v7.1) is greater than the $(TargetFrameworkVersion) for your project (v6.0). You need to increase the $(TargetFrameworkVersion) for your project.
68
+
69
+ 1> Processing: obj\Debug\res\layout\tabbar.xml
70
+
71
+ 1> Processing: obj\Debug\res\layout\toolbar.xml
72
+
73
+ 1> Processing: obj\Debug\res\values\styles.xml
74
+
75
+ 2>VisualStudio_android-23_arm_tablet の配置を開始しています...
76
+
77
+ 2>エミュレーター VisualStudio_android-23_arm_tablet を起動しています...
78
+
79
+ 2>C:\PROGRA~1\Android\ANDROI~1\tools\emulator.EXE -partition-size 512 -no-boot-anim -avd VisualStudio_android-23_arm_tablet -prop monodroid.avdname=VisualStudio_android-23_arm_tablet
80
+
81
+ 2>init: Could not find wglGetExtensionsStringARB!
82
+
83
+ 2>getGLES2ExtensionString: Could not find GLES 2.x config!
84
+
85
+ 2>Failed to obtain GLES 2.x extensions string!
86
+
87
+ 2>Could not initialize emulated framebuffer
88
+
89
+ 2>emulator: Listening for console connections on port: 5554
90
+
91
+ 2>emulator: Serial number of this emulator (for ADB): emulator-5554
92
+
93
+ 2>emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
94
+
95
+ 2>An error occured. See full exception on logs for more details.
96
+
97
+ 2>プロセスは終了しているため、要求された情報は利用できません。
98
+
99
+ ========== ビルド: 1 正常終了、0 失敗、1 更新不要、0 スキップ ==========
100
+
101
+ ========== 配置: 0 正常終了、1 失敗、0 スキップ ==========