Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported API level: 34 #334

Closed
Delotrium opened this issue Aug 5, 2023 · 20 comments · Fixed by #349
Closed

Unsupported API level: 34 #334

Delotrium opened this issue Aug 5, 2023 · 20 comments · Fixed by #349
Labels

Comments

@Delotrium
Copy link

Delotrium commented Aug 5, 2023

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.

@dirkkelderman
Copy link

Same same!

@FoodlyEric
Copy link

I get
ERR_UNSUPPORTED_API_LEVEL: Unsupported API level: 33x

@ZeroHackeR
Copy link

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.

@Albongle
Copy link

Albongle commented Sep 5, 2023

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

@airtong
Copy link

airtong commented Sep 23, 2023

Same here

@nicolae536
Copy link

Same error on macos latest version

@nicolae536
Copy link

I have the same issue on macos Sonoma

@ibrhmvk
Copy link

ibrhmvk commented Oct 4, 2023

same issue for me

@pablopereira27
Copy link

This problem happens because "Run Android" is trying to run the application on an AVD (Android Virtual Device) API 34, if you remove or edit this AVD to API 33 or run the app on a non-virtual device through the cable connected to the computer (adb devices), this problem ends.

Obviously you need:

  • Have SDK 33 and the System Image (Google APIs Intel x86_64 Atom System Image), both of which can be acquired through the SDK Manager contained in Android Studio.
  • Create the AVD with API 33.

@lvzhenbo
Copy link

So when will Ionic support Android 14?

@Supritha0203
Copy link

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

@keev-studio
Copy link

Same issue in Windows 10
Strange is that I was able to build sucessfully like 15 times, doing just minor html+css changes before getting this error.

@kevincam3
Copy link

Can anybody give a step by step solution for this.

@jcesarmobile
Copy link
Member

Update to version 2.0.0

@kevincam3
Copy link

Update to version 2.0.0

Update what to version 2.0.0?

@kevincam3
Copy link

For now I'm just building it directly in Android Studio since that works fine.

@jcesarmobile
Copy link
Member

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.

@lvzhenbo
Copy link

lvzhenbo commented Nov 3, 2023

Can anybody give a step by step solution for this.

Download these
image
image

@SkySor44
Copy link

SkySor44 commented Dec 4, 2023

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

@NelsonDJCR
Copy link

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

I got the same problem

@ionic-team ionic-team locked as resolved and limited conversation to collaborators Dec 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.