# ASK Map Fuse

**URL:** <https://forums.fusetools.com/t/ask-map-fuse/940>\
**Category:** How-to Discussions\
**Created:** [March 25, 2016, 6:47am UTC](https://forums.fusetools.com/t/ask-map-fuse/940 "2016-03-25T06:47:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![indra](https://avatars.discourse-cdn.com/v4/letter/i/5f9b8f/32.png) [@indra](https://forums.fusetools.com/u/indra)\
**Post date:** [March 25, 2016, 6:47am UTC](https://forums.fusetools.com/t/ask-map-fuse/940/1 "2016-03-25T06:47:50Z")

</div>

Hi, currently i’m developing an app which require mapview, but when i try to build, i got this error

![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/5pW5eXEmaGMm-legacy-files-mip0Gd5OrySvyIHl-ai9TnFuHTR64UJdZNt4xEdqi.png)

This is my unoproj file

![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/pd6ymfxoI5lk-legacy-files-sTPHOZ9WSuOMVodJ-ru7PmjoRg8-FKsEFiTY_DEkk.png)

it said ERROR: Process com.mapFuse was not found

Can you guys fix this error?

Thank You

---

<div class="post-metadata">

**Author:** ![indra](https://avatars.discourse-cdn.com/v4/letter/i/5f9b8f/32.png) [@indra](https://forums.fusetools.com/u/indra)\
**Post date:** [March 25, 2016, 6:48am UTC](https://forums.fusetools.com/t/ask-map-fuse/940/2 "2016-03-25T06:48:44Z")

</div>

btw this is my code

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/Jl6LacmRqLtY-legacy-files-nEttBn7Kt1WKuul2-Te6B2-Gk-HBZAsbHBOvAm40x.png)

---

<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:** [March 29, 2016, 11:36am UTC](https://forums.fusetools.com/t/ask-map-fuse/940/3 "2016-03-29T11:36:45Z")

</div>

Hi indra,

Could you try browsing to `<your-project-directory>/build/Android/Debug` and running the `run.sh` or `run.bat` file you find there? Please copy-paste the result in this thread.

Am I correct in saying your project is called mapFuse?

Sorry you are having this issue but thanks for posting about it.

---

<div class="post-metadata">

**Author:** ![indra](https://avatars.discourse-cdn.com/v4/letter/i/5f9b8f/32.png) [@indra](https://forums.fusetools.com/u/indra)\
**Post date:** [March 29, 2016, 11:41am UTC](https://forums.fusetools.com/t/ask-map-fuse/940/4 "2016-03-29T11:41:11Z")

</div>

this is what I get sir

ERROR: An APK was not found at ‘D:\Documents\Fuse\mapFuse\build\Android\Debug\mapFuse.apk’

---

<div class="post-metadata">

**Author:** ![indra](https://avatars.discourse-cdn.com/v4/letter/i/5f9b8f/32.png) [@indra](https://forums.fusetools.com/u/indra)\
**Post date:** [March 29, 2016, 11:46am UTC](https://forums.fusetools.com/t/ask-map-fuse/940/5 "2016-03-29T11:46:50Z")

</div>

Nevermind about my first question sir. For some reason it can preview in android now but when it’s run it will force close automatically.If I run preview in local mode, the emulator will come out, but nothing inside since the mapview only support native view isn’t it? but when i try to preview in android, it will error. this is the log

Installing APK on 1 device(s) Launching actitity ‘mapFuse’ E/Zygote (14544): MountEmulatedStorage() E/Zygote (14544): v2 I/libpersona(14544): KNOX\_SDCARD checking this for 10288 I/libpersona(14544): KNOX\_SDCARD not a persona I/ActivityManager( 3265): Start proc com.mapFuse for activity com.mapFuse/.mapFuse: pid=14544 uid=10288 gids={50288, 9997, 3003, 1028, 1015} abi=armeabi-v7a I/SELinux (14544): Function: selinux\_compare\_spd\_ram, SPD-policy is existed. and\_ver=SEPF\_GT-I9500\_5.0.1 ver=38 I/SELinux (14544): Function: selinux\_compare\_spd\_ram , priority [1] , priority version is VE=SEPF\_GT-I9500\_5.0.1\_0038 E/SELinux (14544): [DEBUG] get\_category: variable seinfo: default sensitivity: NULL, cateogry: NULL I/art (14544): Late-enabling -Xcheck:jni D/ResourcesManager(14544): creating new AssetManager and set to /data/app/com.mapFuse-1/base.apk D/mapFuse (14544): SUT: false CML: false SDK: 21 V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/ic\_ab\_back\_holo\_dark\_am.png V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/sym\_def\_app\_icon.png V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/mipmap-xxhdpi-v4/icon.png E/ (14544): [android\_ws] Format: 511, Width: 1, Height: 1 E/ (14544): [android\_ws] Format: 511, Width: 1, Height: 1 E/ (14544): [android\_ws] Format: 511, Width: 1, Height: 1 D/Activity(14544): performCreate Call secproduct feature valuefalse D/Activity(14544): performCreate Call debug elastic valuetrue D/OpenGLRenderer(14544): Render dirty regions requested: true D/Atlas (14544): Validating map… I/OpenGLRenderer(14544): Initialized EGL, version 1.4 W/OpenGLRenderer(14544): Failed to choose config with EGL\_SWAP\_BEHAVIOR\_PRESERVED, retrying without… D/OpenGLRenderer(14544): Get maximum texture size. GL\_MAX\_TEXTURE\_SIZE is 4096 D/OpenGLRenderer(14544): Enabling debug mode 0 E/ (14544): [android\_ws] Format: 5, Width: 1080, Height: 1920 E/ (14544): [android\_ws] Format: 5, Width: 1080, Height: 1920 E/ (14544): [android\_ws] Format: 5, Width: 1080, Height: 1920 E/ (14544): [android\_ws] Format: 5, Width: 1080, Height: 1920 E/ (14544): [android\_ws] Format: 511, Width: 1080, Height: 1920 E/ (14544): [android\_ws] Format: 511, Width: 1080, Height: 1920 E/ (14544): [android\_ws] Format: 511, Width: 1080, Height: 1920 E/ (14544): [android\_ws] Format: 511, Width: 1, Height: 1 E/ (14544): [android\_ws] Format: 511, Width: 1, Height: 1 E/ (14544): [android\_ws] Format: 511, Width: 1080, Height: 1920 E/ (14544): [android\_ws] Format: 511, Width: 1080, Height: 1920 I/Timeline(14544): Timeline: Activity\_idle id: android.os.BinderProxy@36e5d76c time:98313329 E/ (14544): [android\_ws] Format: 511, Width: 1, Height: 1 E/ (14544): [android\_ws] Format: 511, Width: 1, Height: 1 E/ (14544): [android\_ws] Format: 511, Width: 1080, Height: 1920 E/ (14544): [android\_ws] Format: 511, Width: 1080, Height: 1920 E/ (14544): [android\_ws] Format: 511, Width: 1080, Height: 1920 E/ (14544): [android\_ws] Format: 511, Width: 1, Height: 1 E/ (14544): [android\_ws] Format: 511, Width: 1, Height: 1 E/ (14544): [android\_ws] Format: 511, Width: 1080, Height: 1920 E/ (14544): [android\_ws] Format: 511, Width: 1080, Height: 1920 E/ (14544): [android\_ws] Format: 511, Width: 1080, Height: 1920 I/zzad (14544): Making Creator dynamically D/ResourcesManager(14544): creating new AssetManager and set to /data/app/com.google.android.gms-2/base.apk W/ResourcesManager(14544): Asset path ‘/system/framework/com.android.media.remotedisplay.jar’ does not exist or contains no resources. W/ResourcesManager(14544): Asset path ‘/system/framework/com.android.location.provider.jar’ does not exist or contains no resources. D/ChimeraCfgMgr(14544): Reading stored module config D/ChimeraFileApk(14544): Primary ABI of requesting process is armeabi-v7a I/art (14544): DexFile\_isDexOptNeeded failed to open oat file ‘/data/dalvik-cache/arm/data@data@com.google.android.gms@app\_chimera@m@00000000@DynamiteModules-prod.apk@classes.dex’ for file location ‘/data/data/com.google.android.gms/app\_chimera/m/00000000/DynamiteModules-prod.apk’: Failed to open oat filename for reading: No such file or directory D/ChimeraFileApk(14544): Classloading successful. Optimized code found. I/Google Maps Android API(14544): Google Play services client version: 8487000 I/Google Maps Android API(14544): Google Play services package version: 8703238 V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/maps\_icon\_gmm.png V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/maps\_icon\_direction.png V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/maps\_btn\_myl\_pressed.png V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/maps\_btn\_myl\_normal.png D/AbsListView(14544): Get MotionRecognitionManager V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/maps\_btn\_zoom\_up\_disabled.png V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/maps\_btn\_zoom\_up\_pressed.png V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/maps\_btn\_zoom\_up\_normal.png V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/maps\_btn\_zoom\_down\_disabled.png V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/maps\_btn\_zoom\_down\_pressed.png V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/maps\_btn\_zoom\_down\_normal.png V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/maps\_ic\_compass\_needle.png V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/maps\_button\_compass\_highlighted.png V/BitmapFactory(14544): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/maps\_button\_compass.png W/ContextImpl(14544): Failed to ensure directory: /storage/extSdCard/Android/data/com.mapFuse/cache E/ (14544): [android\_ws] Format: 511, Width: 1, Height: 1 E/ (14544): [android\_ws] Format: 511, Width: 1, Height: 1 I/mapFuse (14544): Preview detected an unhandled exception: Uno.Exception: Fuse.Controls.NativeViewHost must have a native parent view. Theme provides no native view for parent type Fuse.Controls.Panel I/mapFuse (14544): at Fuse.Android.NativeViews.NativeView.RootNativeView() I/mapFuse (14544): at Fuse.Android.NativeViews.NativeView.OnRooted(Fuse.Node) I/mapFuse (14544): at Fuse.Android.NativeViews.ParentNativeView`1.OnRooted(Fuse.Node) I/mapFuse (14544): at Fuse.Android.NativeViews.NativeViewHost.OnRooted(Fuse.Node) I/mapFuse (14544): at Fuse.Behavior.Rooted(Fuse.Node) I/mapFuse (14544): at Fuse.Node.RootBehaviors() I/mapFuse (14544): at Fuse.Node.MarkRooted() I/mapFuse (14544): at Fuse.Node.MarkRooted() I/mapFuse (14544): at Fuse.Node.MarkRooted() I/mapFuse (14544): at Fuse.Node.MarkRooted() I/mapFuse (14544): at Fuse.Node.OnAdded(Fuse.Node) I/mapFuse (14544): at Fuse.RootViewport.set\_Content(Fuse.Node) I/mapFuse (14544): at Fuse.App.OnSetRootNode(Fuse.Node) I/mapFuse (14544): at Fuse.AppBase.CheckPendingReify() I/mapFuse (14544): at Fuse.AppBase.OnUpdate() I/mapFuse (14544): at Outracks.Simulator.Application.OnUpdate() I/mapFuse (14544): at Fuse.App.FrameCallback.doFrame(long) I/Choreographer(14544): Skipped 89 frames! The application may be doing too much work on its main thread. D/AndroidRuntime(14544): Shutting down VM E/AndroidRuntime(14544): FATAL EXCEPTION: main E/AndroidRuntime(14544): Process: com.mapFuse, PID: 14544 E/AndroidRuntime(14544): java.lang.NullPointerException: Attempt to invoke interface method ‘void com.fusetools.androidmapsapi.FuseMap$FuseMapCallback.onReady()’ on a null object reference E/AndroidRuntime(14544): at com.fusetools.androidmapsapi.FuseMap.configure(FuseMap.java:134) E/AndroidRuntime(14544): at com.fusetools.androidmapsapi.FuseMap.access$100(FuseMap.java:20) E/AndroidRuntime(14544): at com.fusetools.androidmapsapi.FuseMap$1.onMapReady(FuseMap.java:67) E/AndroidRuntime(14544): at com.google.android.gms.maps.MapView$zza$1.zza(Unknown Source) E/AndroidRuntime(14544): at com.google.android.gms.maps.internal.zzo$zza.onTransact(Unknown Source) E/AndroidRuntime(14544): at android.os.Binder.transact(Binder.java:380) E/AndroidRuntime(14544): at com.google.android.gms.maps.internal.v$a$a.a(:com.google.android.gms.alldynamite:82) E/AndroidRuntime(14544): at maps.ei.bu$6.run(Unknown Source) E/AndroidRuntime(14544): at android.os.Handler.handleCallback(Handler.java:739) E/AndroidRuntime(14544): at android.os.Handler.dispatchMessage(Handler.java:95) E/AndroidRuntime(14544): at android.os.Looper.loop(Looper.java:145) E/AndroidRuntime(14544): at android.app.ActivityThread.main(ActivityThread.java:5942) E/AndroidRuntime(14544): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(14544): at java.lang.reflect.Method.invoke(Method.java:372) E/AndroidRuntime(14544): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1389) E/AndroidRuntime(14544): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1184) I/b (14544): Sending API token request. I/b (14544): Received API Token: AH0uPGHVHEVFRATCpJQSU1IezQA5-rIe3NS5IDeb8yVl1RGV6d\_p\_Wfm1F8gZE65i0uLFP5HGy786YGPFEpXusTJxEaYPG

---

<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:** [March 29, 2016, 12:16pm UTC](https://forums.fusetools.com/t/ask-map-fuse/940/6 "2016-03-29T12:16:40Z")

</div>

Hey again indra,

Seems there is a problem with using a NativeViewHost inside an app with the NativeWithFallback Theme.

If you use NativeWithFallback just remove the NativeViewHost, your code works on android. If you use the Basic theme NativeViewHost works.

I have filed a bugreport for this.

Thanks for the help

---

<div class="post-metadata">

**Author:** ![indra](https://avatars.discourse-cdn.com/v4/letter/i/5f9b8f/32.png) [@indra](https://forums.fusetools.com/u/indra)\
**Post date:** [March 29, 2016, 12:24pm UTC](https://forums.fusetools.com/t/ask-map-fuse/940/7 "2016-03-29T12:24:06Z")

</div>

Oh I see. okay. Thank You Sir. i try it and it works now. 😃

But, just now i try to point to another place beside fuseHQ, but when I do that my screen will not directly showing the marker. i need to drag the map then only i can see. Is there any way to show the marker ? i try to use zoom attribute, but it does not effect the map. Thank You
