adekunle11 opened a new issue, #1412:
URL: https://github.com/apache/cordova-android/issues/1412
# Bug Report
```
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=/Users/ad8kunle/Library/Android/sdk (recommended setting)
ANDROID_HOME=undefined (DEPRECATED)
Using Android SDK: /Users/ad8kunle/Library/Android/sdk
Subproject Path: CordovaLib
Subproject Path: app
FAILURE: Build failed with an exception.
* Where:
Script '/Users/ad8kunle/MarasoftBank/platforms/android/repositories.gradle'
* What went wrong:
Could not compile script
'/Users/ad8kunle/MarasoftBank/platforms/android/repositories.gradle'.
> startup failed:
General error during conversion: Unsupported class file major version 62
```
## Problem
Just setting up cordova for the for the first time on my Mac and i see this
error.
## Information
I have JDK_18.jdk installed
Cordova-Android 10.1.1
### Command or Code
repositories.gradle file looks like this
```
/* Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
ext.repos = {
google()
mavenCentral()
}
```
### Environment, Platform, Device
Android, Mac M1
### Version information
Cordova 11.0.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]