Bug on build (full)

Discussion in 'Archive - LWC 2.1' started by Mark, Oct 16, 2012.

  1. Mark In the know

    Member Since:
    Oct 16, 2012
    Message Count:
    29
    Likes Received:
    4
    Trophy Points:
    25
    I get this:

    ===== Starting =====

    =========
    Building: (1\2) Cards LWP Free
    =========
    -> Preparing images
    -> Copying template
    -> Refactoring
    -> Copying images
    -> Packaging
    -> Generating resource files
    -> Compiling resources
    ERROR -> java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
    Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.Main
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    Exception in thread "main"
    -> Converting to Dalvik
    ERROR -> no classfiles specified

    -> Generating un-signed apk
    ERROR -> 'lib\find_java.bat' is not recognized as an internal or external command,
    operable program or batch file.

    -> Signing
    ERROR -> Error: could not open `C:\Program Files\Java\jre7\lib\jvm.cfg'

    -> Aligning
    ERROR -> Unable to open 'C:\Users\Mark Anže\Desktop\Live Wallpaper Creator 2.1\archive\SnailReactors\Cards LWP Free\Cards LWP Freeunaligned.apk' as zip archive

    ==========
    Completed: Cards LWP Free
    ==========
    =========
    Building: (2\2) Cards LWP
    =========
    -> Preparing images
    -> Copying template
    -> Refactoring
    -> Copying images
    -> Packaging
    -> Generating resource files
    -> Compiling resources
    ERROR -> java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
    Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.Main
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    Exception in thread "main"
    -> Converting to Dalvik
    ERROR -> no classfiles specified

    -> Generating un-signed apk
    ERROR -> 'lib\find_java.bat' is not recognized as an internal or external command,
    operable program or batch file.

    -> Signing
    ERROR -> Error: could not open `C:\Program Files\Java\jre7\lib\jvm.cfg'

    -> Aligning
    ERROR -> Unable to open 'C:\Users\Mark Anže\Desktop\Live Wallpaper Creator 2.1\archive\SnailReactors\Cards LWP\Cards LWPunaligned.apk' as zip archive

    ==========
    Completed: Cards LWP
    ==========

    ===== Finished =====

    Do I reinstall java? Anything else?
  2. Vas Origin

    Member Since:
    Jan 4, 2012
    Message Count:
    770
    Likes Received:
    175
    Trophy Points:
    500
    What is your Java folder set to under the Tools & Settings tab?
  3. Mark In the know

    Member Since:
    Oct 16, 2012
    Message Count:
    29
    Likes Received:
    4
    Trophy Points:
    25
    It's ok now. But i get the famous "unable to open" error. And I'm 100% sure that the pass is correct.
  4. Vas Origin

    Member Since:
    Jan 4, 2012
    Message Count:
    770
    Likes Received:
    175
    Trophy Points:
    500
    Mark, are you still getting the error? Please post the details of the error if you are. Just because it says "unable to open" it does not necessarily mean it's the same error.
  5. Mark In the know

    Member Since:
    Oct 16, 2012
    Message Count:
    29
    Likes Received:
    4
    Trophy Points:
    25
    I got the error again but I didn't change any settings :eek:

    Java path: Java\jdk 1.6.0_27
    android SDKs are updated. path is correct

    ===== Starting =====
    =========
    Building: (1\2) Louis the Snail LWP Free
    =========
    -> Preparing images
    -> Copying template
    -> Refactoring
    -> Copying images
    -> Packaging
    -> Generating resource files
    -> Compiling resources
    -> Converting to Dalvik
    -> Generating un-signed apk
    -> Signing
    -> Aligning
    ERROR -> Unable to open 'C:\Users\Mark Anže\Desktop\Live Wallpaper Creator 2.1\archive\snailreactors\Louis the Snail LWP Free\Louis the Snail LWP Freeunaligned.apk' as zip archive
    ==========
    Completed: Louis the Snail LWP Free
    ==========
    =========
    Building: (2\2) Louis the Snail LWP
    =========
    -> Preparing images
    -> Copying template
    -> Refactoring
    -> Copying images
    -> Packaging
    -> Generating resource files
    -> Compiling resources
    -> Converting to Dalvik
    -> Generating un-signed apk
    -> Signing
    -> Aligning
    ERROR -> Unable to open 'C:\Users\Mark Anže\Desktop\Live Wallpaper Creator 2.1\archive\snailreactors\Louis the Snail LWP\Louis the Snail LWPunaligned.apk' as zip archive
    ==========
    Completed: Louis the Snail LWP
    ==========
    ===== Finished =====
  6. Vas Origin

    Member Since:
    Jan 4, 2012
    Message Count:
    770
    Likes Received:
    175
    Trophy Points:
    500
  7. Mark In the know

    Member Since:
    Oct 16, 2012
    Message Count:
    29
    Likes Received:
    4
    Trophy Points:
    25
    ===== Starting =====

    =========
    Building: (1\2) Louis the Snail LWP Free
    =========
    -> Preparing images
    -> Copying template
    -> Refactoring
    -> Copying images
    -> Packaging
    -> Generating resource files
    -> Compiling resources
    -> Converting to Dalvik
    -> Generating un-signed apk
    -> Signing
    -> Aligning
    ERROR -> Unable to open 'C:\Users\Mark\Desktop\Live Wallpaper Creator 2.1\archive\snailreactors\Louis the Snail LWP Free\Louis the Snail LWP Freeunaligned.apk' as zip archive

    ==========
    Completed: Louis the Snail LWP Free
    ==========
    =========
    Building: (2\2) Louis the Snail LWP
    =========
    -> Preparing images
    -> Copying template
    -> Refactoring
    -> Copying images
    -> Packaging
    -> Generating resource files
    -> Compiling resources
    -> Converting to Dalvik
    -> Generating un-signed apk
    -> Signing
    -> Aligning
    ERROR -> Unable to open 'C:\Users\Mark\Desktop\Live Wallpaper Creator 2.1\archive\snailreactors\Louis the Snail LWP\Louis the Snail LWPunaligned.apk' as zip archive

    ==========
    Completed: Louis the Snail LWP
    ==========

    ===== Finished =====

    ??! :eek:
  8. Mark In the know

    Member Since:
    Oct 16, 2012
    Message Count:
    29
    Likes Received:
    4
    Trophy Points:
    25
    ===== Starting =====
    =========
    Building: (1\2) Louis the Snail LWP Free
    =========
    -> Preparing images
    -> Copying template
    -> Refactoring
    -> Copying images
    -> Packaging
    -> Generating resource files
    -> Compiling resources
    -> Converting to Dalvik
    -> Generating un-signed apk
    -> Signing
    -> Aligning
    ERROR -> Unable to open 'C:\Users\Mark Anže\Desktop\Live Wallpaper Creator 2.1\archive\snailreactors\Louis the Snail LWP Free\Louis the Snail LWP Freeunaligned.apk' as zip archive
    ==========
    Completed: Louis the Snail LWP Free
    ==========
    =========
    Building: (2\2) Louis the Snail LWP
    =========
    -> Preparing images
    -> Copying template
    -> Refactoring
    -> Copying images
    -> Packaging
    -> Generating resource files
    -> Compiling resources
    -> Converting to Dalvik
    -> Generating un-signed apk
    -> Signing
    -> Aligning
    ERROR -> Unable to open 'C:\Users\Mark Anže\Desktop\Live Wallpaper Creator 2.1\archive\snailreactors\Louis the Snail LWP\Louis the Snail LWPunaligned.apk' as zip archive
    ==========
    Completed: Louis the Snail LWP
    ==========
    ===== Finished =====

Share This Page