inflate-exception

Error inflating class android.support.design.widget.TextInputLayout

泪湿孤枕 提交于 2019-12-11 06:34:42
问题 when i change my library 23.0.1 to 23.3.0 then this error will occur and i have to change my library. so give me answer and solution. java.lang.RuntimeException: Unable to start activity ComponentInfo{com.inn.microwave/com.inn.microwave.LoginActivity}: android.view.InflateException: Binary XML file line #37: Error inflating class android.support.design.widget.TextInputLayout at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184) at android.app.ActivityThread

InflateException for admob's adview after using proguard

南笙酒味 提交于 2019-12-11 05:46:20
问题 I'm new to admob.I use Android froyo and I added Adview to my main.xml as follow: <com.google.ads.AdView xmlns:googleads="http://schemas.android.com/apk/lib/com.google.ads" android:id="@+id/ad" android:layout_width="fill_parent" android:layout_height="wrap_content" googleads:adSize="BANNER" googleads:adUnitId="a14ed7ed1b71bc0" /> so when i try to deploy my app using adb everything is ok. But when i use proguard and i install the apk on my phone, app crashes at the begining. Logcat says:

Error inflating class ImageButton

喜夏-厌秋 提交于 2019-12-10 17:23:32
问题 I have an app which has fragment and image button on that. The problem is it's working on and above 5.0 but not below 5.0. The min sdk version is 17. Not getting what's wrong here. I am getting 2 exceptions. One is RuntimeException for image button . Second is ResourceNotFoundException for fab selector file. Log : 1st exception -- java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.siddhi.timetablelayout/com.example.siddhi.timetablelayout.MainActivity}: android.view

Error inflating class com.google.ads.AdView (InflateException)

泄露秘密 提交于 2019-12-10 11:43:10
问题 I am trying to show a adview in my android application, but it shows an InflateException. This terminates the app and I cannot do anything. Here is my logcat - 05-06 14:09:09.428: E/AndroidRuntime(928): FATAL EXCEPTION: main 05-06 14:09:09.428: E/AndroidRuntime(928): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.kodspider.parkon/com.kodspider.parkon.HomeActivity}: android.view.InflateException: Binary XML file line #18: Error inflating class com.google.ads.AdView 05

android.view.InflateException: Binary XML file line #: Error inflating class

心已入冬 提交于 2019-12-10 11:36:25
问题 This is my xml file <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginBottom="10dp" android:orientation="horizontal"> <LinearLayout android:layout_width="0dp" android:layout_height="match_parent" android:layout_marginTop="10dp" android:layout_weight="1" android:background="@drawable

Error inflating class com.google.ads.AdView (InflateException)

梦想的初衷 提交于 2019-12-08 20:01:31
I am trying to show a adview in my android application, but it shows an InflateException. This terminates the app and I cannot do anything. Here is my logcat - 05-06 14:09:09.428: E/AndroidRuntime(928): FATAL EXCEPTION: main 05-06 14:09:09.428: E/AndroidRuntime(928): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.kodspider.parkon/com.kodspider.parkon.HomeActivity}: android.view.InflateException: Binary XML file line #18: Error inflating class com.google.ads.AdView 05-06 14:09:09.428: E/AndroidRuntime(928): at android.app.ActivityThread.performLaunchActivity

android.view.InflateException: Binary XML file line #: Error inflating class

匆匆过客 提交于 2019-12-07 19:28:26
This is my xml file <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginBottom="10dp" android:orientation="horizontal"> <LinearLayout android:layout_width="0dp" android:layout_height="match_parent" android:layout_marginTop="10dp" android:layout_weight="1" android:background="@drawable/filebinder" /> <LinearLayout android:layout_width="0dp" android:layout_height="match_parent" android:layout

SplashScreen using PNG image leads to Android.Views.InflateException followed by OutOfMemory

可紊 提交于 2019-12-05 17:55:05
I watched Google IO 2011 conference, read almost every post about OutOfMemory Exception and InflateException, no luck, I cannot find any answer that solve my problem. How can I properly clear memory from a layout containing a background image? I feel like if the InflateException followed by OutOfMemory are related because that background image is not cleared properly. So I'm getting : Android.Views.InflateException: Binary XML file line #24: Error inflating class followed by : Java.Lang.OutOfMemoryError: Which I'm pretty sure is caused by my background image. I simplified my code to narrow the

error while inflating XML in Google maps fragment

夙愿已清 提交于 2019-12-04 06:58:39
trying to display Google map using a fragment. Used the following page as a tutorial. I am getting the exception "Error Inflating class fragment ". 1) Imported the jar google-play-services.jar 2) downloaded and configured the google play services SDK. 3) got the latest v2 API Key. 4) Added permission com.google.android.providers.gsf.permission.READ_GSERVICES in the manifest. 5) using mindsdk = 8 and target = 16. For a reference, Androidmanifest.xml : <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.com.mapsdemo"

Error inflating class ImageView

♀尐吖头ヾ 提交于 2019-12-03 10:06:08
I've been getting InflateException/ClassNotFoundException error intermittently. I've seen similar errors before in SO but they were caused by spelling errors. I spelled 'ImageView' correctly so I don't know what's causing the error. The code where the error occurs is: v = View.inflate(getContext(), R.layout.event_show_row_layout, null); Here's the layout xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" > <RelativeLayout