hyperledger-archives / aries-mobile-agent-xamarin

Apache License 2.0
38 stars 31 forks source link

I got this error while building aries max android project #61

Closed rkirandas closed 2 years ago

rkirandas commented 2 years ago

As Instructed in Readme's step 5.Open aries-max-app.sln and build then got this error

Error System.InvalidOperationException: Duplicate attribute. at System.Xml.Linq.XElement.AddAttributeSkipNotify(XAttribute a) at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content) at System.Xml.Linq.XContainer.Add(Object content) at Xamarin.Android.Tasks.ManifestDocument.AddLauncherIntentElements(XElement activity) at Xamarin.Android.Tasks.ManifestDocument.<>c__DisplayClass99_0.b__1(ActivityAttribute aa, XElement element) at Xamarin.Android.Tasks.ManifestDocument.ToElement[TAttribute](TypeDefinition type, String name, Func2 parser, Func2 toElement, Action2 update) at Xamarin.Android.Tasks.ManifestDocument.ActivityFromTypeDefinition(TypeDefinition type, String name, Int32 targetSdkVersion) at Xamarin.Android.Tasks.ManifestDocument.Merge(TaskLoggingHelper log, TypeDefinitionCache cache, List1 subclasses, String applicationClass, Boolean embed, String bundledWearApplicationName, IEnumerable`1 mergedManifestDocuments) at Xamarin.Android.Tasks.GenerateJavaStubs.Run(DirectoryAssemblyResolver res) at Xamarin.Android.Tasks.GenerateJavaStubs.RunTask() at Microsoft.Android.Build.Tasks.AndroidTask.Execute() in /Users/builder/azdo/_work/1/s/xamarin-android/external/xamarin-android-tools/src/Microsoft.Android.Build.BaseTasks/AndroidTask.cs:line 17 Hyperledger.Aries.Max.Android

x0axz commented 2 years ago

Have a look https://github.com/xamarin/xamarin-android/issues/6463#issuecomment-959992396

rkirandas commented 2 years ago

@x0axz Before Closing this issue

Is there any walkthrough or guide to setup a cloud agent using Aries dotnet to create an issuer like Faber college / a verifier like acme and the Aries Max as Alice. And also the ledger network should be Sovrin Buildernet.

Any help would be appreciated

x0axz commented 2 years ago

Yes, there is, however I'd propose closing this issue and opening a new one in the aries-framework-dotnet repository to ask the same question, as it might assist someone else. I'll post the answer there, and we'll also mention it in this issue so that it can be easily found.

rkirandas commented 2 years ago

@x0axz Did as you mentioned.

Looking forward for the answer

x0axz commented 2 years ago

Here it is: https://github.com/hyperledger/aries-framework-dotnet/issues/225#issuecomment-1145673868