GithubHelp home page GithubHelp logo

Comments (4)

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

You did not fill out the issue template so I can't help much.

The issue is this: please check options and file system (30: Read-only file system). Is your project customizing the database folder? If so, make sure all parent folders exist and the app has permissions to write to it.

from objectbox-java.

luhuanxml avatar luhuanxml commented on May 28, 2024

this is my code .No custom storage directory.
object ObjectBox {

lateinit var boxStore: BoxStore
    private set

fun init(context: Context) {
    boxStore = MyObjectBox.builder().androidContext(context).build()
    LogTool.print(
        "ObjectBox",
        "ObjectBox: version=${BoxStore.getVersion()}  versionNative=${BoxStore.getVersionNative()}"
    )
}

}

Only one device has this issue.

from objectbox-java.

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

Only one device has this issue.

Looks like this is an issue with that device then? Maybe it has some customizations so the app files directory is on a read-only volume?

Edit: if it helps, you can see in BoxStore.java how the folder is created on Android.

from objectbox-java.

github-actions avatar github-actions commented on May 28, 2024

Without additional information, we are unfortunately not sure how to resolve this issue. Therefore this issue has been automatically closed. Feel free to comment with additional details and we can re-open this issue.

from objectbox-java.

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.