Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't build game for native-android #235

Open
mat29x opened this issue Jun 17, 2015 · 1 comment
Open

can't build game for native-android #235

mat29x opened this issue Jun 17, 2015 · 1 comment

Comments

@mat29x
Copy link

mat29x commented Jun 17, 2015

My setup is a Virtual Machine (Virtualbox) running Ubuntu 12.04.

I have successfully updated devkit to v3.0.0-rc1 (with devkit-core module to v3.0.0-rc1 also)

My problem now is that I cannot build my game and I really need to build it with the updated devkit to resolve issue #228 (as suggested there)

this is how my terminal log looks like:

mat@Mat7x:~/Documents/wt-calamityrun$ devkit debug native-android
[build] starting build at Thu Jun 18 2015 04:39:13 GMT+0800 (PHT)
[apps] /home/mat/Documents/wt-calamityrun/manifest.json
[devkit]
[build] Prebuild phase completed for Calamity Run
build for: native-android scheme: debug
[devkit]
--- start config ---
appPath: /home/mat/Documents/wt-calamityrun
debug: true
scheme: debug
target: native-android
imports:
imports: native-android
schemePath: build/debug
outputPath: /home/mat/Documents/wt-calamityrun/build/debug/native-android
jsioPath:
jsioPath: /home/mat/Documents/wt-calamityrun/build/debug/native-android
clientPaths:
clientPaths: /home/mat/Documents/wt-calamityrun/build/debug/native-android
sdkVersion: 3.0.0-rc1
isTestApp: undefined
isSimulated: undefined
simulator:
deviceId: undefined
deviceType: undefined
deviceInfo: {}
port: undefined
modules: []
modules: []
spriteImages: true
ip: 10.0.2.15
localServerURL: 10.0.2.15:9200
serverName: local
outputResourcePath: /home/mat/Documents/wt-calamityrun/build/debug/native-android/assets/resources
studio: studio.wetalkdirect.com
version: debug
compress: false
appID: a36dd79473ea4dac97b1a48ed892466d
localBuildPath: build/debug/native-android
bundleID: com.wetalkdirect.studio.calamityrun
packageName: com.wetalkdirect.studio.calamityrun
isAndroid: true
repack: false
enableLogging: false
resourcesOnly: false
--- end config ---
[native-resources] Writing resources for a36dd79473ea4dac97b1a48ed892466d with target native-android
[jsio-compile] compiling import devkit.native.launchClient
jsio_compile "import devkit.native.launchClient" --cwd "/home/mat/Documents/wt-calamityrun" --environment "native" --path "["/home/mat/Documents/wt-calamityrun/modules/devkit-core/node_modules/jsio/packages",".","lib","modules/devkit-core/src/clientapi/api","modules/devkit-core/modules/timestep/src"]" --includeJsio "true" --appendImport "false" --debug "4" --pathCache "{"amplitude":"modules/devkit-amplitude/js","devkit":"modules/devkit-core/src/clientapi","effects":"modules/devkit-effects/src","menus":"modules/devkit-menus/src","squill":"modules/devkit-core/modules/squill"}" --compressorCachePath "build/debug/.js-cache-native-android" --defines "{"BUILD_TARGET":"native-android","BUILD_ENV":"native","DEBUG":true}" --printOutput --gcManifest "/home/mat/Documents/wt-calamityrun/manifest.json" --gcDebug "true" --preprocessors "["cls","logger"]"
[spriter] spriter --no-clean --cache-file "spritercache-c387824bb36c00cb30e1e3aa6002c797" --scale "1" --dir "/home/mat/Documents/wt-calamityrun/modules/devkit-effects/images/" --output "/home/mat/Documents/wt-calamityrun/build/debug/native-android/assets/resources/spritesheets" --target "native-android" --binaries "undefined" --is-simulator "undefined" --spriter-png-fallback "false"
LOG .imports Including native runtime.
[jvmtools] connected to localhost:55854
[spriter] spriter --no-clean --cache-file "spritercache-5a29b6770ff4f93203455bd529c809d2" --scale "1" --dir "/home/mat/Documents/wt-calamityrun/resources/" --output "/home/mat/Documents/wt-calamityrun/build/debug/native-android/assets/resources/spritesheets" --target "native-android" --binaries "undefined" --is-simulator "undefined" --spriter-png-fallback "false"
[native-resources] writing files to /home/mat/Documents/wt-calamityrun/build/debug/native-android/assets/resources
[ndk-build] ndk-build -j 8 DEBUG=1
[android] android create project --target android-19 --name calamityrun --path /home/mat/Documents/wt-calamityrun/build/debug/native-android --activity calamityrunActivity --package com.wetalkdirect.studio.calamityrun
[ndk-build] Android NDK: WARNING:jni/Android.mk:zip: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:jni/Android.mk:zip: LOCAL_LDLIBS is always ignored for static libraries
[armeabi] Compile++ thumb: tealeaf <= js.cpp
[armeabi] Compile++ thumb: tealeaf <= js_animate.cpp

               make: *** [obj/local/armeabi/objs-debug/tealeaf/js/js.o] Error 127
               make: *** Waiting for unfinished jobs....
               make: *** [obj/local/armeabi/objs-debug/tealeaf/js/js_animate.o] Error 127
    [build]    2 
              build failed
@oodavid
Copy link

oodavid commented Jul 6, 2015

See this comment, might be useful:

#236 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants