Giter Club home page Giter Club logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
From a quick look that appears as though the there is an error running the 
/system/bin/su on the device.

I have seen a similar problem on a Android 3.1 production device.

Is the Android 2.2 a physical device or an AVD?


Original comment by [email protected] on 10 Aug 2011 at 2:52

from android-serialport-api.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
"/system/bin/su" is only present on rooted Android versions, like Cyanogen. It 
is not present on the emulator.

Nevertheless, the "su" command only gets executed if the serial port does not 
have the proper access rights in the first place.

You have to type "adb shell chmod 777 /dev/tty<>" each time you restart the 
emulator
(of course replace /dev/tty<>" by your serial device)

Original comment by [email protected] on 25 Oct 2011 at 10:05

  • Changed state: WontFix

from android-serialport-api.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
Hi,

Please check your AndroidManifest.xml for the minSdkVersion you configured.

while executed on Android3.0 may set default as 11, for Android2.2 it is 8.

VGR

Original comment by [email protected] on 16 Nov 2011 at 5:29

from android-serialport-api.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
Gnanam, why should I increase minSdkVersion? I do not need any of the features 
introduced by newer SDKs, and it would break the support for Android 1.5 to 2.3 
devices!

Original comment by [email protected] on 16 Nov 2011 at 11:46

from android-serialport-api.

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.