User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: Still unable to build

  1. #1
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2009
    Location
    Louisiana, USA
    Posts
    369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Still unable to build

    I have tried everything I can think of and I still get the following error:

    Unable to locate tools.jar. Expected to find it in C:\PROGRA~2\Java\JRE16~1.0_0\lib\tools.jar

    I have the following installed:

    - Latest build of the Android Exporter extension
    - Android 3.2 (API 13)
    - JDK 1.7.0_0.1
    - JRE 7

    In my Preferences I have the path for JDK set to C:\Program Files\Java\jdk1.7.0_01.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    If you don't have all of the API's installed, I would install em all to make sure its not a API problem, not just 13

  3. #3
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2009
    Location
    Louisiana, USA
    Posts
    369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I thought to use the Android Exporter you can't have any of the APIs above 13 installed?

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    You have to install some above 13. I personally have them all installed.

  5. #5
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2009
    Location
    Louisiana, USA
    Posts
    369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've updated all of the Android SDK. Updated to the latest of 4.0.3 (API 15). I still get the same error when trying to build a simple test app.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    EdSabbath's Avatar
    Join Date
    Oct 2010
    Location
    Oklahoma, USA
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Kracker View Post
    I have tried everything I can think of and I still get the following error:

    Unable to locate tools.jar. Expected to find it in C:\PROGRA~2\Java\JRE16~1.0_0\lib\tools.jar

    I have the following installed:

    - Latest build of the Android Exporter extension
    - Android 3.2 (API 13)
    - JDK 1.7.0_0.1
    - JRE 7

    In my Preferences I have the path for JDK set to C:\Program Files\Java\jdk1.7.0_01.
    It is acting like the Java folder is set to Java\JRE~1.0_0 instead of Java\jdk1.7.0_01

    It's obvious by the error reported ("Expected to find it in...")

    Why, I don't know. It did the same for me. I just renamde the JDK folder to the folder it expected the JDK to be in and it worked for me perfectly after that.

  7. #7
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2009
    Location
    Louisiana, USA
    Posts
    369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I discovered that there was no tools.jar in that folder. I copied tools.jar from another java folder that is installed in c:\progra~1. I tried to compile and got an error, but a different one.

    BUILD FAILED
    C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:651: The following error occurred while executing this line:
    C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:672: Error running javac.exe compiler

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    You need to have API 13 in particular installed, or else it won't work.

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    EdSabbath's Avatar
    Join Date
    Oct 2010
    Location
    Oklahoma, USA
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Kracker View Post
    I discovered that there was no tools.jar in that folder. I copied tools.jar from another java folder that is installed in c:\progra~1. I tried to compile and got an error, but a different one.

    BUILD FAILED
    C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:651: The following error occurred while executing this line:
    C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:672: Error running javac.exe compiler
    Like I said, again, the folder it's looking for is wrong. So all of the compiler tools aren't going to be there. Rename your JDK folder to the folder it's looking for, it's the only workaround I know of. *shrug*

  10. #10
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2009
    Location
    Louisiana, USA
    Posts
    369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I uninstalled API 14 and 15. That didn't work. Still got the same error. So, I done a little research on the net. I found an article about creating an environmental variable (http://antaraala.wordpress.com/2012/...ing-eclipse-2/). So, I did most of what solution #2 states. However, there was already an environmental variable called JAVA_HOME. The problem is that the path was set to... *drum roll* C:\PROGRA~2\Java\JRE16~1.0_0.

    The actual directory is called JRE16~1.0_0.7. So, I edited the JAVA_HOME variable to the correct path. Voila! I start up MMF, open my test droid file, compile it... MMF asks me about my SDK, I click the correct directory, and everything compiles. So I guess another solution is to either rename the folder as you stated or correct the problem, which is possibly an incorrect JAVA_HOME environmental variable. While your solution does work I was determined to figure out what the heck was causing it.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Unable to paste into strings bug
    By brett in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 16th August 2013, 06:07 PM
  2. Unable to set an objects direction
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 1st July 2012, 04:07 AM
  3. Unable to use carets in calculations?
    By idnewton in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 29th June 2012, 12:57 AM
  4. Unable to reduce my app size
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 17th May 2012, 06:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •