-2

I am developing an Android application with Android Studio and when I ran the project, it worked fine on my Intel 1505 with Android 5.1 running on it.

After deploying, I shared the application. It successfully installed, but when I ran it the project crashed.

buczek
  • 2,011
  • 7
  • 29
  • 40
  • 2
    Without the logcat is quite impossible to answer – Gabriele Mariotti Apr 18 '16 at 15:48
  • 3
    1) You should never ever ever publish the application before testing it on most (if not all) supported platforms, at least via emulators. 2) Please debug-run the app in API 19 and post stacktrace of crash here, this way no one on earth can know what is going wrong. – Slobodan Antonijević Apr 18 '16 at 15:51
  • You can't use API 22 features on API 19 device. You have to wrap them in `if (Build.VERSION.SDK_INT >= 21) { ... }`. Replace 21 with the API version when the feature used inside the if block was introduced. – Eugen Pechanec Apr 18 '16 at 17:09

1 Answers1

0

Check if you have the support libraries in the proyect. check some documentation about this here

Mike_dev
  • 1
  • 2
  • This might be the right answer, but good quality answers should quote appropriately from the link source and explain how it answers the question. –  Apr 18 '16 at 17:57