Questions tagged [inflate-exception]

(Android) This exception is thrown by an inflater on error conditions.

(Android) This exception is thrown by an inflater on error conditions.

Reference: http://developer.android.com/reference/android/view/InflateException.html

323 questions
0
votes
1 answer

Android InflateException - Error inflating class com.google.vr.sdk.base.GvrView

I'm trying to get in a new project the modules "audio", "base" and "common" of the Google Cardboard SDK up and running on an x86_64 emulator, but I keep getting the following error: 09-01 14:38:36.378 8768-8768/com.verbraeken.joost.roarenginedemo…
0
votes
1 answer

Error inflating class com.markupartist.android.widget.ActionBar java.lang.RuntimeException: Unable to start activity ComponentInfo

Hi guys can you help me how to fix this problem, i dont know why the problem is actionbar, i try to import this project from eclipse, and so hard to fix so many all of the project trouble, I try to remove the library v4 support but it's not…
L Wira Satria M
  • 67
  • 2
  • 13
0
votes
1 answer

Android Application Crashes on launch on jeallybeans

In my application I am using bruicePickerView Library to have a time picker like ios. My android application works fine on Android Lollipop but when Ever I try to run my application on another device having v 4.4 my application crashes with…
0
votes
2 answers

New project created in Android Studio! not running

I already using Eclipse and I want to migrate to Android Studio. I installed Android Studio and I just created new project but its not running.. Log cat: 08-15 04:49:48.210 1357-1357/? E/AndroidRuntime: FATAL EXCEPTION: main …
soeldiablo
  • 169
  • 6
0
votes
1 answer

InflateException thrown when setting id on a FloatingActionButton

I have a floating action button control added to my main activity:
kformeck
  • 1,703
  • 5
  • 22
  • 43
0
votes
2 answers

Xamarin Android - Error inflating class fragment - Google Maps v2

I've seen others with a similar issue, but none of their solutions seemed to work for me. The Exception being thrown is: Android.Views.InflateException: Binary XML file line #1: Error inflating class fragment map.axml:
Jared Price
  • 5,217
  • 7
  • 44
  • 74
0
votes
2 answers

Android InflateException Error in fragment layout with SupportMapFragment (recreated fragment)

All more or less works. But if the LocationFragment is recreated, the application falls. Manifest
0
votes
1 answer

InflateException DatePicker

I am trying to show a DatePickerDialog in my Fragment when the user clicks an edittext //initialise Calendar newCalendar = Calendar.getInstance(); datePickerDialog = new DatePickerDialog(getActivity(), new DatePickerDialog.OnDateSetListener()…
Nikola
  • 890
  • 1
  • 11
  • 35
0
votes
3 answers

OpenOptionMenu from ImageButton gives null pointer exception

I am trying to invoke optionMenu from ImageButton in onClick listener but getting following exception. 07-19 01:08:09.693: E/AndroidRuntime(15133): java.lang.NullPointerException: Attempt to invoke interface method 'android.view.MenuItem…
user366584
  • 1,016
  • 1
  • 16
  • 34
0
votes
2 answers

Map Fragment crashes when entering with back button

I have a NavigationDrawer based application. One of the fragments i load contains a GoogleMap fragment. This is what is use to load the fragment getSupportFragmentManager().beginTransaction().replace(R.id.container, new…
Deepak
  • 1,238
  • 3
  • 22
  • 47
0
votes
1 answer

Android CollapsingToolbarLayout error inflating

I have Activity with AppBarLayout inside. Inside AppBarLayout I have CollapsingToolbarLayout with FrameLayout and Toolbar. When I try to launch application with this Activity, application crashes with error: 07-01 10:46:11.790…
0
votes
1 answer

InflateException Error inflating class EditText

I'm having trouble while inflating on Android Studio. It's working fine in emulator. Problem however happens I test the app on my phone (an HTC One M7 - the first one). Anyone knows a solution for this? Here is the layout:
0
votes
2 answers

android.view.InflateException: Binary XML file line - how to avoid

I have a problem with inflating, I dont know how to resolve it because it is a strange issue. I got a crash in my BaseFragment class in line 60 for samsung and huawei devices(huawei gra_l09). Code looks like below: public View…
0
votes
1 answer

Android.view.InflateException: Binary XML file line #1: Error inflating class menu

I have been following Udacity's "Developing Android Apps" course and I have stumbled upon a problem. In the tutorials, I am asked to create an XML file called forecastfragment.xml, which is below:
gfcf14
  • 316
  • 4
  • 30
0
votes
5 answers

Google Maps Error Inflating Class Fragment Android

I have been searching the web and cannot seem to find an answer that works for me. I recently made a new project in Android Simulator and chose the Google Maps Template. I followed the instructions at…