# Estou com problema para empacotar o projeto

**URL:** <https://forums.unrealengine.com/t/estou-com-problema-para-empacotar-o-projeto/89009>\
**Category:** Português (Portuguese)\
**Tags:** unreal-engine\
**Created:** [April 1, 2017, 10:10am UTC](https://forums.unrealengine.com/t/estou-com-problema-para-empacotar-o-projeto/89009 "2017-04-01T10:10:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_7e74cc00](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7e74cc00](https://forums.unrealengine.com/u/anonymous_user_7e74cc00)\
**Post date:** [April 1, 2017, 10:10am UTC](https://forums.unrealengine.com/t/estou-com-problema-para-empacotar-o-projeto/89009/1 "2017-04-01T10:10:41Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b89038ef](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b89038ef](https://forums.unrealengine.com/u/anonymous_user_b89038ef)\
**Post date:** [April 1, 2017, 1:41pm UTC](https://forums.unrealengine.com/t/estou-com-problema-para-empacotar-o-projeto/89009/2 "2017-04-01T13:41:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![DanZaidan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DanZaidan](https://forums.unrealengine.com/u/DanZaidan)\
**Post date:** [April 3, 2017, 5:54pm UTC](https://forums.unrealengine.com/t/estou-com-problema-para-empacotar-o-projeto/89009/3 "2017-04-03T17:54:51Z")

</div>

Nunca trabalhei para Android na Unreal, mas pesquisando o erro

> [@](#):
>
> Error: Target id ‘android-19’ is not valid. Use ‘android.bat list targets’ to get the target ids.

, encontrei alguns posts.  
Segue uma possível solução:

> <https://github.com/play-co/devkit/issues/19>
>
> 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 :(

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7e74cc00](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7e74cc00](https://forums.unrealengine.com/u/anonymous_user_7e74cc00)\
**Post date:** [April 5, 2017, 6:12pm UTC](https://forums.unrealengine.com/t/estou-com-problema-para-empacotar-o-projeto/89009/4 "2017-04-05T18:12:04Z")

</div>

Obrigado, Já resolvi!!!

---

<div class="post-metadata">

**Author:** ![devives](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@devives](https://forums.unrealengine.com/u/devives)\
**Post date:** [April 8, 2017, 3:55pm UTC](https://forums.unrealengine.com/t/estou-com-problema-para-empacotar-o-projeto/89009/5 "2017-04-08T15:55:41Z")

</div>

Provavelmente você não está com a sdk 19 instalada no codeworks
