samples icon indicating copy to clipboard operation
samples copied to clipboard

pedometer: Fails to run (missing files?)

Open justinmc opened this issue 2 years ago • 1 comments

I'm unable to run the experimental/pedometer app on a local emulator (iOS or Android). Is it missing some files that should be checked in?

Expected ios/Runner.xcodeproj but this file is missing.
No application found for TargetPlatform.ios.
Is your project missing an ios/Runner/Info.plist?
Consider running "flutter create ." to create one.
AndroidManifest.xml could not be found.
Please check /Users/jmccandless/Projects/samples/experimental/pedometer/android/AndroidManifest.xml for errors.
No application found for TargetPlatform.android_arm64.
Is your project missing an android/AndroidManifest.xml?
Consider running "flutter create ." to create one.

justinmc avatar Jan 25 '23 23:01 justinmc

PTAL @leighajarett

domesticmouse avatar Jan 26 '23 03:01 domesticmouse

PTAL @HosseinYousefi

domesticmouse avatar Jun 28 '23 01:06 domesticmouse

Pedometer itself is a plugin. The app is inside pedometer/example. Are you running the correct project?

I'm asking because of the path in the logs.

HosseinYousefi avatar Jun 28 '23 08:06 HosseinYousefi

Fail, that was my problem. Thanks. Here's a PR in case I'm not the only one who missed that: https://github.com/flutter/samples/pull/1928

justinmc avatar Jun 28 '23 20:06 justinmc