Armory Android Publish Error

Hi,

i have a Problem with Publishing a Armory Project to Android. I just wanted to experiment with Armory so i just started a new Project with the default Blender Cube. Now i followed the instructions from the Armory manual. But when i press publish it shows an error massage in the Console:

Read prefs: C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
found bundled python: C:\Program Files\Blender Foundation\Blender\2.80\python
register_class(…):
Warning: ‘DNOISEPanel’ doesn’t contain ‘PT’ with prefix & suffix
Armory: Proxy objects synchronized
Read blend: C:\Users\admin\Desktop\Blender Tests\Android Studio 3\untitled.blend
Project cleaned

Armory v2019.9 ($Id: 2c6dcd0b50371c010c1287c332b6c1b791aeb1c1 $)
OS: win, Target: android-native-hl, GAPI: opengl, Blender: 2.80 (sub 75)
Exporting Scene
Exporting mesh Cube
Scene exported in 0.0300447940826416
Exported modules: [‘audio’]
Shader flags: [’_Irr’, ‘_EnvCol’, ‘_LDR’, ‘_ShadowMap’, ‘_SinglePoint’]
Running: [‘C:\Users\admin\Desktop\ArmorySDK//nodejs/node.exe’, ‘C:\Users\admin\Desktop\ArmorySDK//Kha/make’, ‘android-native-hl’, ‘-g’, ‘opengl’, ‘–shaderversion’, ‘300’, ‘–parallelAssetConversion’, ‘4’, ‘–to’, ‘build_untitled’]
Using project from C:\Users\admin\Desktop\Blender Tests\Android Studio 3
Info: Publishing project, check console for details.

Using Kha from C:\Users\admin\Desktop\ArmorySDK\Kha
Creating Kha project.
Exporting asset 1 of 3 (Scene.arm).
Exporting asset 2 of 3 (World_irradiance.arm).
Exporting asset 3 of 3 (mesh_Cube.arm).
Exporting asset 1 of 2 (Material_data.arm).
Exporting asset 2 of 2 (shader_datas.arm).
Compiling shader 1 of 4 (Material_shadowmap.vert.glsl).
Compiling shader 2 of 4 (Material_mesh.frag.glsl).
Compiling shader 3 of 4 (Material_mesh.vert.glsl).
Compiling shader 4 of 4 (Material_shadowmap.frag.glsl).
Unknown profile android-native

Unknown profile android-native

Unknown profile android-native

Unknown profile android-native

Compiling shader 1 of 4 (Material_shadowmap.vert.glsl) failed:
Shader compiler error.
(node:3288) UnhandledPromiseRejectionWarning: Shader compiler error.
(node:3288) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:3288) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Compiling shader 2 of 4 (Material_mesh.frag.glsl) failed:
Shader compiler error.
Compiling shader 3 of 4 (Material_mesh.vert.glsl) failed:
Shader compiler error.
Compiling shader 4 of 4 (Material_shadowmap.frag.glsl) failed:
Shader compiler error.
Finished in 3.0700507164001465
Build failed, check console

I really dont know what to do with this. I have blender 2.8 and newest Armory.
I would be thankful for any help.

Btw here is the .blend file untitled.blend (686.2 KB)

i tried the same thing now under Linux. Same problem. I really have no Idea now how to set it up.

The blend file you shared compiles fine with the latest git version of Armory SDK (the one from the latest commit on the github repository), tested on Linux. Try updating the SDK to the latest git version with the “Update SDK” button method, see https://github.com/armory3d/armory/wiki/gitversion

Thank you for answering! I installed the git version und now it works. I appreciate your effort :slight_smile:

1 Like