2 Replies Latest reply on Feb 14, 2013 9:22 AM by John Warren

    google play crash report res/anim/fade_out.xml not found

      I searched in my code for any reference to this file and found nothing:

       

      1. android.content.res.Resources$NotFoundException: File res/anim/fade_out.xml from xml type anim resource ID #0x10a0001

      at android.content.res.Resources.loadXmlResourceParser(Resources.java:1916)

      at android.content.res.Resources.loadXmlResourceParser(Resources.java:1871)

      at android.content.res.Resources.getAnimation(Resources.java:755)

      at android.view.animation.AnimationUtils.loadAnimation(AnimationUtils.java:63)

      at com.android.internal.policy.impl.PhoneWindow.hideProgressBars(PhoneWindow.java:1169)

      at com.android.internal.policy.impl.PhoneWindow.updateProgressBars(PhoneWindow.java:1144)

      at com.android.internal.policy.impl.PhoneWindow.onIntChanged(PhoneWindow.java:1081)

      at com.android.internal.policy.impl.PhoneWindow.updateInt(PhoneWindow.java:2765)

      at com.android.internal.policy.impl.PhoneWindow.setFeatureInt(PhoneWindow.java:1026)

      at com.rhomobile.rhodes.webview.RhoWebViewClient.onPageStarted(RhoWebViewClient.java:59)

      at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:274)

      at android.os.Handler.dispatchMessage(Handler.java:99)

      at android.os.Looper.loop(Looper.java:130)

      at android.app.ActivityThread.main(ActivityThread.java:3686)

      at java.lang.reflect.Method.invokeNative(Native Method)

      at java.lang.reflect.Method.invoke(Method.java:507)

      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)

      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)

      at dalvik.system.NativeStart.main(Native Method)

      Caused by: java.io.FileNotFoundException: res/anim/fade_out.xml

      at android.content.res.AssetManager.openXmlAssetNative(Native Method)

      at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:486)

      at android.content.res.Resources.loadXmlResourceParser(Resources.java:1898)

        • Re: google play crash report res/anim/fade_out.xml not found
          Robert Galvin

          Can you share your build.yml file? Are you using any extensions or Native Tab/Toolbar apis?

            • Re: google play crash report res/anim/fade_out.xml not found

              This is the build.yml:

              sdkversion: "3.3.4"

              name: "MetroState"

              version: "2.0.10"

              vendor: "mscd"

              build: "production"

              bbver: 6.0

              wmsdk: "Windows Mobile 6 Professional SDK (ARMV4I)"

              applog: "RhoLog.txt"

              iphone:

                configuration: "Release"

                sdk: "iphonesimulator6.0"

                provisionprofile:

                codesignidentity: "iPhone Developer"

                entitlements:

                BundleIdentifier: "edu.mscd.mobileapp"

                BundleURLScheme: "MetroState"

              android:

                android_title: 0

                push:

                sender: "mscdapps@gmail.com"

                notification: "always"

                version: "2.1"

                BundleURLScheme: "MSCD"

                emulator: "rhoAndroid111"

                production:

                  certificate: "fakevalue"

                  password: "password"

                  alias: "keystore.alias"

              wp:

                productid: "c5139fc0-736b-012e-8deb-442c0330acf0"

              extensions:

              - json

              - gps

              - network_state

              capabilities:

              - push

              - gps

              - vibrate

              - sdcard

              sdk: "C:/RhoMobileSuite2.1.1.7/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.4"

               

              Toolbar:  We did the following:

               

              application.rb

              #To remove default toolbar uncomment next line:

              @@toolbar = nil

               

              mshell_controller.rb

               

                  def set_mshell_controls

                      if platform != "blackberry"

                          Rho::NativeToolbar.remove()

                          NavBar.remove

                      end

                     

                      if platform == "android" || platform == "blackberry"

                          @menu = {

                              Locale::Mc[:label_close] => :close

                          }

                      end

                  end

               

               

                  def set_app_controls

                      if platform == "apple"

                          toolbar = [

                              {:action => :back,},

                              {:action => :separator},

                              {:action => :home,}

                          ]

                          Rho::NativeToolbar.create( :buttons => toolbar )

                      end

               

                      if platform == "android" || platform == "blackberry"

                          @menu = {          

                              Locale::Mc[:label_close] => :close

                          }

                      end

                     

                      if platform != 'blackberry'

                          NavBar.create :title => Mshell.current_mapp.title

                      end

                  end