Maryam
Maryam

Reputation: 119

How can we set an android app to be compatible with differnet android platforms?

Recently I have developed an android application. My first setting during creating the project in the first stages was for android with API level 21. Now I need to use this app in an older or newer version of Android. But it is "Unfortunately has Stopped". I have also used the following solution, but it did not work: How do you build and deploy to an older version of android for ionic / cordova The API levels which I intend to use is between 17 and 23. What is your suggestion to meet this frustrating problem? Thank you so much. The crash log is as follows:

unable to resolve virtual method 232: Landroid/app/Application;.registerOnProvideAssistDataListener (Landroid/app/Application$OnProvideAssistDataListener;)V
Could not find class 'android.util.ArrayMap', referenced from method com.android.tools.fd.runtime.MonkeyPatcher.monkeyPatchExistingResources
unable to resolve interface method 16032: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z

Upvotes: 0

Views: 81

Answers (1)

Alireza Parvizimosaed
Alireza Parvizimosaed

Reputation: 423

I have same problem. I tried some solutions but I could not resolve it. Solutions were:

  1. Android Studio E/dalvikvm: Could not find class... referenced from method
  2. Android studio many error: Could not find class 'android.XXX'

Upvotes: 1

Related Questions