Android app crashing!! it is working fine in some models of same API level.

  • Thread starter Thread starter AC Question
  • Start date Start date
A

AC Question

I have an android app with haveing several permissions listed bellow:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /><uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.NFC" />
<uses-feature
android:name="android.hardware.nfc"
android:required="false" />

<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="22" />

The app continuously gets the sensors information. I have tested in OnePlus 1, Nexus 5 with same android version (5.1.1). These are working fine. But in some other device with same and bellow SDK version, the app is installing properly but showing error while running. The error message is like "Unfortunately the app has been stopped".

I have no clue why this is happening. Please help to fix the android crashing problem.

Thanks in advance.
 

Latest posts

Trending Posts

Forum statistics

Threads
955,961
Messages
6,966,246
Members
3,163,446
Latest member
Laurie2Megan