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.
<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.