-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Description
After installing this plugin in my latest Ionic(Angular) + Capacitor project, I am not able to generate build
To Reproduce
- Install latest Ionic Angular + Capacitor project
- Install capacitor-freerasp plugin
- Do "ionic capacitor build android" (Android studio will open)
- Now do build > Generate APK or Generate Signed APK
You will get the following issue
3 issues were found when checking AAR metadata:
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).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).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
Free-RASP-Capacitor/android/build.gradle
Line 30 in 9e1ebbc
| compileSdk 35 |
Free-RASP-Capacitor/android/build.gradle
Line 33 in 9e1ebbc
| 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