ionic-team / ionic-team/native-run

[error] native-run failed with error

Open
#312 4 comments 1 reaction 0 assignees View on GitHub
android
Dominant language
TypeScript
Stars
137
Forks
28
PR merge metrics
No merged PRs in 30d

Description

**Version: 7**

npx cap run android

**Description:**
[error] native-run failed with error

ERR_UNSUITABLE_API_INSTALLATION: No suitable API installation found. Use --sdk-info to
reveal missing packages and other issues.

**Command Output:**

**SDK Info:**

4 issues were found when checking AAR metadata:

1. Dependency 'androidx.room:room-runtime:2.5.0' requires libraries and applications that
depend on it to compile against version 33 or later of the
Android APIs.

:app is currently compiled against android-32.

Recommended action: Update this project to use a newer compileSdkVersion
of at least 33, for example 33.

Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).

2. Dependency 'androidx.sqlite:sqlite-framework:2.3.0' requires libraries and applications that
depend on it to compile against version 33 or later of the
Android APIs.

:app is currently compiled against android-32.

Recommended action: Update this project to use a newer compileSdkVersion
of at least 33, for example 33.

Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).

3. Dependency 'androidx.sqlite:sqlite:2.3.0' requires libraries and applications that
depend on it to compile against version 33 or later of the
Android APIs.

:app is currently compiled against android-32.

Recommended action: Update this project to use a newer compileSdkVersion
of at least 33, for example 33.

Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).

4. Dependency 'androidx.security:security-crypto:1.1.0-alpha05' requires libraries and applications that
depend on it to compile against version 33 or later of the
Android APIs.

:app is currently compiled against android-32.

Recommended action: Update this project to use a newer compileSdkVersion
of at least 33, for example 33.

Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.