Closed ajbates2 closed 2 weeks ago
Hi @ajbates2 ! Can you check this directory? Do you see any *-Signed.apk
file?
Yes that is what it is defaulting to
This file path is equal to the file path in the error message?
Yes it defaults to this path ${workspaceFolder}\bin\Debug\net8.0-android\com.${appName}.mobile-Signed.apk
If this file exists, the application should start. Can you send any example app?
I can't reproduce it on my pc:
same issue on my end
So, I am able to get meteor working on a fresh maui build but I'm running into these issues when trying to get an existing solution running. Do you know of any nuget package conflicts that exist? Also, the existing project I'm to get running is using the community toolkit view model if that changes anything.
Check the following code: https://github.com/JaneySprings/DotNet.Meteor/blob/23edb76c0e3fe12ad334205b94c921574094d334/src/DotNet.Meteor.Debug/LaunchConfiguration.cs#L40-L42
Check again the path to the application that the error gives you. I am sure there is a mistake in it.
Also you can check the Platforms\Android\AndroidManifest.xml
file. Maybe you have something like package="com.mycompany.myapp"
(Not the same as ApplicationId
in csproj) ?
Not sure how to solve this. I tried adding the program prop to the launch.json and I get the same issue, and when I click the debug log I get nothing.
Running on this on windows to an android emulator if that helps