0

TipCalcの例に従って MVVMCross を使用しようとしましたが、ビューが読み込まれません。アクティビティ ラベルは表示されますが、レイアウトが表示されず、次のアプリケーション出力が表示されます。


Forwarding debugger port 8973
Forwarding console port 8974
Detecting existing process
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/MVX.DroidWUL.dll
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.MvvmCross.Droid.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.CrossCore.Droid.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.CrossCore.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/System.Windows.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.MvvmCross.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.MvvmCross.Binding.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.MvvmCross.Binding.Droid.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/PCLCoreMVX.dll
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.MvvmCross.Plugins.Json.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Newtonsoft.Json.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/System.Net.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/System.Xml.Serialization.dll [External]
Loaded assembly: /data/data/MVX.DroidWUL/files/.__override__/Cirrious.MvvmCross.Localization.dll [External]
Loaded assembly: Mono.Android.dll [External]
Loaded assembly: System.Core.dll [External]
[ApplicationPackageManager] cscCountry is not German : LUX
[mono] WARNING: The runtime version supported by this application is unavailable.
[mono] Using default runtime: v2.0.50727
[monodroid-gc] GREF GC Threshold: 46800
[MonoDroid] Xamarin/Android Trial Mode Active
[ApplicationPackageManager] cscCountry is not German : LUX
Loaded assembly: MonoDroidConstructors [External]
[ApplicationPackageManager] cscCountry is not German : LUX
Loaded assembly: System.dll [External]
Loaded assembly: System.Xml.dll [External]
[mvx]   0.05 Setup: PlatformServices start
mvx:Diagnostic:  0.05 Setup: PlatformServices start
[mvx]   0.70 Setup: Bootstrap actions
mvx:Diagnostic:  0.70 Setup: Bootstrap actions
[mvx]   0.82 Setup: StringToTypeParser start
mvx:Diagnostic:  0.82 Setup: StringToTypeParser start
[mvx]   0.84 Setup: ViewModelFramework start
mvx:Diagnostic:  0.84 Setup: ViewModelFramework start
[mvx]   0.85 Setup: PluginManagerFramework start
mvx:Diagnostic:  0.85 Setup: PluginManagerFramework start
[mvx]   0.89 Configuring Plugin Loader for Cirrious.MvvmCross.Plugins.Json.PluginLoader
mvx:Diagnostic:  0.89 Configuring Plugin Loader for Cirrious.MvvmCross.Plugins.Json.PluginLoader
[mvx]   0.89 Ensuring Plugin is loaded for Cirrious.MvvmCross.Plugins.Json.PluginLoader
mvx:Diagnostic:  0.89 Ensuring Plugin is loaded for Cirrious.MvvmCross.Plugins.Json.PluginLoader
[mvx]   0.90 Setup: App start
mvx:Diagnostic:  0.90 Setup: App start
[mvx]   0.91 Setup: ViewModelTypeFinder start
mvx:Diagnostic:  0.91 Setup: ViewModelTypeFinder start
[mvx]   0.92 Setup: ViewsContainer start
mvx:Diagnostic:  0.92 Setup: ViewsContainer start
[mvx]   0.93 Setup: ViewDispatcher start
mvx:Diagnostic:  0.93 Setup: ViewDispatcher start
[mvx]   0.95 Setup: Views start
mvx:Diagnostic:  0.95 Setup: Views start
[mvx]   1.15 Setup: CommandCollectionBuilder start
mvx:Diagnostic:  1.15 Setup: CommandCollectionBuilder start
[mvx]   1.16 Setup: NavigationSerializer start
mvx:Diagnostic:  1.16 Setup: NavigationSerializer start
[mvx]   1.21 Setup: LastChance start
mvx:Diagnostic:  1.21 Setup: LastChance start
[mvx]   1.53 Setup: Secondary end
mvx:Diagnostic:  1.53 Setup: Secondary end
[mvx]   1.62 Null Extras seen on Intent when creating ViewModel - this should not happen - have you tried to navigate to an MvvmCross View directly?
mvx:Error:  1.62 Null Extras seen on Intent when creating ViewModel - this should not happen - have you tried to navigate to an MvvmCross View directly?
[mvx]   1.63 ViewModel not loaded for view CalenderWUL
mvx:Warning:  1.63 ViewModel not loaded for view CalenderWUL

私は何を間違っていますか?ありがとう

4

1 に答える 1

0

私は何を間違っていますか?

そのレベルの詳細から、わからない

問題は明らかに初期化のどこかにありますCalendarWUL-それが何であれ。しかし、私はそれからそれを診断することはできません。

あなたが試すことができるいくつかのこと:

于 2013-05-23T15:55:38.890 に答える