0

Android App Comparability.

I am Trying to develop an android application. and my application is runing in Samsung android version 8.0.0 and in huwaei 8.0.0. but in Samsung 5.0 even-though it installs it does stops (not opening) ,also in Elephone android version 8.1.0 it installs but (not opening). please any suggestions? I have posted the build.gradle file. thanks in advance,

6th May 2019, 8:59 AM
abraha Tekulu
abraha Tekulu - avatar
7 Answers
+ 1
~ swim ~ thanks , could you please mention any one you know who has used Android before?
6th May 2019, 9:13 AM
abraha Tekulu
abraha Tekulu - avatar
+ 6
Since the app works on newer versions of Android, it's likely using a newer API that is unsupported in the older version of Android. You'll need to review your code for any such API references and implement a fallback alternatives or set minimum and target SDK versions in the manifest. It could also be an issue with device incompatibility. Here are some references that might help: https://developer.android.com/training/search/backward-compat#java https://developer.android.com/guide/practices/compatibility
6th May 2019, 3:30 PM
David Carroll
David Carroll - avatar
+ 1
Thanks David Carroll I will check it and I will inform you.
6th May 2019, 3:34 PM
abraha Tekulu
abraha Tekulu - avatar
+ 1
We cannot help you with this information. If you have access to the phone, turn on "USB Debugging" and connect it to your computer, run your app and check it's logs in your favorite ide. There should be enough information about the crash. If it wasn't simply search the first line of the exception through your favorite search engine! You should test your app on various android versions before publishing. You can use "android emulators" for this purpose. I recommend you to use "Google Firebase crash reporting service" for better debugging after publishing. Enjoy coddling :)
7th May 2019, 5:22 AM
Abolfazl Naseri
Abolfazl Naseri - avatar
0
David Carroll ~ swim ~ any suggestions on my question guys?
6th May 2019, 9:04 AM
abraha Tekulu
abraha Tekulu - avatar