我正在学习第一次构建一个Android应用程序,甚至还不能通过设置阶段!
我使用的是OS X 10.9.5上的Mac。我的机器上安装了最新版本的Android Studio (2.1.2)和JDK/JRE1.6和1.8。
当我转到Android Studio > About Android Studio时,它告诉我JRE是1.6。
我还收到一个错误消息:“渲染问题Android N要求IDE运行Java 1.8或更高版本,安装受支持的JDK”
我已经安装了JDK v1.8。
在File > Project Structure > SDK Manager中,我有以下设置:
An
我正在尝试将一个后端端点云模块添加到我的android studio应用程序中,但是当我尝试构建该项目时,我得到了以下错误:
Executing tasks: [:backend:compileJava, :mobile:compileDebugSources, :wear:compileDebugSources]
Configuration on demand is an incubating feature.
:backend:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
在运行于VM ware上的ubuntu 12.04上安装netbeans 6.9.1时,出现以下错误
sudo sh ./jdk-6u22-nb-6_9_1-linux-ml.sh
[sudo] password for samkt:
Configuring the installer...
Searching for JVM on the system...
Preparing bundled JVM ...
./jdk-6u22-nb-6_9_1-linux-ml.sh: 1: eval: /tmp/.nbi-2064057.tmp/jre-6u20-linux-i586.b
当我升级我的Android Studio 2.0项目时(这触发了我将com.android.tools.build:gradle:1.50升级到com.android.tools.build:gradle:2.0),我得到了以下错误:
Error:objc[17636]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7
我是android的初学者,我有一些问题。我配置了我的第一个模拟器和我的第一个项目,但我得到了一些错误。 Consult IDE log for more details (Help | Show Log) (26 s 860 ms)
Android Studio is using the following JDK location when running Gradle:
C:\Program Files\Android\Android Studio\jre
Using different JDK location
我想尝试一下Clojure,但我在的第一步遇到了一些问题。它建议使用Leiningen来设置Clojure项目。
我下载并运行lein,我看到了以下内容:
Error: dl failure on line 732
Error: failed /Library/Java/JavaVirtualMachines/OpenJDK-1.7.0-20110203.jdk/Contents/Home/jre/lib/client/libjvm.dylib, because dlopen(/Library/Java/JavaVirtualMachines/OpenJDK-1.7.0-20110203.jd
我正在尝试在Windows10上安装Oracle SOA Suite12。我正确地设置了JAVA_HOME (能够对其执行echo操作),然后尝试运行JAR。它向我提供了以下消息:
This installer must be executed using a Java Development Kit (JDK) but C:\Program Files\Java\jre1.8.0_161 is not a valid JDK Java Home.
它似乎会查找JRE文件夹,默认情况下会忽略JAVA_HOME环境变量。我做了一个变通方法,导航到JDK文件夹,然后在JDK文件夹中运行java.e
C:\Users\13024\PycharmProjects\UltraShop_Clean
Encountered internal error running command: Error: Could not sign with default certificate. Original error Command 'C:\Program Files\Java\jdk1.8.0_251\bin\bin\java.exe' not found. Is it installed?
[debug] [W3C] at ADB.signWithDef
java已安装并正常工
我在我的本地系统上遇到了一个问题,我无法解决。我正在使用Bazel,看起来Bazel服务器进程被一些Mac OS安全设置阻止打开端口。
> bazel --version
bazel 4.2.1
> bazel info
Starting local Bazel server and connecting to it...
... still trying to connect to local Bazel server after 20 seconds ...
... still trying to connect to local Bazel server after 40
我通过gradle init --dsl kotlin ->生成一个框架kotlin application,将项目加载到intellij中,并收到以下错误。附加屏幕截图。
Type mismatch : inferred type is kotlin.String but java.lang.String was expected.
我已经尝试了使缓存无效/重新启动的各种步骤。删除.gradle,.idea,~/.gradle等刷新gradle项目,停止gradle守护进程。正在刷新intellij项目(正在删除~/.intellijIDea../system dir)。然而,没有一个
我有一个应用程序,它使用Kotlin 1.5.0和Kapt作为mapstructs。我已将JDK更新为16,并得到以下编译错误:
Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.5.0:kapt (kapt) on project X: Compilation failure
java.lang.IllegalAccessError: class org.jetbrains.kotlin.kapt3.base.KaptContext (in unnamed module @0x248e24b) cannot a
我的android工作室停止工作,并将此错误
The newly created daemon process has a different context than expected.
Java home is different.
Expecting: 'C:\Program Files\Android\Android Studio\jre' but was: 'C:\Program Files\Java\jre-9.0.4'.
Please configure the JDK to match the expected one.
我没有更改参
我安装了intellij,它一直给我带来错误:
Could not find or load main class sample.Main
我检查了许多类似问题的答案,但都没有效果。我想要运行的程序:
package com.company;
public class Main {
public static void main(String[] args) {
System.out.printf("hello");
}
}
运行配置
设置
没有创建"out“文件夹。在展开“.”后intell
我在通过远程访问运行Java Web Start时遇到了一个问题。尽管我的jar已签名,但我收到控制台的异常和错误:"Unable to launch the application“。例外情况是:
com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://hostmachine/myapp.jar
at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source)
at com.sun.
我在MacOS Big上运行Cytoscapa3.9.1有困难。系统检查器在下列情况下失败:
############# Cytoscape System Requirements Checker for Mac ##############
Target Cytoscape version: 3.9.0
Your shell is bash
Compatible OS version found: 11.6
- Pass: OS Version = 11.6.1
- Pass: Following Oracle JDK found:
/Library/Java/JavaVirtualM