apk - Android version in Android Studio causes app to crash on some phones? -


i have developed simple app using android studio , able run/upload while working on code on samsung galaxy s4. @ end, built apk file, , sent friend of mine. person able install it, when trying open error "unfortunately, app has stopped" appeared.

so have 2 android phones in front. 1 in app works , has error. same code!

i assume there problem versions (the working phone has android 4.4.2 , 1 not working has android 6.0.1). in android studio, chose api:15 android 4.0.3 (icecream sandwich) because, according as, should work on phone (see picture blow).

enter image description here

now, can me figure out if version 1 causing app work on 1 phone, not on other? it's thing can think of right now, code works fine on 1 of them. , if version, possible change now, after writing code? , finally, there apk conversion algorithm might responsible this?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -