我正在尝试运行我的第一个简单的webview应用程序,不幸的是我知道Java很少。我正在关注Android入门指南: https://developers.google.com/chrome/mobile/docs/webview/gettingstarted#add_the_webview
尝试编译并运行应用程序时,我收到此错误:
Gradle tasks [:MyCustom:assembleDebug]
Execution failed for task ':MyCustom:packageDebug'.
> class org.bouncycastle.asn1.ASN1Primitive overrides final method equals.(Ljava/lang/Object;)Z
我跑步: OSX 10.9.1
Java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
.bash_profile
export JAVA_HOME=“/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home”
还有什么我应该看的吗?
更新:
Here is the error:
Executing tasks: [:MyCustom:generateDebugSources]
:MyCustom:preBuild UP-TO-DATE
:MyCustom:preDebugBuild UP-TO-DATE
:MyCustom:prepareDebugDependencies
:MyCustom:compileDebugAidl UP-TO-DATE
:MyCustom:compileDebugRenderscript UP-TO-DATE
:MyCustom:generateDebugBuildConfig UP-TO-DATE
:MyCustom:mergeDebugAssets UP-TO-DATE
:MyCustom:mergeDebugResources UP-TO-DATE
:MyCustom:processDebugManifest UP-TO-DATE
:MyCustom:processDebugResources UP-TO-DATE
:MyCustom:generateDebugSources UP-TO-DATE
BUILD SUCCESSFUL
Total time: 1.907 secs
Executing tasks: [:MyCustom:assembleDebug]
:MyCustom:compileDebugNdk UP-TO-DATE
:MyCustom:preBuild UP-TO-DATE
:MyCustom:preDebugBuild UP-TO-DATE
:MyCustom:prepareDebugDependencies
:MyCustom:compileDebugAidl UP-TO-DATE
:MyCustom:compileDebugRenderscript UP-TO-DATE
:MyCustom:generateDebugBuildConfig UP-TO-DATE
:MyCustom:mergeDebugAssets UP-TO-DATE
:MyCustom:mergeDebugResources UP-TO-DATE
:MyCustom:processDebugManifest UP-TO-DATE
:MyCustom:processDebugResources UP-TO-DATE
:MyCustom:generateDebugSources UP-TO-DATE
:MyCustom:compileDebugJava UP-TO-DATE
:MyCustom:preDexDebug UP-TO-DATE
:MyCustom:dexDebug UP-TO-DATE
:MyCustom:processDebugJavaRes UP-TO-DATE
:MyCustom:validateDebugSigning
:MyCustom:packageDebug FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':MyCustom:packageDebug'.
> class org.bouncycastle.asn1.ASN1Primitive overrides final method equals. (Ljava/lang/Object;)Z
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.