Skip to content

Instantly share code, notes, and snippets.

/make

Created June 12, 2012 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2919907 to your computer and use it in GitHub Desktop.
Save anonymous/2919907 to your computer and use it in GitHub Desktop.
make log
FIND: Parameter format not correct
File not found - *.cpp
if [ -d "bin/data" ]; then \
mkdir -p res/raw; \
rm res/raw/androidimageexampleresources.zip; \
cd bin/data; \
zip -r ../../res/raw/androidimageexampleresources.zip *; \
cd ../..; \
fi
adding: bikers.jpg (172 bytes security) (deflated 1%)
if [ -f obj/ ]; then rm obj/; fi
#touch AndroidManifest.xml
if [ "MINGW32_NT-6.1" = "MINGW32_NT-6.1" ]; then \
cmd //c E:/android-sdk-windows/tools/android.bat update project --target android-8 --path /e/oF/apps/androidExamples/androidImageExample; \
else \
E:/android-sdk-windows/tools/android update project --target android-8 --path /e/oF/apps/androidExamples/androidImageExample; \
fi
Invalid number of parameters
Updated project.properties
Updated local.properties
Updated file e:\oF\apps\androidExamples\androidImageExample\proguard-project.txt
if [ -d bin/classes ]; then rm -r bin/classes; fi
if [ -d bin/classes.dex ]; then rm bin/classes.dex; fi
if [ -d bin/OFActivity.ap_ ]; then rm bin/OFActivity.ap_; fi
if [ -d bin/OFActivity-debug.apk ]; then rm bin/OFActivity-debug.apk; fi
if [ -d bin/OFActivity-debug-unaligned.apk ]; then rm bin/OFActivity-debug-unaligned.apk; fi
if [ -d bin/androidImageExample.apk ]; then rm bin/androidImageExample.apk; fi
if [ "MINGW32_NT-6.1" = "MINGW32_NT-6.1" ]; then \
E:/apache-ant-1.8.4/bin//ant debug; \
else \
ant debug; \
fi
Buildfile: E:\oF\apps\androidExamples\androidImageExample\build.xml
-set-mode-check:
-set-debug-files:
-set-debug-mode:
-debug-obfuscation-check:
-setup:
[echo] Creating output directories if needed...
[echo] Gathering info for OFActivity...
[setup] Android SDK Tools Revision 19
[setup] Project Target: Android 2.2
[setup] API level: 8
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] E:\oF\apps\androidExamples\androidImageExample: ../../../addons/ofxAndroid/ofAndroidLib/ => E:\oF\addons\ofxAndroid\ofAndroidLib
[setup] ------------------
[setup] Ordered libraries:
[setup] E:\oF\addons\ofxAndroid\ofAndroidLib
[setup]
[setup] ------------------
[setup] API<=15: Adding annotations.jar to the classpath.
[setup]
[setup] ------------------
-build-setup:
[echo] Building Libraries
nodeps:
-set-mode-check:
-set-debug-files:
-set-debug-mode:
-debug-obfuscation-check:
-setup:
[echo] Creating output directories if needed...
[echo] Gathering info for ofAndroidLib...
[setup] Android SDK Tools Revision 19
[setup] Project Target: Android 2.2
[setup] API level: 8
[setup] Project Type: Android Library
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] No library dependencies.
[setup]
[setup] ------------------
[setup] API<=15: Adding annotations.jar to the classpath.
[setup]
[setup] ------------------
[setup] WARNING: No minSdkVersion value set. Application will install on all Android versions.
-build-setup:
-pre-build:
-code-gen:
[echo] ----------
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
[echo] ----------
[echo] Handling Resources...
[aapt] Found Deleted Target File
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] No need to generate new BuildConfig.
-pre-compile:
-compile:
[javac] Compiling 1 source file to E:\oF\addons\ofxAndroid\ofAndroidLib\bin\classes
[echo] Creating library output jar file...
-post-compile:
-obfuscate:
-dex:
[echo] Library project: do not convert bytecode...
-crunch:
[crunch] Crunching PNG Files in source dir: E:\oF\addons\ofxAndroid\ofAndroidLib\res
[crunch] To destination dir: E:\oF\addons\ofxAndroid\ofAndroidLib\bin\res
[crunch] Crunched 0 PNG files to update cache
-package-resources:
[echo] Library project: do not package resources...
-package:
[echo] Library project: do not package apk...
-post-package:
-do-debug:
[echo] Library project: do not create apk...
[propertyfile] Updating property file: E:\oF\addons\ofxAndroid\ofAndroidLib\bin\build.prop
[propertyfile] Updating property file: E:\oF\addons\ofxAndroid\ofAndroidLib\bin\build.prop
[propertyfile] Updating property file: E:\oF\addons\ofxAndroid\ofAndroidLib\bin\build.prop
[propertyfile] Updating property file: E:\oF\addons\ofxAndroid\ofAndroidLib\bin\build.prop
-post-build:
debug:
[echo]
[echo] ############################################
[echo] **** Back to project OFActivity ****
[echo] ############################################
[mkdir] Created dir: E:\oF\apps\androidExamples\androidImageExample\bin\classes
-pre-build:
-code-gen:
[echo] ----------
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
[echo] ----------
[echo] Handling Resources...
[aapt] Found Deleted Target File
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] No need to generate new BuildConfig.
-pre-compile:
-compile:
[javac] Compiling 4 source files to E:\oF\apps\androidExamples\androidImageExample\bin\classes
-post-compile:
-obfuscate:
-dex:
[dex] Found Deleted Target File
[dex] Converting compiled files and external libraries into E:\oF\apps\androidExamples\androidImageExample\bin\classes.dex...
-crunch:
[crunch] Crunching PNG Files in source dir: E:\oF\apps\androidExamples\androidImageExample\res
[crunch] To destination dir: E:\oF\apps\androidExamples\androidImageExample\bin\res
[crunch] Crunched 0 PNG files to update cache
-package-resources:
[aapt] Found Deleted Target File
[aapt] Creating full resource package...
[aapt] Warning: AndroidManifest.xml already defines debuggable (in http://schemas.android.com/apk/res/android); using existing value in manifest.
-package:
[apkbuilder] Found Deleted Target File
[apkbuilder] Creating OFActivity-debug-unaligned.apk and signing it with a debug key...
-post-package:
-do-debug:
[zipalign] Running zip align on final apk...
[echo] Debug Package: E:\oF\apps\androidExamples\androidImageExample\bin\OFActivity-debug.apk
[propertyfile] Updating property file: E:\oF\apps\androidExamples\androidImageExample\bin\build.prop
[propertyfile] Updating property file: E:\oF\apps\androidExamples\androidImageExample\bin\build.prop
[propertyfile] Updating property file: E:\oF\apps\androidExamples\androidImageExample\bin\build.prop
[propertyfile] Updating property file: E:\oF\apps\androidExamples\androidImageExample\bin\build.prop
-post-build:
debug:
BUILD SUCCESSFUL
Total time: 6 seconds
cp bin/OFActivity-debug.apk bin/androidImageExample.apk
#if [ "device" = "device" ]; then
E:/android-sdk-windows/platform-tools/adb install -r bin/androidImageExample.apk;
pkg: /data/local/tmp/androidImageExample.apk
Success
68 KB/s (174921 bytes in 2.507s)
#fi
E:/android-sdk-windows/platform-tools/adb shell am start -a android.intent.action.MAIN -n cc.openframeworks.androidImageExample/cc.openframeworks.androidImageExample.OFActivity
Starting: Intent { act=android.intent.action.MAIN cmp=cc.openframeworks.androidImageExample/.OFActivity }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment