Open Closed

Compile errors with Android version of MAUI app #5844


User avatar
0
darutter created
  • ABP Framework version: v7.3.3
  • UI Type:MVC
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

I have a MAUI app that was created using v7.3.3 that compiles successfully when I target my iOS phone, but when I attempt to compile the app targeting my android device it get 100 errors all related to androidx components or symbols not being found. Below are a couple examples.

/<project path>/aspnet-core/src/BCFOAssistant.Maui/obj/Debug/net7.0-android/android/src/crc64396a3fe5f8138e3f/CustomTabsServiceConnectionImpl.java(37,37): Error JAVAC0000: error: cannot find symbol extends androidx.browser.customtabs.CustomTabsServiceConnection symbol: class CustomTabsServiceConnection location: package androidx.browser.customtabs (JAVAC0000) (BCFOAssistant.Maui) javac

/<project path>/aspnet-core/src/BCFOAssistant.Maui/obj/Debug/net7.0-android/android/src/crc6477f0d89a9cfd64b1/ItemsViewAdapter_2.java(51,51): Error JAVAC0000: error: package androidx.recyclerview.widget.RecyclerView does not exist extends androidx.recyclerview.widget.RecyclerView.Adapter (JAVAC0000) (BCFOAssistant.Maui) javac

/<project path>/aspnet-core/src/BCFOAssistant.Maui/obj/Debug/net7.0-android/android/src/crc6477f0d89a9cfd64b1/VisualElementRenderer_1.java(28,28): Error JAVAC0000: error: cannot find symbol extends com.microsoft.maui.MauiViewGroup symbol: class MauiViewGroup location: package com.microsoft.maui (JAVAC0000) (BCFOAssistant.Maui) javac

I am running this on my MAC which was just updated to the latest MAC-OS and Xcode 15. I have been working on the iOS version and only today attempted to build the android version, so I don't know if this is an issue with the updates or if it has always been an issue.

Any assistance would be appreciated.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    Can you try dotnet clean& dotnet build -f net7.0-android?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.