After
npm install send-intend
and
npx cap sync
wich works perfectly
i cant run: npx cap run android and get the following error.
`× Running Gradle build - failed!
[error]
FAILURE: Build failed with an exception.
* Where:
Settings file 'C:\Users\...\Workspaces\app.myapp.io\android\settings.gradle' line: 5
* What went wrong:
A problem occurred evaluating settings 'android'.
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major
version 66
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 562ms`
in the generated "capacitor.settings.gradle" stands in line 5 and 6
// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN
include ':capacitor-android'
project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor')
include ':send-intent'
project(':send-intent').projectDir = new File('../node_modules/send-intent/android')
After npm install send-intend and npx cap sync wich works perfectly
i cant run: npx cap run android and get the following error.
`× Running Gradle build - failed! [error] FAILURE: Build failed with an exception.
in the generated "capacitor.settings.gradle" stands in line 5 and 6
in capacitor.build.gradle
what s wrong? :S