UXDivers / Gorilla-Player-Support

This is the public Gorilla Player support website
http://gorillaplayer.com
115 stars 17 forks source link

Grilla Player cannot identify resources after applying the Grail SDK #255

Open nerdy-autodidact opened 7 years ago

nerdy-autodidact commented 7 years ago

I got "resources not found" error in my page when i apply static & dynamic resources .It is just a simple page .There is no data template or item templates.(simple buttons and labels)

This is happen after i applied the Grial tool kit. I applied Grial 2.0 , updated gorilla SDK to 1.1.0.4 and the desktop app to 1.1.0.4 .

Following is the code which i use in my activity

  LoadApplication(
                UXDivers.Gorilla.Droid.Player.CreateApplication(
                    this,
                    new UXDivers.Gorilla.Config("Good Gorilla")
                        .RegisterAssemblyFromType<
                            MyApp.App.Infrastructure.Common.ViewBase>()
                        // Shared.Base
                        .RegisterAssemblyFromType<UXDivers.Artina.Shared.NegateBooleanConverter>()
                        // Shared
                        .RegisterAssemblyFromType<UXDivers.Artina.Shared.CircleImage>()
                        // Tab Control
                        .RegisterAssembly(GorillaSdkHelper.TabControlType.Assembly)
                        // Repeater Control
                        .RegisterAssembly(GorillaSdkHelper.RepeaterControlType.Assembly)

                        // Effects
                        .RegisterAssembly(typeof(UXDivers.Effects.Effects).Assembly)

                        // // FFImageLoading.Transformations
                        .RegisterAssemblyFromType<FFImageLoading.Transformations.BlurredTransformation>()
                        // FFImageLoading.Forms
                        .RegisterAssemblyFromType<FFImageLoading.Forms.CachedImage>()

                        // Grial Application PCL
                        .RegisterAssembly(typeof(MyApp.App).Assembly)
                ));`

Note I removed my view base and checked only with the content page (as people discussing here https://github.com/UXDivers/Gorilla-Player-Support/issues/163) . But no luck

LeoHere commented 7 years ago

@thabotharshan can you please send me an email to l r o d r i g u e z at uxdivers.com with the page your are trying to preview. Probably is complaining about resources located in the App.xaml, but not sure without more details. Are you working on top of the starter project you downloaded from the Admin or on your own project?

nerdy-autodidact commented 7 years ago

@LeoHere

Hi Leo

I have just sent you a mail. Yes it is complaining the resources located at the app.xaml. There was no issue before applying the Grial toolkit. Same resource keys were there before applying the tool kit.I am not working on top the starter project .It is not possible to use the starter project while project is already developed for a certain stage. Thus i applied tool kit to existing project according to the grial documentation. This is could be a typical scenario where users might get the similar issues as i am getting now (whenever apply grial toolkit to existing project).