C:\Users\TomiwaPC>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.0.4, on Microsoft Windows [Version 10.0.18362.30], locale en-NG)
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc2)
[√] Ch
我只是重新启动了Windows 10机器来安装一些更新,然后我开始在Visual中获得这个错误:
Error Xamarin.Android for Visual Studio requires Android SDK.
Please install it or set Android SDK path on Tools->Options->Xamarin->Android Settings menu. 0
我觉得这很奇怪,因为我以前从未遇到过Android的任何问题。所以我选择了Tools->Android来打开SDK管理器,
在OS中,我导航到/tools the execute。/ Android I not get the Android SDK and AVD Manager。我只得到Android SDK管理器。我没有使用eclipse。由于我是新的,我不能张贴图像,但我已经添加了一个屏幕截图的链接。有什么想法吗?
谢谢
我正在尝试使用后台服务来截图。这项服务就像一个脸谱网的讨厌鬼,但我想让它在我点击的时候截屏。
我已经开发了一些代码,但它不能工作。我最后一次尝试是:
private void takeScreenshot() {
Date now = new Date();
android.text.format.DateFormat.format("yyyy-MM-dd_hh:mm:ss", now);
// image naming and path to include sd card appending name you choose for f
问题
当我调用GoogleFit.getDailyStepCountSamples()检索步骤时,我收到的步数比Google应用程序显示的要低得多。
发展环境
MacOS大Sur反应本地0.63.3 Android模拟器-Nexus5API 19
复制步骤
设置步长选项并调用函数。代码如下所示
const stepsOpt = {
startDate: '2021-09-15T00:00:00.000Z', // the start of the day in question
endDate: new Date().toISOString(), // you