Home > Mobile >  Problem with Android Studio App Inspector
Problem with Android Studio App Inspector

Time:11-05

I've been trying to view my app inspector, but it keeps saying I need a device with API level 26 or higher. How can I tell what version I'm using now and how can I upgrade it? (I use the android emulator)

CodePudding user response:

I would create a new emulator. When you're creating one (through android studio) you get to choose what API version you want. Most emulator version are backwards compatible, so choosing the newest one probably won't be an issue. Android comes out with new versions all the time (unlike apple), so this is a common issue.

You could also download an emulator outside of studio. These will usually allow you to choose between different levels at will, but they aren't always great. If you have you're own android, that's usually best.

CodePudding user response:

If you want to know the API level of a connected device or emulator:

adb shell getprop ro.build.version.sdk
  • Related