最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

android - How do I intergrate a maven project into a MAUI application? - Stack Overflow

programmeradmin3浏览0评论

I'm attempting to build a MAUI application for Android. One of Googles key requirements for releasing on Android is to display the OSS licenses for all libraries used.

They provide a library to list all the internal ones used by the play services.

I've been following along here

which led me to add this to a project file that I can then include.

<AndroidDependency Repository="Google" Include="com.google.android.gms:oss-licenses-plugin" Version="0.10.6" />

I then want to do the equivalent of this

startActivity(new Intent(this, OssLicensesMenuActivity.class));

But when I go to do this the AndroidBinding namespace appears to be empty. Have I missed something else in setting up that binding library?

await Platform.CurrentActivity.StartActivity(new Intent(Platform.CurrentActivity, AndroidBinding.OssLicensesMenuActivity));
发布评论

评论列表(0)

  1. 暂无评论