Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Android debug version runs yet release crashes

$
0
0

I am working on a Xamarin Forms app for Android and iOS phones. I am trying to get a release version over to QA. The release compiles with no errors. Running the app the splash screen displays and then crashes with

[AndroidRuntime] Shutting down VM
[AndroidRuntime] FATAL EXCEPTION: main
[AndroidRuntime] Process: com.raptortech.reunification.local, PID: 19063
[AndroidRuntime] android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.support.v7.widget.FitWindowsLinearLayout
[AndroidRuntime] Caused by: android.view.InflateException: Binary XML file line #17: Error inflating class android.support.v7.widget.FitWindowsLinearLayout
[AndroidRuntime] Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.widget.FitWindowsLinearLayout" on path: DexPathList[[zip file "/data/app/com.raptortech.reunification.local-JAxhHADWxd4TC35cIXcjAA==/base.apk"],nativeLibraryDirectories=[/data/app/com.raptortech.reunification.local-JAxhHADWxd4TC35cIXcjAA==/lib/x86, /data/app/com.raptortech.reunification.local-JAxhHADWxd4TC35cIXcjAA==/base.apk!/lib/x86, /system/lib]]
[AndroidRuntime] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
[AndroidRuntime] at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
[AndroidRuntime] at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
[AndroidRuntime] at android.view.LayoutInflater.createView(LayoutInflater.java:606)
[AndroidRuntime] at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:790)
[AndroidRuntime] at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730)
[AndroidRuntime] at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
[AndroidRuntime] at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
[AndroidRuntime] at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
[AndroidRuntime] at android.support.v7.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:631)
[AndroidRuntime] at android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:518)
[AndroidRuntime] at android.support.v7.app.AppCompatDelegateImpl.onPostCreate(AppCompatDelegateImpl.java:299)
[AndroidRuntime] at android.support.v7.app.AppCompatActivity.onPostCreate(AppCompatActivity.java:98)
[AndroidRuntime] at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1342)
[AndroidRuntime] at android.app.ActivityThread.handleStartActivity(ActivityThread.java:2964)
[AndroidRuntime] at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:180)
[AndroidRuntime] at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:165)
[AndroidRuntime] at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:142)
[AndroidRuntime] at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
[AndroidRuntime] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
[AndroidRuntime] at android.os.Handler.dispatchMessage(Handler.java:106)
[AndroidRuntime] at android.os.Looper.loop(Looper.java:193)
[AndroidRuntime] at android.app.ActivityThread.main(ActivityThread.java:6669)
[AndroidRuntime] at java.lang.reflect.Method.invoke(Native Method)
[AndroidRuntime] at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
[AndroidRuntime] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

In searching for a solution I did see others talk about a change from ?attr. I changed ?attr/actionBarSize to @dimen/abc_action_bar_default_height_material and ?attr/colorPrimary to @color/primary. The Android app still crashes. Any ideas what else could be cashing the issue?


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>