Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Deploy to Android device in Release mode #30

Closed
soundaranbu opened this issue Jan 22, 2022 · 1 comment
Closed

Deploy to Android device in Release mode #30

soundaranbu opened this issue Jan 22, 2022 · 1 comment

Comments

@soundaranbu
Copy link

Anybody tried this?
Following error is thrown when I tried to deploy the app in release mode to my device 'Xiaomi Redmi Note 9 Pro' which runs on Android 11.
Missing APKs for [ABI] dimensions in the module 'base'

After some digging, added the following to the NetPodsMauiBlazor.csproj file

  <PropertyGroup Condition="$(TargetFramework.Contains('-android'))">
    <RuntimeIdentifiers>android-arm64</RuntimeIdentifiers>
  </PropertyGroup>

After this, the app installed successfully. But when I open the app. It crashes.

P.S: I was successfully able to deploy in 'debug' mode and run the app without any issues

@soundaranbu
Copy link
Author

soundaranbu commented Jan 22, 2022

Update:
It's working after I add <AndroidLinkMode>None</AndroidLinkMode> which was mentioned here

Though the app enters into the home page now, page contents are not showing up. Only tabs are displayed. Clicking the tab doesn't do anything. (I didn't face this issue in debug mode)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants