adamahani / android-obd-reader

Automatically exported from code.google.com/p/android-obd-reader
0 stars 0 forks source link

Can't run application #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Dear authors,

I'm experiencing troubles with running your application.
When I run the application, an error message box appears:
"The application OBD II Reader (process eu.lighthouse.obd.reader) has stopped 
enexpectedly. Please try again."

Here are my steps:
1.I've cloned your repository:
  git clone https://code.google.com/p/android-obd-reader/
2.Runned in cmd: mvn clean install
  Compilation was succesfull.
3.Installed aplication on Android 2.3 Gingerbread.
4.Tried to run application.
5.Error appeared.

Could you give me some hint please?
What did I do wrong?

Yours Sincerely,
Lukáš Kubík

Original issue reported on code.google.com by DragonxX...@gmail.com on 22 Dec 2011 at 6:01

GoogleCodeExporter commented 9 years ago
if you run application on a device without bluetooth like emulator,it will 
cause a NullPointException.Because in onResume() method will register listener 
for sensorManager,however sensorManage was not assigned while executing 
onCreate() method.

Original comment by Googlin...@gmail.com on 5 Mar 2012 at 8:01

GoogleCodeExporter commented 9 years ago
You should try the latest 1.3 branch.  Still, this software is only meant to 
run on a real device and not on an emulator.

Original comment by pjpi...@gmail.com on 17 May 2012 at 3:24