当我启动项目时,出现以下错误:
var newDriver = driver.SwitchTo().Window(driver.WindowHandles[Windowindex]); //give index as 1 or 2 as required for your case. and use newdriver to perform actions and events
在为任何CPU启用的LinearLayout userFeedLinearLayout = (LinearLayout) findViewById(R.id.userFeedLinearLayout);
imageView.setImageBitmap(bitmap);
imageView.setPadding(0, 30, 0, 30);
userFeedLinearLayout.addView(imageView);
构建和 Deploy 配置中。
注意:仅在Visual Studio 2019上重现。在先前版本(2017)上 所有工作都按预期进行。
答案 0 :(得分:0)
您只需将解决方案中的设置更改为:
right-click the Solution -->then go to "Configuration Manager" -->then check "deploy" for your required platform project.
希望!!它将起作用。