Giter Site home page Giter Site logo

EngineDriver not compatible about enginedriver HOT 8 CLOSED

jmri avatar jmri commented on June 12, 2024
EngineDriver not compatible

from enginedriver.

Comments (8)

n3ix avatar n3ix commented on June 12, 2024

I get the same error. with 2.18 from the Play Store. FYI the MCII runs Android version 4.1.1 which should be way after the minimum version for ED?

from enginedriver.

mattharris avatar mattharris commented on June 12, 2024

I'll have to look at this at the weekend as do not have access to hardware at the moment.
However, a quick thought comes to mind - didn't we add support for accelerometer based feedback during this past development phase? Only I do not think that the MCII has such hardware installed. It could be the way we're specifying the hardware requirements tripping us up.

Looking at the relevant line in the manifest, https://github.com/JMRI/EngineDriver/blob/master/AndroidManifest.xml#L26 we do not explicitly say if it's mandated or not.

Looking at the Android docs, https://developer.android.com/guide/topics/manifest/uses-feature-element.html#required it implies that as we've not included a suitable android:required declaration, it defaults to true thereby meaning that any hardware without an accelerometer will be marked incompatible. That this didn't come up during testing is due to Google Play using the uses-feature declaration for compatibility but direct loading not doing so.

from enginedriver.

flash62au avatar flash62au commented on June 12, 2024

from enginedriver.

SonnysHansen avatar SonnysHansen commented on June 12, 2024

I managed to install version 2.18 via the apk download, without any problems.
Sonny

from enginedriver.

flash62au avatar flash62au commented on June 12, 2024

from enginedriver.

n3ix avatar n3ix commented on June 12, 2024

I added the change to the uses-feature line in my copy of AndroidManifest. It loaded fine on the device, but as Matt pointed out this change only impacts loading from Play. I will uninstall the test version and retest it from Play it once Steve uploads a new version.

from enginedriver.

n3ix avatar n3ix commented on June 12, 2024

The 2.18.1 beta loaded successfully from the Playstore.

from enginedriver.

mstevetodd avatar mstevetodd commented on June 12, 2024

@SonnysHansen if you'd like to verify the 2.18.1 beta version on your MCII, please visit this site
https://play.google.com/apps/testing/jmri.enginedriver
and sign up to receive Beta updates:

from enginedriver.

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.