Search code examples
androidandroid-api-levels

Android Studio - Run and install the app with lower API


I usually use 3 emulator to test the apps (JB, KK and Lollipop). But now I am using my Surface Pro and I can't use a lot of emulator. Then I only use my real nexus 5 device but it is a problem because I am using code for v21 and v19, and I can't test v19.

Is it possible to install the app forcing the v19 in my Nexus 5 with Lollipop?


Solution

  • no. the nexus 5 with Lollipop is a Nexus 5 with Lollipop (API level 21).

    your choices are:

    • struggle with the emulator on a slower computer
    • buy another device for testing
    • buy/use a faster computer
    • flash the factory image of KitKat on the nexus 5 from here: https://developers.google.com/android/nexus/images (not great option in my opinion)