-3

I have created an android application. I have generated a signed apk and my app is working very well on all devices except OPPO A37.

I don't know what is the main issue. I have also tried to debug the app with the developer option. But the device is not showing on my android studio

Build.gradle

    apply plugin: 'com.android.application'

    android {
    compileSdkVersion 33
    defaultConfig {
        applicationId "com.example.wrfent.wrfnanbookings"
        minSdkVersion 19
        targetSdkVersion 33
        versionCode 3
        versionName "3.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        vectorDrawables.useSupportLibrary = true

       }
       buildTypes {
        release {
            minifyEnabled false
            debuggable false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    }
  
    dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    //noinspection GradleCompatible
    implementation 'com.android.support:appcompat-v7:28.0.0'
    //noinspection GradleCompatible
    implementation 'com.android.support:design:28.0.0'
    implementation 'com.squareup.retrofit2:retrofit:2.9.0'
    implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
    implementation 'com.android.support.constraint:constraint-layout:2.0.4'
    //noinspection GradleCompatible
    implementation 'com.android.support:cardview-v7:28.0.0'
    implementation 'com.squareup.picasso:picasso:2.71828'
    implementation 'com.facebook.network.connectionclass:connectionclass:1.0.1'
    implementation 'fr.bmartel:jspeedtest:1.32.1'
    testImplementation 'junit:junit:4.13.2'
    implementation 'com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.10'
}

Dijkgraaf
  • 11,049
  • 17
  • 42
  • 54
Moeez
  • 494
  • 9
  • 55
  • 147
  • check api level of mobile os and android studio build.gradel. – Dhruv Sakariya Dec 09 '22 at 11:49
  • how to check it on both ? – Moeez Dec 09 '22 at 11:55
  • send me your build.gradel screenshot – Dhruv Sakariya Dec 09 '22 at 11:56
  • @DhruvSakariya I have added in my question – Moeez Dec 09 '22 at 11:58
  • minsdk:-16 target:-28 – Dhruv Sakariya Dec 09 '22 at 12:03
  • and how to check in mobile? – Moeez Dec 09 '22 at 12:39
  • Build.VERSION.SDK_INT. – blackapps Dec 09 '22 at 12:51
  • `my app is working very well on all devices except` That tells us nothing! You should exactly tell what does not work. With code and error messages. – blackapps Dec 09 '22 at 12:53
  • @blackapps there is no error or message that appears on mobile. As already mentioned that the mobile device is not shown on the android studio in developer mode as well – Moeez Dec 09 '22 at 12:58
  • But what does not work? And how did you manage to install your app on it? – blackapps Dec 09 '22 at 13:04
  • Google `OPPO A37` is `Android 5.1`, is a very old, and EOS. – life888888 Dec 09 '22 at 15:39
  • @blackapps the app was shared over WhatsApp. and the `apk` is installed and I am able to login into the app. But when I click on the buttons, the app doesn't respond i.e. a when a button is taped, it opens a list and that list doesn't show no matter how many times I have taped the button and vice versa. Also I am unable to do usb debugging as the device never shows on my android studio while it does shows "`You are on developer mode`" on the device – Moeez Dec 10 '22 at 09:08
  • Enable MultiDex in your app and try again – Squti Dec 15 '22 at 08:47
  • Possibly related: [Android vectorDrawables.useSupportLibrary = true is stopping app](https://stackoverflow.com/q/41407811/295004) – Morrison Chang Dec 16 '22 at 18:11
  • `OPPO A37` being `Android 5.1` is still `minSdkVersion 22` Above the minSDK listed. @Moeez If the list portion of the code is failing, can you please post the: touch detection, button press, and list open/close methods? Note: May be using appCompat, and Cardview versions too advanced. minSDK is theoretically 14, yet other users have reported needing [cardview-v7:21.+](https://stackoverflow.com/questions/25586863/supportcardview-minimum-sdk) or [cardview-v7:+](https://stackoverflow.com/questions/51235038/dependecies-for-cardview-and-recyclerview-in-sdk-version-28) for some older phones. – G. Putnam Dec 17 '22 at 19:23

1 Answers1

0

Hello you can use the feedback feature library understand and fix bugs when your apps have a crash see this