Skip to content

The app can run on iOS device. On Android, however, it crashes immediately, as soon as it displays the blue ".NET" logo. #1

Open
@meyerzz

Description

@meyerzz

The app can run on iOS device. On Android, however, fix immediately, as soon as it displays the blue or red ".NET" logo.

There doesn't seem to be any wrong indications during the build process nor in the Logcat:

dotnet build -t:Run -c Debug -f net9.0-android -v:diag
/usr/local/share/dotnet/sdk/9.0.100/MSBuild.dll -logo -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,/usr/local/share/dotnet/sdk/9.0.100/dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,/usr/local/share/dotnet/sdk/9.0.100/dotnet.dll -maxcpucount -property:Configuration=Debug -target:Restore -tlp:default=auto -tlp:verbosity=quiet -verbosity:m -verbosity:diag ./pjsua2maui.sln
/usr/local/share/dotnet/sdk/9.0.100/MSBuild.dll -nologo -consoleloggerparameters:Summary -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,/usr/local/share/dotnet/sdk/9.0.100/dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,/usr/local/share/dotnet/sdk/9.0.100/dotnet.dll -maxcpucount -property:TargetFramework=net9.0-android -property:Configuration=Debug -t:Run -tlp:default=auto -verbosity:m -verbosity:diag ./pjsua2maui.sln
  pjsua2maui net9.0-android succeeded with 4 warning(s) (87.8s) → pjsua2maui/bin/Debug/net9.0-android/pjsua2maui.dll
    /pjproject-maui-android/pjsip-apps/src/swig/csharp/pjsua2maui/pjsua2maui/obj/Debug/net9.0-android/generated/src/Org.Pjsip.PjCamera.cs(20,60): warning CS0618: 'Camera' is obsolete: 'This class is obsoleted in this android platform'

[3 more warnings similar as above]

Build succeeded with 4 warning(s) in 88.2s

Logcat:

12-05 14:06:02.687  1648 17182 W ActivityManager: fix : com.teluu.pjsua2maui,10302
12-05 14:06:02.687  1648  7105 W ActivityTaskManager:   Force finishing activity com.teluu.pjsua2maui/crc649fb2e8f84f92675e.MainActivity

Originally posted by @sauwming in pjsip/pjproject#4078 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions