Hello,
I am developing it with Android studio+cordova.
The following error occurred in the build, and the error in CordovaLib was not addressed.
There are quite a few errors related to okhttp.
I would appreciate it if you could let me know.
C:\Users\app\platforms\android\CordovaLib\src\com\squareup\okhttp\Address.java:18: Error: Package com.squareup.okhttp.internal does not exist
import com.squareup.okhttp.internal.Util;
^
C:\Users\app\platforms\android\CordovaLib\src\com\squareup\okhttp\Address.java:25: Error: Package com.squareup.okhttp.internal does not exist
Do you happen to use Java 6?Okhttp requires Java 7 or higher, so it seems to be an error in Java 6 environment.Why don't you set your Java version to 7 or later and try again?
Okhttp's GitHub page had a similar issue.
617 Uncaught (inpromise) Error on Electron: An object could not be cloned
578 Understanding How to Configure Google API Key
610 GDB gets version error when attempting to debug with the Presense SDK (IDE)
911 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.