Title: Why is my Android application crashing on Samsung Galaxy Note 9?
Tags: android;crash;samsung-galaxy
Question: So , I was developing an Android application for Arduino and I was right about to post it on Google Play but first I though I should test it on different devices. So I sent my apk to a few of my friends.
Here are the devices i tested it :
One plus 6T : works perfectly
Asus zenfone 5z : again works perfectly
Samsung galaxy note 9 : when the app is opened it instantly crashes
Has anybody ever encountered such thing ?
My first guess was about the resolution of the device: the first two devices are running at a resolution of about 2280x1080 while the Note 9 john94@example.net.
I added into the Android Manifest file the lines for supporting screens but seems that they don't help.
I also created &quot;Landscape variations&quot; and &quot;tablet variation&quot; for my first three activities but that also didn't helped.
Here is my Manifest code :
<?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
<manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
package=&quot;com.example.edi.bluetoothgoogleplay&quot;&gt;
<uses-feature android:name=&quot;android.hardware.bluetooth&quot; /&gt;
<uses-permission android:name=&quot;android.permission.BLUETOOTH&quot; /&gt;
<uses-permission android:name=&quot;android.permission.BLUETOOTH_ADMIN&quot; /&gt;
<uses-permission android:name=&quot;android.permission.INTERNET&quot; /&gt;
<uses-permission android:name=&quot;android.permission.ACCESS_NETWORK_STATE&quot; /&gt;
<uses-permission android:name=&quot;android.permission.ACCESS_COARSE_LOCATION&quot; /&gt;
<uses-permission android:name=&quot;android.permission.ACCESS_FINE_LOCATION&quot; /&gt;
<uses-permission android:name=&quot;android.permission.BLUETOOTH_PRIVILEGED&quot; /&gt;
<supports-screens
android:largeScreens=&quot;true&quot;
android:normalScreens=&quot;true&quot;
android:xlargeScreens=&quot;true&quot;
android:smallScreens=&quot;true&quot;&gt;
</supports-screens&gt;
<application
android:allowBackup=&quot;true&quot;
android:hardwareAccelerated=&quot;true&quot;
android:icon=&quot;@drawable/newicon&quot;
android:label=&quot;Arduino Controller&quot;
android:largeHeap=&quot;true&quot;
android:supportsRtl=&quot;true&quot;
android:theme=&quot;@style/AppTheme&quot;&gt;
<activity android:name=&quot;.FirstActivity&quot;&gt;
<intent-filter&gt;
<action android:name=&quot;android.intent.action.MAIN&quot; /&gt;
<category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt;
</intent-filter&gt;
</activity&gt;
<activity
android:name=&quot;.MainActivity&quot;
android:screenOrientation=&quot;portrait&quot;&gt;
</activity&gt;
<activity
android:name=&quot;.ChooseActivity&quot;
android:screenOrientation=&quot;portrait&quot; /&gt;
<activity
android:name=&quot;.CarActivity&quot;
android:label=&quot;@string/title_activity_car&quot;
android:screenOrientation=&quot;landscape&quot;
android:theme=&quot;@style/AppTheme.NoActionBar&quot; /&gt;
<activity
android:name=&quot;.LedActivity&quot;
android:screenOrientation=&quot;portrait&quot; /&gt;
<activity
android:name=&quot;.TerminalBluetooth&quot;
android:screenOrientation=&quot;portrait&quot;
android:windowSoftInputMode=&quot;adjustPan&quot; /&gt;
</application&gt;
</manifest&gt;
Comment: You don't mention what the error is. Have you tried debugging live on the Samsung? If you debug on USB it will hopefully highlight the issue.

Comment: What is the debug message?



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 2, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2019:00:01/01/19', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<android><crash><samsung-galaxy>', 'Title': 'Why is my Android application crashing on Samsung Galaxy Note 9?', 'ViewCount': 325, 'id': 53995862, 'user_AboutMe': None, 'user_AccountId': 13657904.0, 'user_DisplayName': 'EDI ro', 'user_Reputation': 3.0, 'user_Views': 15.0, 'user_id': 9853869.0}}