User Tag List

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

Thread: Android build error - file not found

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Dec 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Android build error - file not found

    Hello,

    I read the other threads and have tried many things but I still get a build error. I have installed the jdk (jdk1.8.0_45 - the 32 bit version in the X86 folder) and the sdk (api 22). I have changed the paths in the preferences/general tab. I have fusion build 284.10. I changed the api to 22 in the fusion project also. I tried both Build and Run and just Build and get the same error both times. Here is my error log:

    Buildfile: C:\Users\Larz\AppData\Local\Temp\AndB6EE.tmp\build .xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 24.3.2
    [checkenv] Installed at C:\Program Files (x86)\Android\android-sdk

    -setup:
    [echo] Project Name: RuntimeAndroid
    [gettype] Project Type: Application

    -set-debug-mode:

    -debug-obfuscation-check:

    -pre-build:

    -build-setup:
    [getbuildtools] Using latest Build Tools: 22.0.1
    [echo] Resolving Build Target for RuntimeAndroid...
    [gettarget] Project Target: Android 5.1.1
    [gettarget] API level: 22
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\Larz\AppData\Local\Temp\AndB6EE.tmp\bin
    [mkdir] Created dir: C:\Users\Larz\AppData\Local\Temp\AndB6EE.tmp\bin\r es
    [mkdir] Created dir: C:\Users\Larz\AppData\Local\Temp\AndB6EE.tmp\bin\r sObj
    [mkdir] Created dir: C:\Users\Larz\AppData\Local\Temp\AndB6EE.tmp\bin\r sLibs
    [mkdir] Created dir: C:\Users\Larz\AppData\Local\Temp\AndB6EE.tmp\gen
    [mkdir] Created dir: C:\Users\Larz\AppData\Local\Temp\AndB6EE.tmp\bin\c lasses
    [mkdir] Created dir: C:\Users\Larz\AppData\Local\Temp\AndB6EE.tmp\bin\d exedLibs
    [echo] ----------
    [echo] Resolving Dependencies for RuntimeAndroid...
    [dependency] Library dependencies:
    [dependency] No Libraries
    [dependency]
    [dependency] ------------------
    [echo] ----------
    [echo] Building Libraries with 'debug'...
    [subant] No sub-builds to iterate on

    -code-gen:
    [mergemanifest] Merging AndroidManifest files into one.
    [mergemanifest] Manifest merger disabled. Using project manifest only.
    [echo] Handling aidl files...
    [aidl] No AIDL files to compile.
    [echo] ----------
    [echo] Handling RenderScript files...
    [echo] ----------
    [echo] Handling Resources...
    [aapt] Generating resource IDs...

    BUILD FAILED
    C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:649: The following error occurred while executing this line:
    C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:694: Execute failed: java.io.IOException: Cannot run program "C:\Users\Larz\AppData\Local\Temp\AndB6EE.tmp\${aa pt}": CreateProcess error=2, The system cannot find the file specified
    at java.lang.ProcessBuilder.start(ProcessBuilder.java :1048)
    at java.lang.Runtime.exec(Runtime.java:620)
    at org.apache.tools.ant.taskdefs.launcher.Java13Comma ndLauncher.exec(Java13CommandLauncher.java:58)
    at org.apache.tools.ant.taskdefs.Execute.launch(Execu te.java:428)
    at org.apache.tools.ant.taskdefs.Execute.execute(Exec ute.java:442)
    at org.apache.tools.ant.taskdefs.ExecTask.runExecute( ExecTask.java:628)
    at org.apache.tools.ant.taskdefs.ExecTask.runExec(Exe cTask.java:669)
    at org.apache.tools.ant.taskdefs.ExecTask.execute(Exe cTask.java:495)
    at com.android.ant.AaptExecTask.execute(AaptExecTask. java:703)
    at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(S equential.java:68)
    at com.android.ant.IfElseTask.execute(IfElseTask.java :120)
    at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(S equential.java:68)
    at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.MacroInstance.execut e(MacroInstance.java:396)
    at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:43 5)
    at org.apache.tools.ant.Target.performTasks(Target.ja va:456)
    at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1393)
    at org.apache.tools.ant.Project.executeTarget(Project .java:1364)
    at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Projec t.java:1248)
    at org.apache.tools.ant.Main.runBuild(Main.java:851)
    at org.apache.tools.ant.Main.startAnt(Main.java:235)
    at org.apache.tools.ant.launch.Launcher.run(Launcher. java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher .java:109)
    Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
    at java.lang.ProcessImpl.start(ProcessImpl.java:137)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java :1029)
    ... 46 more


    Thanks for your help.
    Larckson

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Dec 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    fyi: I installed this SDK installer_r24.3.2-windows.exe

  3. #3
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,764
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    I have same error in the latest Android SDK r24.3.2.
    As far as I remember, error in R23.0.5 or R24.2 did not occur.

    Here is an error log when build the blank mfa.

    Buildfile: C:\MY_FOL~1\Temp_Sys2\And22B8.tmp\build.xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 24.3.2
    [checkenv] Installed at Y:\AndroidSDK_VivoTabN8

    -setup:
    [echo] Project Name: RuntimeAndroid
    [gettype] Project Type: Application

    -set-debug-mode:

    -debug-obfuscation-check:

    -pre-build:

    -build-setup:
    [getbuildtools] Using latest Build Tools: 22.0.1
    [echo] Resolving Build Target for RuntimeAndroid...
    [gettarget] Project Target: Android 4.0
    [gettarget] API level: 14
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\MY_FOL~1\Temp_Sys2\And22B8.tmp\bin
    [mkdir] Created dir: C:\MY_FOL~1\Temp_Sys2\And22B8.tmp\bin\res
    [mkdir] Created dir: C:\MY_FOL~1\Temp_Sys2\And22B8.tmp\bin\rsObj
    [mkdir] Created dir: C:\MY_FOL~1\Temp_Sys2\And22B8.tmp\bin\rsLibs
    [mkdir] Created dir: C:\MY_FOL~1\Temp_Sys2\And22B8.tmp\gen
    [mkdir] Created dir: C:\MY_FOL~1\Temp_Sys2\And22B8.tmp\bin\classes
    [mkdir] Created dir: C:\MY_FOL~1\Temp_Sys2\And22B8.tmp\bin\dexedLibs
    [echo] ----------
    [echo] Resolving Dependencies for RuntimeAndroid...
    [dependency] Library dependencies:
    [dependency] No Libraries
    [dependency]
    [dependency] ------------------
    [dependency] API<=15: Adding annotations.jar to the classpath.
    [echo] ----------
    [echo] Building Libraries with 'debug'...
    [subant] No sub-builds to iterate on

    -code-gen:
    [mergemanifest] Merging AndroidManifest files into one.
    [mergemanifest] Manifest merger disabled. Using project manifest only.
    [echo] Handling aidl files...
    [aidl] No AIDL files to compile.
    [echo] ----------
    [echo] Handling RenderScript files...
    [echo] ----------
    [echo] Handling Resources...
    [aapt] Generating resource IDs...

    BUILD FAILED
    Y:\AndroidSDK_VivoTabN8\tools\ant\build.xml:649: The following error occurred while executing this line:
    Y:\AndroidSDK_VivoTabN8\tools\ant\build.xml:694: Execute failed: java.io.IOException: Cannot run program "C:\MY_FOL~1\Temp_Sys2\And22B8.tmp\${aapt}": CreateProcess error=2, 指定されたファイルが見つかりません。
    at java.lang.ProcessBuilder.start(ProcessBuilder.java :1048)
    at java.lang.Runtime.exec(Runtime.java:620)
    at org.apache.tools.ant.taskdefs.launcher.Java13Comma ndLauncher.exec(Java13CommandLauncher.java:58)
    at org.apache.tools.ant.taskdefs.Execute.launch(Execu te.java:428)
    at org.apache.tools.ant.taskdefs.Execute.execute(Exec ute.java:442)
    at org.apache.tools.ant.taskdefs.ExecTask.runExecute( ExecTask.java:628)
    at org.apache.tools.ant.taskdefs.ExecTask.runExec(Exe cTask.java:669)
    at org.apache.tools.ant.taskdefs.ExecTask.execute(Exe cTask.java:495)
    at com.android.ant.AaptExecTask.execute(AaptExecTask. java:703)
    at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(S equential.java:68)
    at com.android.ant.IfElseTask.execute(IfElseTask.java :120)
    at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(S equential.java:68)
    at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.MacroInstance.execut e(MacroInstance.java:396)
    at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:43 5)
    at org.apache.tools.ant.Target.performTasks(Target.ja va:456)
    at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1393)
    at org.apache.tools.ant.Project.executeTarget(Project .java:1364)
    at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Projec t.java:1248)
    at org.apache.tools.ant.Main.runBuild(Main.java:851)
    at org.apache.tools.ant.Main.startAnt(Main.java:235)
    at org.apache.tools.ant.launch.Launcher.run(Launcher. java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher .java:109)
    Caused by: java.io.IOException: CreateProcess error=2, 指定されたファイルが見つかりません。
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
    at java.lang.ProcessImpl.start(ProcessImpl.java:137)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java :1029)
    ... 46 more

    Total time: 11 seconds

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export Module
    conceptgame's Avatar
    Join Date
    Apr 2011
    Location
    Switzerland
    Posts
    739
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    As I explained before, it requires a downgrade to Android SDK Tools Revision 24.0.2 or use the following trick:
    Hi Kijewoku,

    You need to have Android SDKk Tools version 24.0.2 instead of 24.3.2 (you still have 24.3.2, see log). Something broken by last version if you do not have Android Studio.
    If you do not want to downgrade to 24.0.2, try this trick with version 24.3.2:
    Add the following 4 lines to C:\Users\Kijewoku\Documents\Android\android-sdk\tools\ant\build.xml, starting line 484:
    Code HTML:

    <property name="aidl" location="${android.build.tools.dir}/aidl${exe}" /> <property name="aapt" location="${android.build.tools.dir}/aapt${exe}" /> <property name="dx" location="${android.build.tools.dir}/dx${bat}" /> <property name="zipalign" location="${android.build.tools.dir}/zipalign${exe}" />
    Make a backup of build.xml before editing it, just in case.

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Jan 2014
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you! I'ts work for me.

  6. #6
    No Products Registered

    Join Date
    Aug 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i got something like this,

    Buildfile: C:\Users\Gongas\AppData\Local\Temp\And76F6.tmp\bui ld.xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 24.3.3
    [checkenv] Installed at C:\Users\Gongas\AppData\Local\Android\android-sdk

    -setup:
    [echo] Project Name: RuntimeAndroid
    [gettype] Project Type: Application

    -set-debug-mode:

    -debug-obfuscation-check:

    -pre-build:

    -build-setup:
    [getbuildtools] Using latest Build Tools: 22.0.1
    [echo] Resolving Build Target for RuntimeAndroid...
    [gettarget] Project Target: Android 4.0.3
    [gettarget] API level: 15
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\Gongas\AppData\Local\Temp\And76F6.tmp\bin
    [mkdir] Created dir: C:\Users\Gongas\AppData\Local\Temp\And76F6.tmp\bin \res
    [mkdir] Created dir: C:\Users\Gongas\AppData\Local\Temp\And76F6.tmp\bin \rsObj
    [mkdir] Created dir: C:\Users\Gongas\AppData\Local\Temp\And76F6.tmp\bin \rsLibs
    [mkdir] Created dir: C:\Users\Gongas\AppData\Local\Temp\And76F6.tmp\gen
    [mkdir] Created dir: C:\Users\Gongas\AppData\Local\Temp\And76F6.tmp\bin \classes
    [mkdir] Created dir: C:\Users\Gongas\AppData\Local\Temp\And76F6.tmp\bin \dexedLibs
    [echo] ----------
    [echo] Resolving Dependencies for RuntimeAndroid...
    [dependency] Library dependencies:
    [dependency] No Libraries
    [dependency]
    [dependency] ------------------
    [dependency] API<=15: Adding annotations.jar to the classpath.
    [echo] ----------
    [echo] Building Libraries with 'debug'...
    [subant] No sub-builds to iterate on

    -code-gen:
    [mergemanifest] Merging AndroidManifest files into one.
    [mergemanifest] Manifest merger disabled. Using project manifest only.
    [echo] Handling aidl files...
    [aidl] No AIDL files to compile.
    [echo] ----------
    [echo] Handling RenderScript files...
    [echo] ----------
    [echo] Handling Resources...
    [aapt] Generating resource IDs...
    [aapt] C:\Users\Gongas\AppData\Local\Temp\And76F6.tmp\res \values\strings.xml:3: error: Apostrophe not preceded by \ (in Project)
    [aapt]

    BUILD FAILED
    C:\Users\Gongas\AppData\Local\Android\android-sdk\tools\ant\build.xml:650: The following error occurred while executing this line:
    C:\Users\Gongas\AppData\Local\Android\android-sdk\tools\ant\build.xml:695: null returned: 1

    Total time: 2 seconds

    plz help, i tried with other projects and only got this one like this

  7. #7
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,822
    Mentioned
    7 Post(s)
    Tagged
    2 Thread(s)
    I am looking at this line
    C:\Users\Gongas\AppData\Local\Temp\And76F6.tmp\res \values\strings.xml:3: error: Apostrophe not preceded by \ (in Project)
    [aapt]

    I think that is where the error is coming from.
    What is the bundle ID name your using?

  8. #8
    No Products Registered

    Join Date
    Aug 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i´m trying to export five nights at freddys, the id is com.yourapplication.yourapplication

  9. #9
    No Products Registered

    Join Date
    Aug 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <?xml version="1.0" encoding="utf-8"?>
    <resources>
    <string name="app_name">Project</string>
    </resources>

    what is wrong here??

  10. #10
    No Products Registered

    Join Date
    Aug 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i just figured out whats was wrong, the problem is the name inst project, i lied :-(, the problem is that the "´" in five nighst at freddy´s is causing this, just change to five nights at freddys!!!!

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 56
    Last Post: 26th December 2017, 08:53 PM
  2. Android Build Error
    By dsilvers in forum Android Export Module Version 2.0
    Replies: 21
    Last Post: 28th February 2014, 12:22 AM
  3. Replies: 4
    Last Post: 16th August 2013, 04:34 PM
  4. Android Build Error
    By dsilvers in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 2nd April 2013, 01:51 AM
  5. Trying Android again... getting error 83 on build
    By Tuna in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 20th January 2013, 04:33 PM

Posting Permissions

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