# App crashes on Android Preview

**URL:** <https://forums.fusetools.com/t/app-crashes-on-android-preview/3158>\
**Category:** Bug Reports\
**Created:** [April 12, 2016, 8:25am UTC](https://forums.fusetools.com/t/app-crashes-on-android-preview/3158 "2016-04-12T08:25:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![justmepratik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/justmepratik/32/363_2.png) [@justmepratik](https://forums.fusetools.com/u/justmepratik)\
**Post date:** [April 12, 2016, 8:25am UTC](https://forums.fusetools.com/t/app-crashes-on-android-preview/3158/1 "2016-04-12T08:25:31Z")

</div>

Desktop preview works fine, but on android device the app does not start.

Link to project: [https://drive.google.com/open?id=0B2-g6wkFg3qlYlRwTHAxOHBNYU0](https://drive.google.com/open?id=0B2-g6wkFg3qlYlRwTHAxOHBNYU0) Link to build log: [https://drive.google.com/open?id=0B2-g6wkFg3qlSk1keTVxMkhydVk](https://drive.google.com/open?id=0B2-g6wkFg3qlSk1keTVxMkhydVk)

Testing on Lg G3 (CloudyG3 2.5 ROM)

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [April 12, 2016, 11:39am UTC](https://forums.fusetools.com/t/app-crashes-on-android-preview/3158/2 "2016-04-12T11:39:26Z")

</div>

Just to be sure, by “does not start”, do you mean that it doesn’t even look like it tries to start, or do you mean that it displays an error message on the phone?

From the logs, this seems just like a connection issue. Can you please try the steps in the [troubleshooting guide](https://www.fusetools.com/learn/fuse#preview-failed-to-connect)?

---

<div class="post-metadata">

**Author:** ![justmepratik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/justmepratik/32/363_2.png) [@justmepratik](https://forums.fusetools.com/u/justmepratik)\
**Post date:** [April 12, 2016, 11:49am UTC](https://forums.fusetools.com/t/app-crashes-on-android-preview/3158/3 "2016-04-12T11:49:54Z")

</div>

No message on device. Yes, it might be a connection issue. I downloaded a new system image for marshmallow and created a new AVD yesterday. After this, adb devices returns two devices (1st one the emulator, and 2nd one is my phone). The emulator always shows up (don’t know why). The problem could be that the fuse maybe trying to connect to the first device. But that is just my guess.

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [April 12, 2016, 11:52am UTC](https://forums.fusetools.com/t/app-crashes-on-android-preview/3158/4 "2016-04-12T11:52:19Z")

</div>

What happens if you do `fuse build -tandroid --run`, does it start then? Can you also paste the full output of that command?

---

<div class="post-metadata">

**Author:** ![justmepratik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/justmepratik/32/363_2.png) [@justmepratik](https://forums.fusetools.com/u/justmepratik)\
**Post date:** [April 12, 2016, 12:03pm UTC](https://forums.fusetools.com/t/app-crashes-on-android-preview/3158/5 "2016-04-12T12:03:05Z")

</div>

This time, when I connected my device,it is listed as the 1st device, and emulator as 2nd. So, the build succeeds is succeeding right now. Will repost a reply if the same thing happens again. Thanks.
