native-run: Unsupported API level: 34

Version:

9.8.0

Description:

Creating a new Capacitor project. npx cap run android returns with

       native-run failed with error

        ERR_UNSUPPORTED_API_LEVEL: Unsupported API level: 34

        More details for this error may be available online:
        https://github.com/ionic-team/native-run/wiki/Android-Errors

Docs stated to open an issue, and there seems to be no opened GitHub issue for version 34.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 34
  • Comments: 20 (2 by maintainers)

Most upvoted comments

So when will Ionic support Android 14?

I have mine set up exactly like this and I still get: ERR_UNSUITABLE_API_INSTALLATION: No suitable API installation found.

Can anybody give a step by step solution for this.

Download these image image

Same error on macos latest version

I noticed that some of the solutions said to uninstall the latest SDK. I don’t think, this should be the way because I am using the latest SDK for other project.

So, please help us.

You are commenting on native-run repository and latest version of native-run is 2.0.0, so I mean update native-run to 2.0.0.

I do not have an AVD on my windows, so can anyone tell me how to change from api level 34 to 33

same issue for me

I have the same issue on macos Sonoma

Same here

I was able to replicate this error in windows. On my Ubuntu 20.04 operating system I had no problems

I get ERR_UNSUPPORTED_API_LEVEL: Unsupported API level: 33x

Same same!