GithubHelp home page GithubHelp logo

Comments (6)

greenrobot-team avatar greenrobot-team commented on June 28, 2024

I guess you are trying to run it on an Android device? The objectbox-android-objectbrowser version looks good. Maybe a caching issue? Did you try flutter clean and then running again?

from objectbox-dart.

openl4m4 avatar openl4m4 commented on June 28, 2024

Well, thanks for the confirmation.

I tried a flutter clean but it's the same problem at the end. A rollback to these packages values works well :

dependencies:
  flutter:
    sdk: flutter
  objectbox: ^2.3.1
  objectbox_flutter_libs: any
  intl: any
  path_provider: ^2.0.10
  path: ^1.8.3
  image_picker: ^1.0.4

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.2  
  google_fonts: ^6.1.0
  collection: ^1.18.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  build_runner: ^2.0.0
  objectbox_generator: any    

from objectbox-dart.

greenrobot-team avatar greenrobot-team commented on June 28, 2024

Tried to reproduce but not having any issues in VS Code and running on Android. Maybe manually delete the Flutter/Dart build folders?

In any case, you can try with one of the examples to check if it's an issue with your project. (Make sure to comment out the dependency_overrides in the pubspec though).

from objectbox-dart.

bahadirarslan avatar bahadirarslan commented on June 28, 2024

I have the same issue.

Changing dependencies at andoid\app\build.gradle solved my problem.

dependencies {
    implementation 'com.android.support:multidex:1.0.3'
    implementation 'com.google.android.material:material:1.6.1'
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation "io.objectbox:objectbox-android:3.8.0"
    debugImplementation("io.objectbox:objectbox-android-objectbrowser:3.8.0")
}

from objectbox-dart.

greenrobot-team avatar greenrobot-team commented on June 28, 2024

@bahadirarslan Thanks, but the original poster already has the correct version of objectbox-android-objectbrowser added.

from objectbox-dart.

bahadirarslan avatar bahadirarslan commented on June 28, 2024

@bahadirarslan Thanks, but the original poster already has the correct version of objectbox-android-objectbrowser added.

You are right, sorry I didn't notice that.

from objectbox-dart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.