我正在使用jdk-10.0.2和gradle 4.7,在构建项目时遇到此错误。
Unable to find method 'sun.misc.Unsafe.defineClass(Ljava/lang/String;[BIILjava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class;'.
Possible causes for this unexpected error include:
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)
Your project may be using a third-party plugin which is not compatible with the other plugins …Run Code Online (Sandbox Code Playgroud) 我有一个多列的谷歌表。我希望将每一行的值组合成一个字符串并将该字符串转换为 base64。
示例:工作表数据
A1 B1 C1 D1 E1
NewYork Smith kalk smith@gmail.com 468783778
Run Code Online (Sandbox Code Playgroud)
细绳:
NewYork,Smith,kalk,smith@gmail.com,468783778
Run Code Online (Sandbox Code Playgroud)
结果 base64:
TmV3WW9yayxTbWl0aCxrYWxrLHNtaXRoQGdtYWlsLmNvbSw0Njg3ODM3Nzg=