- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在从 MVVMCross 5.7 更新到 6.4。
我遵循了 StarWars 示例,但在尝试启动 Android 应用程序时遇到错误。我总是在 base.OnCreate(bundle) 上得到 System.AggregateException;
这是我的基础项目 App 和 Custom AppStart
public class App : MvxApplication
{
/// <summary>
/// Initializes this instance.
/// </summary>
public override void Initialize()
{
CreatableTypes()
.EndingWith("Service")
.AsInterfaces()
.RegisterAsLazySingleton();
RegisterCustomAppStart<AppStart>();
}
}
public class AppStart : MvxAppStart
{
public AppStart(IMvxApplication app, IMvxNavigationService mvxNavigationService)
: base(app, mvxNavigationService)
{
}
protected override Task NavigateToFirstViewModel(object hint = null)
{
var token = Settings.Token;
var skipIntro = Settings.SkipIntro;
if (!skipIntro)
{
return NavigationService.Navigate<IntroViewModel>();
}
if (!string.IsNullOrEmpty(token))
{
return NavigationService.Navigate<MainViewModel>();
}
else
{
return NavigationService.Navigate<WelcomeViewModel>();
}
}
这是我在 android 项目中的 SplashScreen、Setup 和 MainApplication。
[MvxActivityPresentation]
[Activity(
MainLauncher = true,
Label = "@string/applicationName",
Icon = "@drawable/icon_main",
NoHistory = true,
ScreenOrientation = ScreenOrientation.Portrait)]
public class SplashScreenView : MvxSplashScreenActivity
{
/// <summary>
/// Initializes a new instance of the <see cref="SplashScreenView"/> class.
/// </summary>
public SplashScreenView() : base(Resource.Layout.screen_splash)
{
}
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
ImageView img = FindViewById<ImageView>(Resource.Id.loadingImage);
if (img != null)
{
img.SetBackgroundResource(Resource.Animation.loading_animation);
// Get the background, which has been compiled to an AnimationDrawable object.
AnimationDrawable frameAnimation = (AnimationDrawable)img.Background;
// Start the animation (looped playback by default).
frameAnimation.Start();
}
}
}
public class Setup : MvxAppCompatSetup<App>
{
private readonly object _applicationContext;
/// <summary>
/// Initializes a new instance of the <see cref="Setup"/> class.
/// </summary>
/// <param name="applicationContext">The application context.</param>
protected override IEnumerable<Assembly> AndroidViewAssemblies => new List<Assembly>(base.AndroidViewAssemblies)
{
typeof(NavigationView).Assembly,
typeof(CoordinatorLayout).Assembly,
typeof(FloatingActionButton).Assembly,
typeof(Toolbar).Assembly,
typeof(DrawerLayout).Assembly,
typeof(ViewPager).Assembly,
typeof(MvxSwipeRefreshLayout).Assembly,
};
protected override IMvxAndroidViewPresenter CreateViewPresenter()
{
return new MvxAppCompatViewPresenter(AndroidViewAssemblies);
}
protected override void FillTargetFactories(IMvxTargetBindingFactoryRegistry registry)
{
MvxAppCompatSetupHelper.FillTargetFactories(registry);
base.FillTargetFactories(registry);
}
}
[Application]
public class MainApplication : MvxAppCompatApplication<Setup, App>
{
public MainApplication()
{
}
public MainApplication(IntPtr javaReference, JniHandleOwnership transfer)
: base(javaReference, transfer)
{
}
}
每当应用程序导航到 InfoViewModel 时,它就会因 System.AggregateException: 错误而崩溃。
我还包含了 InfoView 文件以供引用。
[MvxActivityPresentation]
[Activity(Theme = "@style/Theme.Intro", Label = "", NoHistory = true)]
public class IntroView : MvxAppCompatActivity<IntroViewModel>
{
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
this.SetContentView(Resource.Layout.screen_intro);
var video = FindViewById<VideoView>(Resource.Id.introVideoView);
video.Touch += delegate(object sender, View.TouchEventArgs args) { ViewModel.SkipCommand.Execute(null); };
video.Completion += delegate(object sender, EventArgs args) { ViewModel.SkipCommand.Execute(null); };
var uri = Uri.Parse("android.resource://" + PackageName + "/" + Resource.Drawable.video_intro);
video.SetVideoURI(uri);
video.Start();
}
}
我完全遵循 StarWars 示例中发生的事情,但是我无法让它运行。有什么建议或任何我还没有看到的明显的东西吗?
亲切的问候,
编辑:添加部分stackTrace
2019-09-30 15:21:40 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Create App
2019-09-30 15:21:40 [TRACE] (MvvmCross.Core.MvxSetup) Setup: NavigationService
09-30 15:21:40.514 I/mono-stdout(12097): 2019-09-30 15:21:40 [TRACE] (MvvmCross.Core.MvxSetup) Setup: NavigationService
09-30 15:21:40.569 I/mono-stdout(12097): 2019-09-30 15:21:40 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Load navigation routes
2019-09-30 15:21:40 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Load navigation routes
2019-09-30 15:21:40 [TRACE] (MvvmCross.Core.MvxSetup) Setup: App start
09-30 15:21:40.670 I/mono-stdout(12097): 2019-09-30 15:21:40 [TRACE] (MvvmCross.Core.MvxSetup) Setup: App start
09-30 15:21:40.687 I/mono-stdout(12097): 2019-09-30 15:21:40 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Application Initialize - On background thread
2019-09-30 15:21:40 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Application Initialize - On background thread
09-30 15:21:40.999 D/OpenGLRenderer(12097): Skia GL Pipeline
2019-09-30 15:21:41 [TRACE] (MvvmCross.Core.MvxSetup) Setup: ViewModelTypeFinder start
09-30 15:21:41.402 I/mono-stdout(12097): 2019-09-30 15:21:41 [TRACE] (MvvmCross.Core.MvxSetup) Setup: ViewModelTypeFinder start
09-30 15:21:41.680 D/Mono (12097): Assembly Ref addref netstandard[0xe7d85c00] -> System[0xed847880]: 12
09-30 15:21:41.712 D/Mono (12097): Assembly Ref addref netstandard[0xe7d85c00] -> System.Core[0xe63a5e00]: 6
09-30 15:21:41.780 D/Mono (12097): Image addref System.Net.Http[0xe7d86800] -> System.Net.Http.dll[0xc8c64e00]: 2
09-30 15:21:41.781 D/Mono (12097): Prepared to set up assembly 'System.Net.Http' (System.Net.Http.dll)
09-30 15:21:41.787 D/Mono (12097): Assembly System.Net.Http[0xe7d86800] added to domain RootDomain, ref_count=1
09-30 15:21:41.851 I/Choreographer(12097): Skipped 30 frames! The application may be doing too much work on its main thread.
09-30 15:21:41.913 D/Mono (12097): AOT: image 'System.Net.Http.dll.so' not found: dlopen failed: library "/data/app/com.talkingmedicines.medsmart-353GoKCmCuAZwDW2_PDbJA==/lib/x86/libaot-System.Net.Http.dll.so" not found
09-30 15:21:41.914 D/Mono (12097): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-x86-release/lib/mono/aot-cache/x86/System.Net.Http.dll.so' not found: dlopen failed: library "/data/app/com.talkingmedicines.medsmart-353GoKCmCuAZwDW2_PDbJA==/lib/x86/libaot-System.Net.Http.dll.so" not found
09-30 15:21:41.924 D/Mono (12097): Config attempting to parse: 'System.Net.Http.dll.config'.
09-30 15:21:41.924 D/Mono (12097): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-x86-release/etc/mono/assemblies/System.Net.Http/System.Net.Http.config'.
09-30 15:21:41.925 D/Mono (12097): Assembly Ref addref netstandard[0xe7d85c00] -> System.Net.Http[0xe7d86800]: 2
09-30 15:21:41.925 D/Mono (12097): Assembly Ref addref System.Net.Http[0xe7d86800] -> mscorlib[0xed8647c0]: 95
09-30 15:21:41.930 D/Mono (12097): Assembly Ref addref MedSmart.App[0xe5f095a0] -> Newtonsoft.Json[0xe5f0a080]: 3
Loaded assembly: System.Net.Http.dll [External]
2019-09-30 15:21:42 [TRACE] (MvvmCross.Core.MvxSetup) Setup: ViewsContainer start
09-30 15:21:42.009 I/mono-stdout(12097): 2019-09-30 15:21:42 [TRACE] (MvvmCross.Core.MvxSetup) Setup: ViewsContainer start
2019-09-30 15:21:42 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Lookup Dictionary start09-30 15:21:42.053 I/mono-stdout(12097): 2019-09-30 15:21:42 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Lookup Dictionary start
09-30 15:21:42.364 D/ (12097): HostConnection::get() New Host Connection established 0xd1e5bb40, tid 12149
09-30 15:21:42.565 I/ConfigStore(12097): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
09-30 15:21:42.568 I/ConfigStore(12097): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
09-30 15:21:42.568 I/OpenGLRenderer(12097): Initialized EGL, version 1.4
09-30 15:21:42.569 D/OpenGLRenderer(12097): Swap behavior 1
09-30 15:21:42.580 W/OpenGLRenderer(12097): Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
09-30 15:21:42.581 D/OpenGLRenderer(12097): Swap behavior 0
09-30 15:21:42.758 D/EGL_emulation(12097): eglCreateContext: 0xe7d86aa0: maj 3 min 0 rcv 3
09-30 15:21:42.769 D/Mono (12097): Image addref System.Runtime.Serialization[0xe7d86fe0] -> System.Runtime.Serialization.dll[0xc8c65d00]: 2
09-30 15:21:42.769 D/Mono (12097): Prepared to set up assembly 'System.Runtime.Serialization' (System.Runtime.Serialization.dll)
09-30 15:21:42.769 D/Mono (12097): Assembly System.Runtime.Serialization[0xe7d86fe0] added to domain RootDomain, ref_count=1
09-30 15:21:42.785 D/EGL_emulation(12097): eglMakeCurrent: 0xe7d86aa0: ver 3 0 (tinfo 0xc8b7eda0)
09-30 15:21:42.810 D/Mono (12097): AOT: image 'System.Runtime.Serialization.dll.so' not found: dlopen failed: library "/data/app/com.talkingmedicines.medsmart-353GoKCmCuAZwDW2_PDbJA==/lib/x86/libaot-System.Runtime.Serialization.dll.so" not found
09-30 15:21:42.811 D/Mono (12097): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-x86-release/lib/mono/aot-cache/x86/System.Runtime.Serialization.dll.so' not found: dlopen failed: library "/data/app/com.talkingmedicines.medsmart-353GoKCmCuAZwDW2_PDbJA==/lib/x86/libaot-System.Runtime.Serialization.dll.so" not found
09-30 15:21:42.811 D/Mono (12097): Config attempting to parse: 'System.Runtime.Serialization.dll.config'.
09-30 15:21:42.811 D/Mono (12097): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-x86-release/etc/mono/assemblies/System.Runtime.Serialization/System.Runtime.Serialization.config'.
09-30 15:21:42.811 D/Mono (12097): Assembly Ref addref Mono.Android[0xe63a5c20] -> System.Runtime.Serialization[0xe7d86fe0]: 2
09-30 15:21:42.819 D/Mono (12097): Assembly Ref addref System.Runtime.Serialization[0xe7d86fe0] -> mscorlib[0xed8647c0]: 96
Loaded assembly: System.Runtime.Serialization.dll [External]
09-30 15:21:43.977 D/EGL_emulation(12097): eglMakeCurrent: 0xe7d86aa0: ver 3 0 (tinfo 0xc8b7eda0)
09-30 15:21:44.888 I/OpenGLRenderer(12097): Davey! duration=1862ms; Flags=0, IntendedVsync=12658796993658, Vsync=12659013660316, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=12659032900880, AnimationStart=12659033029580, PerformTraversalsStart=12659040149880, DrawStart=12659527054380, SyncQueued=12659753000480, SyncStart=12659888112480, IssueDrawCommandsStart=12659902310880, SwapBuffers=12660452490380, FrameCompleted=12660794845380, DequeueBufferDuration=1504000, QueueBufferDuration=78423000,
09-30 15:21:45.194 I/mono-stdout(12097): 2019-09-30 15:21:45 [TRACE] (MvvmCross.Logging.MvxLog) No view model association found for candidate view BaseActivity
2019-09-30 15:21:45 [TRACE] (MvvmCross.Logging.MvxLog) No view model association found for candidate view BaseActivity
09-30 15:21:46.308 D/Mono (12097): Assembly Ref addref Xamarin.Facebook.Common.Android[0xe63a45a0] -> Xamarin.Facebook.Core.Android[0xe63a4660]: 3
09-30 15:21:46.751 D/Mono (12097): Assembly Ref addref MedSmart.App.Droid[0xed864c40] -> Xamarin.GooglePlayServices.Basement[0xe63a5260]: 2
09-30 15:21:46.817 D/Mono (12097): Assembly Ref addref Xamarin.GooglePlayServices.Base[0xe63a51a0] -> Xamarin.GooglePlayServices.Basement[0xe63a5260]: 3
2019-09-30 15:21:46 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Views start09-30 15:21:46.996 I/mono-stdout(12097): 2019-09-30 15:21:46 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Views start
2019-09-30 15:21:47 [TRACE] (MvvmCross.Core.MvxSetup) Setup: CommandCollectionBuilder start
09-30 15:21:47.296 I/mono-stdout(12097): 2019-09-30 15:21:47 [TRACE] (MvvmCross.Core.MvxSetup) Setup: CommandCollectionBuilder start
2019-09-30 15:21:47 [TRACE] (MvvmCross.Core.MvxSetup) Setup: NavigationSerializer start
09-30 15:21:47.379 I/mono-stdout(12097): 2019-09-30 15:21:47 [TRACE] (MvvmCross.Core.MvxSetup) Setup: NavigationSerializer start
2019-09-30 15:21:47 [TRACE] (MvvmCross.Core.MvxSetup) Setup: InpcInterception start
2019-09-30 15:21:47 [TRACE] (MvvmCross.Core.MvxSetup) Setup: InpcInterception start09-30 15:21:47.462 I/mono-stdout(12097): 2019-09-30 15:21:47 [TRACE] (MvvmCross.Core.MvxSetup) Setup: InpcInterception start
09-30 15:21:47.471 I/mono-stdout(12097): 2019-09-30 15:21:47 [TRACE] (MvvmCross.Core.MvxSetup) Setup: InpcInterception start
09-30 15:21:47.568 I/mono-stdout(12097): 2019-09-30 15:21:47 [TRACE] (MvvmCross.Core.MvxSetup) Setup: LastChance start
2019-09-30 15:21:47 [TRACE] (MvvmCross.Core.MvxSetup) Setup: LastChance start
09-30 15:21:49.160 D/Mono (12097): Assembly Ref addref MedSmart.App.Droid[0xed864c40] -> ModernHttpClient[0xe5f09840]: 2
09-30 15:21:49.160 D/Mono (12097): Assembly Ref addref ModernHttpClient[0xe5f09840] -> mscorlib[0xed8647c0]: 97
09-30 15:21:49.219 D/Mono (12097): Assembly Ref addref MedSmart.App.Droid[0xed864c40] -> MvvmCross.Droid.Support.Core.Utils[0xe5f09a80]: 2
09-30 15:21:49.231 D/Mono (12097): Assembly Ref addref MedSmart.App.Droid[0xed864c40] -> MvvmCross.Droid.Support.Design[0xe5f09b40]: 2
09-30 15:21:49.400 D/Mono (12097): Assembly Ref addref MedSmart.App.Droid[0xed864c40] -> MvvmCross.Droid.Support.Fragment[0xe5f09c00]: 2
09-30 15:21:49.592 D/Mono (12097): Assembly Ref addref MedSmart.App.Droid[0xed864c40] -> MvvmCross.Plugin.Visibility[0xe5f09f00]: 2
09-30 15:21:49.593 D/Mono (12097): Assembly Ref addref MedSmart.App.Droid[0xed864c40] -> MvvmCross.Plugin.WebBrowser[0xe5f09fc0]: 2
09-30 15:21:50.003 D/Mono (12097): Assembly Ref addref ModernHttpClient[0xe5f09840] -> Mono.Android[0xe63a5c20]: 87
09-30 15:21:50.341 D/Mono (12097): Assembly Ref addref MvvmCross.Droid.Support.Core.Utils[0xe5f09a80] -> Mono.Android[0xe63a5c20]: 88
09-30 15:21:54.391 D/Mono (12097): Assembly Ref addref Mono.Android[0xe63a5c20] -> System.Net.Http[0xe7d86800]: 3
09-30 15:21:54.489 D/Mono (12097): Assembly Ref addref Mono.Android[0xe63a5c20] -> System[0xed847880]: 13
09-30 15:21:56.116 I/mono-stdout(12097): 2019-09-30 15:21:56 [WARN] (MvvmCross.Logging.MvxLog) ReflectionTypeLoadException masked during loading of MvvmCross, Version=6.4.0.0, Culture=neutral, PublicKeyToken=null - error ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
2019-09-30 15:21:56 [WARN] (MvvmCross.Logging.MvxLog) ReflectionTypeLoadException masked during loading of MvvmCross, Version=6.4.0.0, Culture=neutral, PublicKeyToken=null - error ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <d4a23bbd2f544c30a48c44dd622ce09f>:0 09-30 15:21:56.119 I/mono-stdout(12097): at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly+<get_DefinedTypes>d__140.MoveNext () [0x0001e] in <d4a23bbd2f544c30a48c44dd622ce09f>:0
at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00059] in <715c2ff6913942e6aa8535593b3ef35a>:0
at MvvmCross.IoC.MvxTypeCache`1[TType].AddAssembly (System.Reflection.Assembly assembly) [0x000c6] in D:\a\1\s\MvvmCross\IoC\MvxTypeCache.cs:31 09-30 15:21:56.119 I/mono-stdout(12097): at System.Reflection.Assembly.GetTypes () [0x00000] in <d4a23bbd2f544c30a48c44dd622ce09f>:0
09-30 15:21:56.123 I/mono-stdout(12097): at System.Reflection.Assembly+<get_DefinedTypes>d__140.MoveNext () [0x0001e] in <d4a23bbd2f544c30a48c44dd622ce09f>:0
09-30 15:21:56.124 I/mono-stdout(12097): at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00059] in <715c2ff6913942e6aa8535593b3ef35a>:0
09-30 15:21:56.125 I/mono-stdout(12097): at MvvmCross.IoC.MvxTypeCache`1[TType].AddAssembly (System.Reflection.Assembly assembly) [0x000c6] in D:\a\1\s\MvvmCross\IoC\MvxTypeCache.cs:31
09-30 15:21:56.201 D/Mono (12097): Assembly Ref addref Xamarin.Android.Support.v7.AppCompat[0xe5f0bfa0] -> Xamarin.Android.Support.CustomView[0xe5f0b520]: 2
09-30 15:21:56.250 D/Mono (12097): Assembly Ref addref Xamarin.Android.Support.DrawerLayout[0xe5f0b760] -> Xamarin.Android.Support.Compat[0xe5f0b0a0]: 7
09-30 15:21:56.252 D/Mono (12097): Assembly Ref addref Xamarin.Android.Support.DrawerLayout[0xe5f0b760] -> Xamarin.Android.Support.CustomView[0xe5f0b520]: 3
09-30 15:21:56.289 D/Mono (12097): Assembly Ref addref Xamarin.Android.Support.Design[0xe5f0b5e0] -> Xamarin.Android.Support.CoordinaterLayout[0xe5f0b160]: 4
09-30 15:21:56.304 D/Mono (12097): Assembly Ref addref Xamarin.Android.Support.Design[0xe5f0b5e0] -> Xamarin.Android.Support.v7.CardView[0xe63a4060]: 2
09-30 15:21:56.307 D/Mono (12097): Assembly Ref addref Xamarin.Android.Support.Design[0xe5f0b5e0] -> Xamarin.Android.Support.CustomView[0xe5f0b520]: 4
09-30 15:21:56.342 D/Mono (12097): Assembly Ref addref Xamarin.Android.Support.Design[0xe5f0b5e0] -> Xamarin.Android.Support.v7.RecyclerView[0xe63a4120]: 2
09-30 15:21:56.358 D/Mono (12097): Assembly Ref addref Xamarin.Android.Support.v7.RecyclerView[0xe63a4120] -> Xamarin.Android.Support.Compat[0xe5f0b0a0]: 8
09-30 15:21:56.358 D/Mono (12097): Assembly Ref addref Xamarin.Android.Support.Design[0xe5f0b5e0] -> Xamarin.Android.Support.Transition[0xe5f0be20]: 2
09-30 15:21:56.369 D/Mono (12097): Assembly Ref addref Xamarin.Android.Support.Design[0xe5f0b5e0] -> Xamarin.Android.Support.ViewPager[0xe63a4360]: 5
09-30 15:21:56.391 D/Mono (12097): Assembly Ref addref Xamarin.Android.Support.CoordinaterLayout[0xe5f0b160] -> Xamarin.Android.Support.CustomView[0xe5f0b520]: 5
09-30 15:21:56.394 D/Mono (12097): Assembly Ref addref Xamarin.Android.Support.ViewPager[0xe63a4360] -> Xamarin.Android.Support.Compat[0xe5f0b0a0]: 9
09-30 15:21:56.404 D/Mono (12097): Assembly Ref addref Xamarin.Android.Support.ViewPager[0xe63a4360] -> Xamarin.Android.Support.CustomView[0xe5f0b520]: 6
09-30 15:21:57.931 D/Mono (12097): DllImport searching in: '__Internal' ('(null)').
09-30 15:21:57.932 D/Mono (12097): Searching for 'java_interop_jnienv_get_static_field_id'.
09-30 15:21:57.932 D/Mono (12097): Probing 'java_interop_jnienv_get_static_field_id'.
09-30 15:21:57.932 D/Mono (12097): Found as 'java_interop_jnienv_get_static_field_id'.
09-30 15:21:57.959 D/Mono (12097): DllImport searching in: '__Internal' ('(null)').
09-30 15:21:57.959 D/Mono (12097): Searching for 'java_interop_jnienv_get_static_object_field'.
09-30 15:21:57.959 D/Mono (12097): Probing 'java_interop_jnienv_get_static_object_field'.
09-30 15:21:57.959 D/Mono (12097): Found as 'java_interop_jnienv_get_static_object_field'.
2019-09-30 15:21:59 [TRACE] (MvvmCross.Logging.MvxLog) AppStart: Application Startup - On UI thread09-30 15:21:59.155 I/mono-stdout(12097): 2019-09-30 15:21:59 [TRACE] (MvvmCross.Logging.MvxLog) AppStart: Application Startup - On UI thread
09-30 15:21:59.252 D/Mono (12097): Assembly Ref addref MedSmart.App[0xe5f095a0] -> Plugin.Settings.Abstractions[0xe5f0a4a0]: 2
09-30 15:21:59.327 D/Mono (12097): Unloading image System.Runtime.dll [0xc8b9ba00].
09-30 15:21:59.332 D/Mono (12097): Image addref System.Runtime[0xc8bfe380] -> System.Runtime.dll[0xc9a2cd00]: 6
09-30 15:21:59.332 D/Mono (12097): Config attempting to parse: 'System.Runtime.dll.config'.
09-30 15:21:59.332 D/Mono (12097): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-x86-release/etc/mono/assemblies/System.Runtime/System.Runtime.config'.
09-30 15:21:59.332 D/Mono (12097): Assembly Ref addref Plugin.Settings.Abstractions[0xe5f0a4a0] -> System.Runtime[0xe7d85c60]: 4
09-30 15:21:59.333 D/Mono (12097): Assembly Ref addref MedSmart.App[0xe5f095a0] -> Plugin.Settings[0xe5f0a560]: 2
09-30 15:21:59.340 D/Mono (12097): Assembly Ref addref Plugin.Settings[0xe5f0a560] -> mscorlib[0xed8647c0]: 98
09-30 15:21:59.340 D/Mono (12097): Assembly Ref addref Plugin.Settings[0xe5f0a560] -> Plugin.Settings.Abstractions[0xe5f0a4a0]: 3
09-30 15:21:59.413 D/Mono (12097): Assembly Ref addref Plugin.Settings[0xe5f0a560] -> Mono.Android[0xe63a5c20]: 89
09-30 15:21:59.672 D/Mono (12097): DllImport searching in: '__Internal' ('(null)').
09-30 15:21:59.673 D/Mono (12097): Searching for 'java_interop_jnienv_call_boolean_method_a'.
09-30 15:21:59.673 D/Mono (12097): Probing 'java_interop_jnienv_call_boolean_method_a'.
09-30 15:21:59.673 D/Mono (12097): Found as 'java_interop_jnienv_call_boolean_method_a'.
09-30 15:22:00.494 D/Mono (12097): Assembly Ref addref MvvmCross.Droid.Support.V7.AppCompat[0xe5f09cc0] -> Xamarin.Android.Support.Fragment[0xe5f0b820]: 5
09-30 15:22:00.626 D/Mono (12097): Assembly Ref addref MvvmCross.Droid.Support.V7.AppCompat[0xe5f09cc0] -> System.Core[0xe63a5e00]: 7
09-30 15:22:02.033 I/icines.medsmar(12097): Background concurrent copying GC freed 10897(1004KB) AllocSpace objects, 10(264KB) LOS objects, 51% free, 1452KB/2MB, paused 19.968ms total 232.701ms
09-30 15:22:02.348 W/icines.medsmar(12097): JNI RegisterNativeMethods: attempt to register 0 native methods for md5716162e2cd7f7ce01364d7c5d961f40b.MvxAppCompatActivity_1
09-30 15:22:04.221 I/Choreographer(12097): Skipped 328 frames! The application may be doing too much work on its main thread.
09-30 15:22:04.397 I/OpenGLRenderer(12097): Davey! duration=5644ms; Flags=0, IntendedVsync=12674653852755, Vsync=12680120519203, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=12680128791380, AnimationStart=12680138049980, PerformTraversalsStart=12680183108580, DrawStart=12680187429780, SyncQueued=12680211639680, SyncStart=12680212716680, IssueDrawCommandsStart=12680217558180, SwapBuffers=12680292113880, FrameCompleted=12680299691980, DequeueBufferDuration=88000, QueueBufferDuration=510000,
09-30 15:22:04.638 W/ActivityThread(12097): handleWindowVisibility: no activity for token android.os.BinderProxy@7a003e6
09-30 15:22:06.703 D/Mono (12097): DllImport searching in: '__Internal' ('(null)').
09-30 15:22:06.703 D/Mono (12097): Searching for 'java_interop_jnienv_get_static_int_field'.
09-30 15:22:06.703 D/Mono (12097): Probing 'java_interop_jnienv_get_static_int_field'.
09-30 15:22:06.703 D/Mono (12097): Found as 'java_interop_jnienv_get_static_int_field'.
09-30 15:22:07.682 D/Mono (12097): Image addref Mono.Android.Export[0xc8bfd960] -> Mono.Android.Export.dll[0xc8b9c400]: 2
09-30 15:22:07.694 D/Mono (12097): Prepared to set up assembly 'Mono.Android.Export' (Mono.Android.Export.dll)
09-30 15:22:07.694 D/Mono (12097): Assembly Mono.Android.Export[0xc8bfd960] added to domain RootDomain, ref_count=1
09-30 15:22:08.197 D/Mono (12097): AOT: image 'Mono.Android.Export.dll.so' not found: dlopen failed: library "/data/app/com.talkingmedicines.medsmart-353GoKCmCuAZwDW2_PDbJA==/lib/x86/libaot-Mono.Android.Export.dll.so" not found
09-30 15:22:08.199 D/Mono (12097): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-x86-release/lib/mono/aot-cache/x86/Mono.Android.Export.dll.so' not found: dlopen failed: library "/data/app/com.talkingmedicines.medsmart-353GoKCmCuAZwDW2_PDbJA==/lib/x86/libaot-Mono.Android.Export.dll.so" not found
09-30 15:22:08.209 D/Mono (12097): Config attempting to parse: 'Mono.Android.Export.dll.config'.
09-30 15:22:08.209 D/Mono (12097): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-x86-release/etc/mono/assemblies/Mono.Android.Export/Mono.Android.Export.config'.
09-30 15:22:08.216 D/Mono (12097): Assembly Ref addref Mono.Android.Export[0xc8bfd960] -> mscorlib[0xed8647c0]: 99
Loaded assembly: Mono.Android.Export.dll [External]
09-30 15:22:08.329 D/Mono (12097): Assembly Ref addref Mono.Android.Export[0xc8bfd960] -> Mono.Android[0xe63a5c20]: 90
09-30 15:22:08.531 D/Mono (12097): Assembly Ref addref Mono.Android.Export[0xc8bfd960] -> System.Xml[0xed845480]: 3
Loaded assembly: __callback_factory__ [External]
09-30 15:22:09.288 D/Mono (12097): Assembly Ref addref Mono.Android.Export[0xc8bfd960] -> System.Core[0xe63a5e00]: 8
09-30 15:22:09.532 D/Mono (12097): DllImport searching in: '__Internal' ('(null)').
09-30 15:22:09.532 D/Mono (12097): Searching for 'java_interop_jnienv_new_local_ref'.
09-30 15:22:09.532 D/Mono (12097): Probing 'java_interop_jnienv_new_local_ref'.
09-30 15:22:09.535 D/Mono (12097): Found as 'java_interop_jnienv_new_local_ref'.
Unhandled Exception:
System.AggregateException: <Timeout exceeded getting exception details>
最佳答案
经过进一步调查,错误似乎是我从 PCL 库更改为 .NetStandard 引起的,而不是 MVVMCross 本身的问题,感谢您的帮助!
关于android - MVVMCross System.AggregateException 6.4 Xamarin Android,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58170352/
我最近在/ drawable中添加了一些.gifs,以便可以将它们与按钮一起使用。这个工作正常(没有错误)。现在,当我重建/运行我的应用程序时,出现以下错误: Error: Gradle: Execu
Android 中有返回内部存储数据路径的方法吗? 我有 2 部 Android 智能手机(Samsung s2 和 s7 edge),我在其中安装了一个应用程序。我想使用位于这条路径中的 sqlit
这个问题在这里已经有了答案: What's the difference between "?android:" and "@android:" in an android layout xml f
我只想知道 android 开发手机、android 普通手机和 android root 手机之间的实际区别。 我们不能从实体店或除 android marketplace 以外的其他地方购买开发手
自Gradle更新以来,我正在努力使这个项目达到标准。这是一个团队项目,它使用的是android-apt插件。我已经进行了必要的语法更改(编译->实现和apt->注释处理器),但是编译器仍在告诉我存在
我是android和kotlin的新手,所以请原谅要解决的一个非常简单的问题! 我已经使用导航体系结构组件创建了一个基本应用程序,使用了底部的导航栏和三个导航选项。每个导航选项都指向一个专用片段,该片
我目前正在使用 Facebook official SDK for Android . 我现在正在使用高级示例应用程序,但我不知道如何让它获取应用程序墙/流/状态而不是登录的用户。 这可能吗?在那种情
我在下载文件时遇到问题, 我可以在模拟器中下载文件,但无法在手机上使用。我已经定义了上网和写入 SD 卡的权限。 我在服务器上有一个 doc 文件,如果用户单击下载。它下载文件。这在模拟器中工作正常但
这个问题在这里已经有了答案: What is the difference between gravity and layout_gravity in Android? (22 个答案) 关闭 9
任何人都可以告诉我什么是 android 缓存和应用程序缓存,因为当我们谈论缓存清理应用程序时,它的作用是,缓存清理概念是清理应用程序缓存还是像内存管理一样主存储、RAM、缓存是不同的并且据我所知,缓
假设应用程序 Foo 和 Eggs 在同一台 Android 设备上。任一应用程序都可以获取设备上所有应用程序的列表。一个应用程序是否有可能知道另一个应用程序是否已经运行以及运行了多长时间? 最佳答案
我有点困惑,我只看到了从 android 到 pc 或者从 android 到 pc 的例子。我需要制作一个从两部手机 (android) 连接的 android 应用程序进行视频聊天。我在想,我知道
用于使用 Android 以编程方式锁定屏幕。我从 Stackoverflow 之前关于此的问题中得到了一些好主意,并且我做得很好,但是当我运行该代码时,没有异常和错误。而且,屏幕没有锁定。请在这段代
文档说: android:layout_alignParentStart If true, makes the start edge of this view match the start edge
我不知道这两个属性和高度之间的区别。 以一个TextView为例,如果我将它的layout_width设置为wrap_content,并将它的width设置为50 dip,会发生什么情况? 最佳答案
这两个属性有什么关系?如果我有 android:noHistory="true",那么有 android:finishOnTaskLaunch="true" 有什么意义吗? 最佳答案 假设您的应用中有
我是新手,正在尝试理解以下 XML 代码: 查看 developer.android.com 上的文档,它说“starStyle”是 R.attr 中的常量, public static final
在下面的代码中,为什么当我设置时单选按钮的外观会发生变化 android:layout_width="fill_parent" 和 android:width="fill_parent" 我说的是
很难说出这里要问什么。这个问题模棱两可、含糊不清、不完整、过于宽泛或夸夸其谈,无法以目前的形式得到合理的回答。如需帮助澄清此问题以便重新打开,visit the help center . 关闭 9
假设我有一个函数 fun myFunction(name:String, email:String){},当我调用这个函数时 myFunction('Ali', 'ali@test.com ') 如何
我是一名优秀的程序员,十分优秀!