# Error to release Android app

**URL:** <https://forums.fusetools.com/t/error-to-release-android-app/6839>\
**Category:** Bug Reports\
**Created:** [May 7, 2017, 8:54pm UTC](https://forums.fusetools.com/t/error-to-release-android-app/6839 "2017-05-07T20:54:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leandro\_Sehnem\_Borto](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/leandro_sehnem_borto/32/87_2.png) [@Leandro\_Sehnem\_Borto](https://forums.fusetools.com/u/Leandro_Sehnem_Borto)\
**Post date:** [May 7, 2017, 8:54pm UTC](https://forums.fusetools.com/t/error-to-release-android-app/6839/1 "2017-05-07T20:54:29Z")

</div>

Hi guys.

I’m trying to release my app with the command `fuse build --target=Android --configuration=Release`

but I’m getting this output / error:

```auto
$ fuse install android

[...]

Installing build-tools;23.0.1 which may take a long while...
done
Installing cmake;3.6.3155560 which may take a long while...
done
Installing ndk-bundle which may take a long while...
done
Installing platforms;android-21 which may take a long while...
done
Installing platforms;android-23 which may take a long while...
done
Installing extras;android;m2repository which may take a long while...
done
Installing extras;google;m2repository which may take a long while...
done
# Done installing android
LEANDROs-Mac-mini:validadorbr Leandro$ 
LEANDROs-Mac-mini:validadorbr Leandro$ fuse build --target=Android --configuration=Release
Uno 0.47.13 (build 5304) OS X 10.12 i386 627d8b4

Configuring
Target is up-to-date -- stopping build (pass --force to override)
Building Android app
2/2: validadorbr.apk
ERROR: Unable to find the 'cmake' command. Please run 'fuse install android'. Expected to find cmake in 
## 2/2: validadorbr.apk
(unknown): E0200: Android build failed
(0.1 s)

Build completed in 1.08 seconds
    1 error

fuse: Errors were encountered while building the project

```

It says `Unable to find the 'cmake' command` but as you can see above I already installed it.

I also include `cmake` to PATH environment variable in this way `... /Users/Leandro/Documents/Desenvolvimento/android-sdk-macosx/cmake/3.6.3155560` and this way too ``… /Users/Leandro/Documents/Desenvolvimento/android-sdk-macosx/cmake/3.6.3155560/bin`

Any idea / suggestion?

Thanks

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [May 8, 2017, 7:05am UTC](https://forums.fusetools.com/t/error-to-release-android-app/6839/2 "2017-05-08T07:05:27Z")

</div>

Hi Leandro,

I did a quick search on the forums and found two threads that might be of help.  
[One is this](https://www.fusetools.com/community/forums/bug_reports/unable_to_setup_android_sdk_after_update_of_fuse_a?page=1&highlight=391c8be0-7b34-4471-8ef8-53b2fd901bb5#post-391c8be0-7b34-4471-8ef8-53b2fd901bb5) and [the other is this](https://www.fusetools.com/community/forums/bug_reports/problem_with_uno_build?page=1&highlight=7f5ad1d5-1961-45ae-bcf2-f9d248efff81#post-7f5ad1d5-1961-45ae-bcf2-f9d248efff81).

Hope this helps. If not, I’ll get someone else to take a look / ask relevant questions to get you going.

---

<div class="post-metadata">

**Author:** ![Leandro\_Sehnem\_Borto](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/leandro_sehnem_borto/32/87_2.png) [@Leandro\_Sehnem\_Borto](https://forums.fusetools.com/u/Leandro_Sehnem_Borto)\
**Post date:** [May 8, 2017, 11:36pm UTC](https://forums.fusetools.com/t/error-to-release-android-app/6839/3 "2017-05-08T23:36:59Z")

</div>

Hi Uldis.

Thank you for your time again.

Unfortunately none of those links helped me. About the first one, I checked my `java -version` and here it is the output:

```auto
LEANDROs-Mac-mini:~ Leandro$ java -version
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)

```

I also checked other JVM installed (jdk 1.7) and this one is 64-bit as well.

About the second one, I didn’t find this .sdkConfig file. Where exactly this `.sdkconfig` file is? I’m using a Mac OS, by the way.

Thanks

---

<div class="post-metadata">

**Author:** ![Noah\_Hall](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/noah_hall/32/601_2.png) [@Noah\_Hall](https://forums.fusetools.com/u/Noah_Hall)\
**Post date:** [May 9, 2017, 8:22am UTC](https://forums.fusetools.com/t/error-to-release-android-app/6839/4 "2017-05-09T08:22:36Z")

</div>

Hi Leandro,

Try running `uno clean` inside the directory, then running Fuse again. It should work for you then.

---

<div class="post-metadata">

**Author:** ![Leandro\_Sehnem\_Borto](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/leandro_sehnem_borto/32/87_2.png) [@Leandro\_Sehnem\_Borto](https://forums.fusetools.com/u/Leandro_Sehnem_Borto)\
**Post date:** [May 9, 2017, 12:42pm UTC](https://forums.fusetools.com/t/error-to-release-android-app/6839/5 "2017-05-09T12:42:20Z")

</div>

Hi Noah,

Thank you for your time. I did it but it doesn’t worked, I could run my app on Android device using `uno build` but just as a debug version. I have to release it.

---

<div class="post-metadata">

**Author:** ![Milton\_Morales](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Milton\_Morales](https://forums.fusetools.com/u/Milton_Morales)\
**Post date:** [May 10, 2017, 1:17am UTC](https://forums.fusetools.com/t/error-to-release-android-app/6839/6 "2017-05-10T01:17:56Z")

</div>

Try to use uno clean
