What does:

java -vesion

return?

--
RichardC

On Oct 23, 1:59 pm, phoenix <[email protected]> wrote:
> I created a sample project using the below command:
> android create project --target 1 --name HelloAndroid --path ./
> HelloAndroid --activity HelloAndroid --package com.helloandroid
>
> then attempted to build it using ANT. It gives the below error while
> creating the .dex file.
>
> C:\workspace\HelloAndroid>ant debug
> Buildfile: build.xml
>     [setup] Project Target: Android 1.1
>     [setup] API level: 2
>
> dirs:
>      [echo] Creating output directories if needed...
>
> resource-src:
>      [echo] Generating R.java / Manifest.java from the resources...
>
> aidl:
>      [echo] Compiling aidl files into Java classes...
>
> compile:
>     [javac] Compiling 1 source file to C:\workspace\HelloAndroid\bin
> \classes
>
> dex:
>      [echo] Converting compiled files and external libraries into bin/
> classes.de
> x...
>     [apply]
>     [apply] trouble writing output:
> java.security.NoSuchAlgorithmException: SHA-
> 1 MessageDigest not available
>
> BUILD FAILED
> C:\android-sdk-windows-1.6_r1\platforms\android-1.1\templates
> \android_rules.xml:
> 129: apply returned: 2
>
> Total time: 5 seconds
>
> Can you please suggest how should I solve this problem.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to