Skip to content

android-36 api support #41

@rajatbyte

Description

@rajatbyte

Description
After installing this plugin in my latest Ionic(Angular) + Capacitor project, I am not able to generate build

To Reproduce

  1. Install latest Ionic Angular + Capacitor project
  2. Install capacitor-freerasp plugin
  3. Do "ionic capacitor build android" (Android studio will open)
  4. Now do build > Generate APK or Generate Signed APK

You will get the following issue

3 issues were found when checking AAR metadata:

  1. Dependency 'androidx.activity:activity:1.11.0' requires libraries and applications that
    depend on it to compile against version 36 or later of the
    Android APIs.

    :capacitor-freerasp is currently compiled against android-35.

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

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

  2. Dependency 'androidx.core:core-ktx:1.17.0' requires libraries and applications that
    depend on it to compile against version 36 or later of the
    Android APIs.

    :capacitor-freerasp is currently compiled against android-35.

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

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

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

    :capacitor-freerasp is currently compiled against android-35.

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

    Note that updating a library or application's compileSdk (which
    allows newer APIs to be used) can be done separately from updating
    targetSdk (which opts the app in to new runtime behavior) and
    minSdk (which determines which devices the app can be installed
    on).
    Update minCompileSdk in modules with dependencies that require a higher minCompileSdk.

Suggestion

targetSdkVersion 35

Update compileSDK and targetSDKversion from 35 to 36

Please complete the following information:
Ionic:

Ionic CLI : 7.2.1 (/Users/rajat/.nvm/versions/node/v22.21.1/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 8.7.17
@angular-devkit/build-angular : 20.3.15
@angular-devkit/schematics : 20.3.15
@angular/cli : 20.3.15
@ionic/angular-toolkit : 12.3.0

Capacitor:

Capacitor CLI : 8.0.1
@capacitor/android : 8.0.1
@capacitor/core : 8.0.1
@capacitor/ios : 8.0.1

Utility:

cordova-res : 0.15.4
native-run : 2.0.3

System:

NodeJS : v22.21.1 (/Users/rajat/.nvm/versions/node/v22.21.1/bin/node)
npm : 10.9.4
OS : macOS Unknown

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions