REPEAT: Fuse 1.9, Android 8 failure, cannot run app

Update on what I’m seeing…

I have been able to get a build to run on API 26 (by run, I mean that it did not crash on start up). The configuration for this is:

  • No Android Studio installed
  • Standard install of Fuse 1.9
  • fuse install android
  • Manual update of Android SDK using sdkmanager for tools: 26.1.1, build-tools: 26.0.3, 27.0.3, 28.0.3, platforms: 19, 20, 22, 24-28 (fuse only installed 21 and 23)
  • Downloaded NDK 16b and replaced ndk-bundle in the Android SDK directory
  • unoproj settings:
    “SDK”: {
    “BuildToolsVersion”: “28.0.3”,
    “CompileVersion”: 28,
    “MinVersion”: 19,
    “TargetVersion”: 26
    }

The above built OK and ran on an Xperia XZ1 Compact (API 26). The only difference between this and what I could not get to run previously is the build tools and compile levels which I bumped up to the latest.

Further info:
The latest fuselibs GitHub - fuse-open/fuselibs: Fuselibs is the Uno-libraries that provide the UI framework used in Fuse apps fail with the error:
> Could not resolve all dependencies for configuration ‘:app:_debugApkCopy’.

Could not find com.google.android.gms:play-services-maps:12.0.1.
Required by:
Release:app:unspecified

There is a possible fix here Update Fuse.PushNotifications module to work with Android 8 and keeping backward compatibility by mohammedmanssour · Pull Request #1197 · fuse-open/fuselibs · GitHub but this is several commits ahead of the latest fuselibs so it is not practical to use this to deploy into production. Because of this, although I can get the app running on 26, I do not believe that push notifications will work. I will test this more over the next few days but I think that I’m looking at API 25 functionality for API 26 (i.e. no red dot on the app icon, no notification channels)

A build of the latest Uno How to update Uno installation outright does not work. This crashes out early in the build process.

More later - most likely next week

AC