# Android Builds can't be installed

**URL:** <https://forums.fusetools.com/t/android-builds-cant-be-installed/5502>\
**Category:** Bug Reports\
**Created:** [April 7, 2017, 9:52am UTC](https://forums.fusetools.com/t/android-builds-cant-be-installed/5502 "2017-04-07T09:52:26Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZioCain](https://avatars.discourse-cdn.com/v4/letter/z/858c86/32.png) [@ZioCain](https://forums.fusetools.com/u/ZioCain)\
**Post date:** [April 7, 2017, 9:52am UTC](https://forums.fusetools.com/t/android-builds-cant-be-installed/5502/1 "2017-04-07T09:52:26Z")

</div>

Fuse version 0.36.0 (build 11838)  
Copyright © 2017 Fusetools

OS: Windows10 Home (Version 1607)

Steps:  
Followed tutorial to learn how to make apps with fuse (hikr), preview is working perfectly, then i wanted to build it for my mobile (Honor8, EMUI5.1) and even if the build was successful, the APK won’t install

To build the APK I typed:  
fuse build --target=Android --configuration=Release  
The build is successful, always, no errors, no warning, then moved the APK to my mobile and it just can’t be installed, i dunno if i’m doing something wrong or it’s not working…

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [April 7, 2017, 9:54am UTC](https://forums.fusetools.com/t/android-builds-cant-be-installed/5502/2 "2017-04-07T09:54:09Z")

</div>

What do you mean can’t be installed. What does it say? Do you get any error message?

---

<div class="post-metadata">

**Author:** ![Remi\_Pedersen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/remi_pedersen/32/432_2.png) [@Remi\_Pedersen](https://forums.fusetools.com/u/Remi_Pedersen)\
**Post date:** [April 7, 2017, 9:58am UTC](https://forums.fusetools.com/t/android-builds-cant-be-installed/5502/3 "2017-04-07T09:58:39Z")

</div>

Also, if you add `-r` to the build command then the app will be automatically deployed to your USB-connected device.

---

<div class="post-metadata">

**Author:** ![ZioCain](https://avatars.discourse-cdn.com/v4/letter/z/858c86/32.png) [@ZioCain](https://forums.fusetools.com/u/ZioCain)\
**Post date:** [April 7, 2017, 10:10am UTC](https://forums.fusetools.com/t/android-builds-cant-be-installed/5502/4 "2017-04-07T10:10:10Z")

</div>

It sais (on the mobile phone)

App not installed,  
The package might be damaged

Also, i tried to use -r or even -f to force a new build, but no good result

Should i try to reinstall something?

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [April 7, 2017, 10:12am UTC](https://forums.fusetools.com/t/android-builds-cant-be-installed/5502/5 "2017-04-07T10:12:12Z")

</div>

Can you try on a different android device? If it still doesn’t work, can you share the built .apk ?

---

<div class="post-metadata">

**Author:** ![ZioCain](https://avatars.discourse-cdn.com/v4/letter/z/858c86/32.png) [@ZioCain](https://forums.fusetools.com/u/ZioCain)\
**Post date:** [April 7, 2017, 10:29am UTC](https://forums.fusetools.com/t/android-builds-cant-be-installed/5502/6 "2017-04-07T10:29:48Z")

</div>

I’ll try find some other android device with a different OS, i’m sharing the APK anyway: [https://drive.google.com/open?id=0Bz7cAl2ZLQ98dUFndDBlbENXOUk](https://drive.google.com/open?id=0Bz7cAl2ZLQ98dUFndDBlbENXOUk)

---

<div class="post-metadata">

**Author:** ![ZioCain](https://avatars.discourse-cdn.com/v4/letter/z/858c86/32.png) [@ZioCain](https://forums.fusetools.com/u/ZioCain)\
**Post date:** [April 7, 2017, 10:55am UTC](https://forums.fusetools.com/t/android-builds-cant-be-installed/5502/7 "2017-04-07T10:55:03Z")

</div>

UPDATES:

I also tried to download the code directly from your github (chapter4) and build it:

$ fuse build -t=Android -c=Release  
Uno 0.47.12 (build 5229) Windows 10 x64 55058c5

Configuring (3.0 s)  
Compiling syntax tree (1.8 s)  
Generating code and data (13.5 s)  
Building Android app  
2/2: hikr.apk  
Note: Some input files use or override a deprecated API.  
Note: Recompile with -Xlint:deprecation for details.  
(1:9)

Build completed in 88.02 seconds

But in the end, when i put it on my phone, it still doesn’t work

-found another mobile device: Samsung S3, Android 4.4.2;  
Still doesn’t install, but it gives no error message (guess it’s a system issue)

As i’ll be in the office i’ll try with a Samsung S7 updated to the last android version

---

<div class="post-metadata">

**Author:** ![Baggers](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/baggers/32/665_2.png) [@Baggers](https://forums.fusetools.com/u/Baggers)\
**Post date:** [April 7, 2017, 1:14pm UTC](https://forums.fusetools.com/t/android-builds-cant-be-installed/5502/8 "2017-04-07T13:14:02Z")

</div>

Thanks ZioCain, this is all very useful. I’ve been able to replicate the bug here and will starting looking for a fix now.

---

<div class="post-metadata">

**Author:** ![Baggers](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/baggers/32/665_2.png) [@Baggers](https://forums.fusetools.com/u/Baggers)\
**Post date:** [April 10, 2017, 2:33pm UTC](https://forums.fusetools.com/t/android-builds-cant-be-installed/5502/9 "2017-04-10T14:33:02Z")

</div>

Hi again ZioCain,

We found a regression in how we handled signing of apps. When you build for release Fuse looks for signing info in the `unoproj` and if it doesn’t fine it then it is meant to fall back to using the debug-keystore. However since we moved to gradle this was no longer handled by the build system so we now make sure that Fuse handles it for you.

We now have a fix internally and we are planning to make a patch release containing this fix.

Thanks again for reporting this and all the details.

---

<div class="post-metadata">

**Author:** ![ZioCain](https://avatars.discourse-cdn.com/v4/letter/z/858c86/32.png) [@ZioCain](https://forums.fusetools.com/u/ZioCain)\
**Post date:** [April 10, 2017, 3:13pm UTC](https://forums.fusetools.com/t/android-builds-cant-be-installed/5502/10 "2017-04-10T15:13:09Z")

</div>

Glad i’ve helped!!!

Looking forward for the patch! Fuse really helps out in the making of an App!

Thank you!

---

<div class="post-metadata">

**Author:** ![Remi\_Pedersen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/remi_pedersen/32/432_2.png) [@Remi\_Pedersen](https://forums.fusetools.com/u/Remi_Pedersen)\
**Post date:** [April 11, 2017, 2:31pm UTC](https://forums.fusetools.com/t/android-builds-cant-be-installed/5502/11 "2017-04-11T14:31:48Z")

</div>

Hi there!  
This should now be fixed in the [0.36.1 patch release](https://www.fusetools.com/community/forums/general/fuse_0361_is_out)
