Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to Create Database #1

Open
rodydavis opened this issue Nov 15, 2018 · 1 comment
Open

Fails to Create Database #1

rodydavis opened this issue Nov 15, 2018 · 1 comment

Comments

@rodydavis
Copy link

rodydavis commented Nov 15, 2018

Launching lib/main.dart on iPhone XR in debug mode...
Xcode build done.                                            5.6s
flutter: Tasks: Running initDb
DB Error: 1 "near "Tasks": syntax error"
DB Query: CREATE TABLE My Tasks(id INTEGER PRIMARY KEY, task TEXT, status TEXT, details TEXT, date TEXT)

Flutter Doctor:

[✓] Flutter (Channel beta, v0.10.2, on Mac OS X 10.13.6 17G3025, locale en-US)
    • Flutter version 0.10.2 at /Users/developer/flutter
    • Framework revision d8cbb80206 (3 weeks ago), 2018-10-26 01:30:21 -0400
    • Engine revision 6c2ade9fa2
    • Dart version 2.1.0-dev.8.0.flutter-bf26f760b1

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/developer/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[!] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    ✗ libimobiledevice and ideviceinstaller are not installed. To install, run:
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 30.0.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] VS Code (version 1.28.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.20.0

[✓] Connected device (1 available)
    • iPhone XR • 8740478D-307D-484F-BF6D-0C7D1967344D • ios • iOS 12.1 (simulator)

! Doctor found issues in 1 category.
@rodydavis
Copy link
Author

rodydavis commented Nov 15, 2018

Here is a pull request for the fix: #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant