How to generate android code from a processing project

左心房为你撑大大i 提交于 2019-12-11 05:14:40

问题


Am trying get the complete code for android form this project (http://www.gwoptics.org/processing/mobile/BouncingBall/) And i get 2 errors when i try to compile it on processing.

Here is the output i get:

-set-mode-check:

-set-debug-files:

-check-env:
Android SDK Tools Revision 22.3.0
Installed at C:\Users\antonis\adt-bundle-windows-x86_64-20130917\sdk

-setup:
     [echo] Project Name: BouncingBall
Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
Using latest Build Tools: 19.0.1
     [echo] Resolving Build Target for BouncingBall...
Project Target:   Android 2.3.3
API level:        10
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\antonis\AppData\Local\Temp\android1250127420012347820sketch\bin
    [mkdir] Created dir: C:\Users\antonis\AppData\Local\Temp\android1250127420012347820sketch\bin\res
    [mkdir] Created dir: C:\Users\antonis\AppData\Local\Temp\android1250127420012347820sketch\bin\rsObj
    [mkdir] Created dir: C:\Users\antonis\AppData\Local\Temp\android1250127420012347820sketch\bin\rsLibs
    [mkdir] Created dir: C:\Users\antonis\AppData\Local\Temp\android1250127420012347820sketch\gen
    [mkdir] Created dir: C:\Users\antonis\AppData\Local\Temp\android1250127420012347820sketch\bin\classes
    [mkdir] Created dir: C:\Users\antonis\AppData\Local\Temp\android1250127420012347820sketch\bin\dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for BouncingBall...
Library dependencies:
No Libraries

------------------
API<=15: Adding annotations.jar to the classpath.
     [echo] ----------
     [echo] Building Libraries with 'debug'...
   [subant] No sub-builds to iterate on

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

-pre-compile:

-compile:
    [javac] Compiling 3 source files to C:\Users\antonis\AppData\Local\Temp\android1250127420012347820sketch\bin\classes

BUILD FAILED
C:\Users\antonis\adt-bundle-windows-x86_64-20130917\sdk\tools\ant\build.xml:720: The following error occurred while executing this line:
C:\Users\antonis\adt-bundle-windows-x86_64-20130917\sdk\tools\ant\build.xml:734: Error running javac.exe compiler
The line 720: <do-only-if-manifest-hasCode elseText="hasCode = false. Skipping...">
The line 734: fork="${need.javac.fork}"

来源:https://stackoverflow.com/questions/20989394/how-to-generate-android-code-from-a-processing-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!