Bom dia, Alguém poderia me ajudar?
Estou com problema ao empacotar o projeto para Android. Ele começa a empacotar normal, e no final da erro.
Tive problemas ao empacotar para windows , eram tantos os erros no log que ninguém conseguiu me ajudar .No meu caso fui obrigado a refazer do zero o projeto , empacotando sucessivamente até identificar o primeiro vilão , uma pasta transferida de outro projeto . foi assim , por eliminação.
DanZaidan
(DanZaidan)
April 3, 2017, 5:54pm
3
Nunca trabalhei para Android na Unreal, mas pesquisando o erro
, encontrei alguns posts.
Segue uma possível solução:
opened 12:29AM - 26 Feb 13 UTC
closed 09:07PM - 28 Feb 13 UTC
root@marlon-laptop:/home/marlon/devkit/projects/whack-that-mole# basil build nat… ive-android --no-compress --debug --clean
[build] Building: debug/native-android
[build-native] Writing resources for 7ba6726c608a43fd8b607d27841e2774 with target native-android
[android] [error] Submodule tealeaf-core not found
[jsio] Inferring opts from platform: native
[packager] native-android { appID: '7ba6726c608a43fd8b607d27841e2774',
version: undefined,
fullPath: '/home/marlon/devkit/projects/whack-that-mole',
compress: false,
debug: true,
release: true,
servicesURL: 'http://api.gameclosure.com',
output: '/home/marlon/devkit/addons/native-android/build/whackthatmole/assets/resources',
localBuildPath: 'build/debug/native-android',
isSimulated: false,
isTestApp: false,
noRedirect: false,
noPrompt: true,
packageName: '',
studio: 'lilvarmit.com',
metadata: null,
target: 'native-android',
subtarget: 'android' }
[jsio] Compiling Source code.
[jsio] jsio_compile "gc.native.launchClient" --cwd "/home/marlon/devkit/projects/whack-that-mole" --compressorCachePath "/home/marlon/devkit/projects/whack-that-mole/build/.cache" --printOutput --defines "{\"BUILD_TARGET\":\"native-android\",\"BUILD_ENV\":\"native\",\"DEBUG\":true,\"DEV_MODE\":true,\"ADDON_NATIVE_ANDROID2\":true,\"ADDON_EXAMPLES\":true,\"ADDON_NATIVE_ANDROID\":true}" --jsioPath "sdk/jsio" --noIE "true" --environment "native" --path "[\".\",\"sdk/jsio\",\"sdk/gc/api/\",\"sdk/\",\"sdk/timestep/\"]" --includeJsio "true" --appendImport "false" --debug "4"
WARN preprocessors.compiler could not compile import from sdk/gc/native/launchClient.js: 'import base', {}).logging.get('console'
WARN preprocessors.compiler could not compile import from sdk/timestep/device.js: 'import ui.backend.' + (exports.useDOM ? 'dom' : 'canvas'
LOG ..**imports** Including native runtime.
[make] ndk-build -C TeaLeaf clean
make[1]: Entering directory `/home/marlon/devkit/addons/native-android/TeaLeaf'
Clean: andprof [armeabi]
Clean: cpufeatures [armeabi]
Clean: jansson [armeabi]
Clean: jpeg [armeabi]
Clean: png [armeabi]
Clean: stdc++ [armeabi]
Clean: tealeaf [armeabi]
Clean: v8a [armeabi]
Clean: zip [armeabi]
Clean: andprof [armeabi-v7a]
Clean: cpufeatures [armeabi-v7a]
Clean: jansson [armeabi-v7a]
Clean: jpeg [armeabi-v7a]
Clean: png [armeabi-v7a]
Clean: stdc++ [armeabi-v7a]
Clean: tealeaf [armeabi-v7a]
Clean: v8a [armeabi-v7a]
Clean: zip [armeabi-v7a]
make[1]: Leaving directory`/home/marlon/devkit/addons/native-android/TeaLeaf'
ant -f TeaLeaf/build.xml clean
[make] Buildfile: /home/marlon/devkit/addons/native-android/TeaLeaf/build.xml
[android] Error: Target id is not valid. Use 'android list targets' to get the target ids.
(android exited with code 1)
[android] [error] build failed creating android project
[android] [error] 1
please help me :(
devives
(Samuel Ives)
April 8, 2017, 3:55pm
5
Provavelmente você não está com a sdk 19 instalada no codeworks