Comments (9)
It sounds like pub run sky:init wasn't run (which calls pub run momom:generate). ./packages/sky/sky_tool should do that for you however.
I can attempt to reproduce when I'm in the office. I suspect I failed to publish the latest Sky package correctly. @johnmccutchan
from flutter.
On a clean sky_test project:
$ ./packages/sky/sky_tool start
Dart VM version: 1.11.1 (Thu Jul 2 05:10:33 2015) on "macos_x64"
error: device not found
/Users/johnmccutchan/workspace/sky_test/main.dart does not exist.
$ touch main.dart
$ ./packages/sky/sky_tool start
Dart VM version: 1.11.1 (Thu Jul 2 05:10:33 2015) on "macos_x64"
error: device not found
error: device not found
Traceback (most recent call last):
File "./packages/sky/sky_tool", line 310, in
SkyShellRunner().main()
File "./packages/sky/sky_tool", line 303, in main
exit_code = args.func(args, pids)
File "./packages/sky/sky_tool", line 160, in run
if not self._is_package_installed(ANDROID_PACKAGE):
File "./packages/sky/sky_tool", line 127, in _is_package_installed
return subprocess.check_output(pm_path_cmd).strip() != ''
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['adb', 'shell', 'pm', 'path', 'org.domokit.sky.demo']' returned non-zero exit status 255
After attaching a device I see what's going on.
from flutter.
This should be fixed in https://codereview.chromium.org/1224623007/
from flutter.
@aghassemi Until the next revision of the Sky SDK a work around is:
- Depend on 'mojo_services' explicitly in your application.
- Run pub get
- Stop and start sky_tool
from flutter.
Thanks @johnmccutchan Workaround fixed the 404s.
I still get a black screen on the Hello World example but that should not be related to this issue. I get the black screen on a fresh install of the SkyDemo from the App store too. (Nexus 7, Android 5.1.1), any thoughts on where to look for the root cause?
from flutter.
It probably is black text on a black background. When we moved from the old world (.sky) to the new world (.dart) we changed the default background color from white to black to avoid the flash-of-white problem that the Web had for years during the load of pages.
I suspect we need to update hello_world to set a text color:
https://github.com/domokit/mojo/tree/master/sky/sdk/example/hello_world
from flutter.
I think that we changed the default text color to white last week. In the current world, though, hello_world draws its text under the status bar, which can make it hard to notice. Do you see that text when you run hello_world on your device?
from flutter.
@eseidel @iansf Thanks for the hints. It was both a black-on-black and under-the-statusbar issue. Putting it in a container with light background, I can see the text just fine now. ( I was creating my own hello world based on the code in README rather than trying the examples/hello_world so the text is still black )
from flutter.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
from flutter.
Related Issues (20)
- ScrollView.keyboardDismissBehavior doesn't unfocus the keyboard properly HOT 2
- [Flutter Web] Cannot scroll and touch(click) in Android web browser when flutter web is inside iFrame HOT 4
- Null check operator used on a null value while use animateToItem() HOT 2
- [shared_preferences_web] Error: FormatException: SyntaxError: Unexpected number in JSON HOT 2
- Setting accessibility Focus via code HOT 1
- [go_router] didChangeDependencies is called multiple time when using GoRouterState.of(context) HOT 1
- Automatic proxy detection and authentication on Windows HOT 2
- App crashed when flutter call "ClipboardData? data = await Clipboard.getData('text/plain');" HOT 1
- Keys appear "stuck" after pressing Meta key in conjunction with other keys
- Failed assertion for TableExample HOT 2
- Crash when compiling a project HOT 1
- [go_router_builder] go() get null on extra previous route HOT 1
- How Recompile with -Xlint:deprecation for details. HOT 1
- Flutter Web: Incorrect Encoding of Asset URLs Containing Spaces and Special Characters"
- [camera] IllegalStateException io.flutter.embedding.engine.dart.DartMessenger$Reply in reply HOT 1
- [flutter_adaptive_scaffold] Inconsistant "Open navigation drawer" button status
- Flutter Web - padding changes on ReorderableListView drag
- mac-9 & mac-28 lost external connection phone device.
- linux-52 lost external connection phone device.
- [Android] Horizontal drag events aren't delivered to a platform view (webview) in TabBarView
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.