Hi,
I am doing some tests with MapView
and with iOS I don’t have any problem, but when I try to build the project for Android I’m getting the following errors:
../../../../usr/local/share/uno/Packages/Android.Support.V4.Meta/0.25.2/$.uxl(5.15): E0000: File '/Users/edzon/Library/Android/sdk/extras/android/support/v4/android-support-v4.jar' does not exist
../../../../usr/local/share/uno/Packages/Android.Google.Play.Meta/0.25.2/$.uxl(5.20): E0000: Directory '/Users/edzon/Library/Android/sdk/extras/google/google_play_services/libproject/google-play-services_lib' does not exist
Any idea on how to solve it?
Regards
Hi!
Did you try fuse install android
? Also, please try Fuse 0.11. Let us know if the problem continues.
https://www.fusetools.com/downloads/channel/qa
Hi Anders,
Yes, I already tried running fuse install android
in fact I don’t have any issue building for Android unless I try to add some lines to the .unoproj profile file in order to use MapView
I just did one test, I created a new blank project and verified that I was able to build it for Android (having just a white screen as a result), then I did two changes to .unoproj file. The first one to add Fuse.Maps package and the second one to add the key I got from google for using Google Maps API and by doing those changes I am not able to build for Android anymore. The errors I’m getting are those on my previous post.
My file looks like
{
"RootNamespace":"",
"Android":{
"Geo":{
"ApiKey":"my_key_gotten_from_google"
}
},
"Packages": [
"Fuse.Animations",
"Fuse.BasicTheme",
"Fuse.Themes",
"Fuse.Controls",
"Fuse.Designer",
"Fuse.Drawing",
"Fuse.Drawing.Primitives",
"Fuse.Effects",
"Fuse.Elements",
"Fuse.Entities",
"Fuse.Gestures",
"Fuse.Navigation",
"Fuse.Scripting",
"Fuse.Shapes",
"Fuse.Triggers",
"Fuse.Reactive",
"Fuse.Android",
"Fuse.Desktop",
"Fuse.iOS",
"Fuse.UserEvents",
"FuseCore",
"Uno.Collections",
"Uno.Geometry",
"Fuse.Maps"
],
"Includes": [
"*"
]
}
Am I doing something wrong? Is there anything missing?
I really appreciate your support.
I’m having the same problem
It could be due to missing google play libs. A note about this was unfortunately missing from the docs.
Install them as described here and then try to rebuild.
I’ve downloaded every single thing in the SDK manager, and did uno clean, fuse build -t=Android -z -r
and getting this error, and now getting this error even when I comment out the use of MapView
What files do you see at
/Users/edzon/Library/Android/sdk/extras/android/support/v4/
and
/Users/edzon/Library/Android/sdk/extras/google/google_play_services/libproject
Also if you run: /Users/edzon/Library/Android/sdk/tools/android
do you see all the packages installed that you expect?
Just to let you know that Remi’s recomendation fixed the issue.
Thanks Remi.