App crashes with API 28 on Android 8.0

I’m using Fuse 1.12 installed via NPM. Since I build my app using:

"SDK": {
    "BuildToolsVersion": "28.0.3",
    "CompileVersion": 28,
    "MinVersion": 19,
    "TargetVersion": 28
"Architectures": {
    "Release": ["armeabi-v7a", "arm64-v8a", "x86", "x86_64"]

it crashes or it simply wont start on Android 8. I read in the forum that time ago this behaviour was due to a font issue or a mapview issue, but for my understanding these issues have been fixed (I do use Lato font, but I don’t use third party libraries).

I dont’ have a Android 8 device to test on and Android Studio emulator keeps reporting INSTALL_FAILED_NO_MATCHING_ABIS so I can’t understand what’s the error.

Do you have a mapview? Here’s the issue and resolution:

Hi and thank you for answering. Yes I do use MapView. If it may be usefull this is what Google Play console reports:

   at (
   at (
   at (Unknown Source)
   at$H.handleMessage (
   at android.os.Handler.dispatchMessage (
   at android.os.Looper.loop (
   at (
   at java.lang.reflect.Method.invoke (Native Method)
   at$ (
   at (
Caused by: java.lang.IllegalStateException: 
   at (
   at (
   at (
   at (
   at com.apps.tsn.tsn21.onCreate (
   at (
   at (
   at (

I will try you suggestion. I know I already asked but I still don’t understand UXL. Do you mean that I have to create a .UXL file with <Extensions>... inside and save it in the root folder of the app?
Thank you for the patience.

Just add this to the maps module:

Like in my PR here:

I managed to install the APK on a friend’s Android 8.0 phone but unfortunately the issue that keeps crashing the app hasn’t been solved with this suggestion.

I edited the file in C:\Users\_user_\AppData\Local\Fusetools\Packages\Fuse.Maps\1.10.0-rc1\Android I changed

[Require("Gradle.Dependency.Implementation", "")]


[Require("Gradle.Dependency.Implementation", "")]

but the app simply does not start. Tapping the icon does nothing. I do use MapView but the problem does not occur when the user runs the maps, it occurs immediately.
This is a serious issue as many users are reviewing the app 1 star… :frowning_face:

We had crash issues with Android 8.0 when the orientation was set in the .unoconfig as “portrait”. Can you check if you are forcing portrait? I fixed the issue with this:

You need to narrow down the crashing/offending code by removing each “complex”/3rd party module 1 by 1

Did you remember to uno doctor after you made the change? …and which version of uno are you using?

Now that I have a Android 8 device I finally di some testing. Thank you for answering.

UNO version is
Now that you told me I did uno doctor
Fortunately the app seems to not suffer the MapView issue. I changed found in C:\Users\_user_\AppData\Roaming\npm\node_modules\fuse-sdk\node_modules\@fuse-open\fuselibs\Source\build\Fuse.Maps\1.12.0\Android (which is the ‘new’ FuseLibs folder after NPM installation) as said but the app worked with both version.

Yes, my app does use portrait and that was the bug that prevented the app from starting. I still would like to set the app to portrait mode, so I set windowIsTranslucent=false as explained but it did not worked. Let me say that I did not copied or moved any file as said in point #3 of your post because since the use of NPM as the preferred method to install Fuse the folders are not those indicated, nor I want to risk to break Fuse libs installation with manual operations.
Is there an updated workaround to set portrait mode?

I notice that AndroidManifest.xml in C:\Users\enric\AppData\Roaming\npm\node_modules\fuse-sdk\node_modules\@fuse-open\uno\lib\build\UnoCore\1.12.1\Targets\Android\app\src\main contains already:

#if @(Project.Mobile.Orientations:Equals('Portrait'))
#elif @(Project.Mobile.Orientations:Equals('LandscapeLeft'))
#elif @(Project.Mobile.Orientations:Equals('LandscapeRight'))
#elif @(Project.Mobile.Orientations:Equals('Landscape'))

So android:screenOrientation is not the way to solve the issue.

1 Like

Hello! You have to build Uno again to make changes in the styles.xml work. I’m not sure how to do this with the NPM installation.