# Issue with Preview on Android

**URL:** <https://forums.fusetools.com/t/issue-with-preview-on-android/701>\
**Category:** How-to Discussions\
**Created:** [May 25, 2017, 9:41am UTC](https://forums.fusetools.com/t/issue-with-preview-on-android/701 "2017-05-25T09:41:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karthik\_Varma](https://avatars.discourse-cdn.com/v4/letter/k/b19c9b/32.png) [@Karthik\_Varma](https://forums.fusetools.com/u/Karthik_Varma)\
**Post date:** [May 25, 2017, 9:41am UTC](https://forums.fusetools.com/t/issue-with-preview-on-android/701/1 "2017-05-25T09:41:35Z")

</div>

Hey !  
I installed the fuse android tools but am having trouble compile the app. Here is the log.

```auto
Fuse 1.0.0 (build 13426)
Configuring (22.0 s)
Compiling syntax tree (2.9 s)
Generating code and data (34.1 s)
Building Android app
2/2: App.apk
/Users/kaushik/Fuse/App/build/Android/Preview/app/src/main/java/com/apps/app/App.java:31: error: App is already defined in this compilation unit
import com.fuse.App;
^
/Users/kaushik/Fuse/App/build/Android/Preview/app/src/main/java/com/apps/app/App.java:47: error: cannot find symbol
        fuseApp = App.Create(this);
                     ^
  symbol: method Create(App)
  location: class App
/Users/kaushik/Fuse/App/build/Android/Preview/app/src/main/java/com/apps/app/App.java:83: error: cannot find symbol
        fuseApp.onDestroyPre();
               ^
  symbol: method onDestroyPre()
  location: variable fuseApp of type App
/Users/kaushik/Fuse/App/build/Android/Preview/app/src/main/java/com/apps/app/App.java:85: error: cannot find symbol
        fuseApp.onDestroyPost();
               ^
  symbol: method onDestroyPost()
  location: variable fuseApp of type App
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
4 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
## 2/2: App.apk
Incremental java compilation is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAnimatedVectorDrawable2340Library UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72340Library UP-TO-DATE
:app:prepareComAndroidSupportDesign2340Library UP-TO-DATE
:app:prepareComAndroidSupportRecyclerviewV72340Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42340Library UP-TO-DATE
:app:prepareComAndroidSupportSupportVectorDrawable2340Library UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:app:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
:app:compileDebugJavaWithJavac
:app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
:app:compileDebugJavaWithJavac FAILED

BUILD FAILED

Total time: 40.624 secs
(unknown): E0200: Android build failed
?: Error E0200: Android build failed
(44.1 s)

Build completed in 103.69 seconds
    1 error
fuse: Failed to compile project

```

I am on macOS 10.12.5 and Fuse v1.0 (Build 13426)

---

<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 26, 2017, 1:20pm UTC](https://forums.fusetools.com/t/issue-with-preview-on-android/701/2 "2017-05-26T13:20:41Z")

</div>

It appears the cause of the problem is that a project is named `App`. Could you try to rename it to something else and see if that helps?
