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

How to reproduce android.view.lnflateException

How to naturally invoke android.view.InflateException whilst instantiation a layout XML file into a corresponding View object? Erasure of the constructor with AttributeSet parameter and throw is prohibited. Use set of typical constructors: public…
Yehor Nemov
  • 907
  • 2
  • 16
  • 31
0
votes
3 answers

Google Maps v2 Error inflating class fragment

I'm using google maps v2 in my application. The app crashes as soon as it starts. Min SDK version is 8 and Max is 19. I can't get what the error is. Below is my LogCat and Code, Please Help Log 03-10 16:17:37.977: E/AndroidRuntime(24296): FATAL…
0
votes
1 answer

Android application Error Opening Trace File: No such file or directory

Here is a link to a question i posted before with my code: https://stackoverflow.com/questions/22277864/grid-view-open-one-layout-form-another-causes-the-prograam-to-crash The error happens right as I click on the button2 'Ornaments' on the main…
0
votes
3 answers

Google Map is not loading due to inflate exception

I am using Google Maps v2 in my application. The key is correctly generated, all the permissions exist in manifest. I followed the tutorial of Google Maps v2. I followed each and every step but it's not working. Please Help Log 03-04 01:25:23.145:…
0
votes
0 answers

SherlockListFragment Error Inflating Class Fragment Android API 8 - 10

Often the issue when inflating a fragment in API 8 - 10 is that the API 11+ import is used instead of utilizing the Android Support V4 import. In my case, I'm utilizing a SherlockListFragment that my class extends. It's my understanding that ABS…
AutoM8R
  • 3,020
  • 3
  • 32
  • 52
0
votes
1 answer

Error inflating class when trying to decodeStream

i'm exausted. I'm working on this all day. In my app i have 100 ImageViews, but i'm getting a java.outofmemory error so i decided to decode and resize file, but i can not manage it to work. Can someone take a look in the code and suggest me…
George Lungu
  • 125
  • 2
  • 4
  • 16
0
votes
3 answers

Android: error inflating extended class

I know you'll have seen this question before. I know I have :-). But still, combing all the answers I have found I still get the inflating class error. My layout has an extended webView as I want to be able to swipe left and right in order to load…
Mr. Jigs
  • 73
  • 1
  • 11
0
votes
1 answer

Error inflating custom Switch class: Android

I have created a custom switch and I am using that in a fragment. But i am getting the following error: 12-30 17:46:55.456: E/AndroidRuntime(13351): android.view.InflateException: Binary XML file line #47: Error inflating class…
Sunny
  • 7,444
  • 22
  • 63
  • 104
0
votes
1 answer

RuntimeException: Unable to start activity ComponentInfo{...}: android.view.InflateException

when i start my app it crashes and logcat says: 12-03 16:52:12.486 8252-8252/de.kanalmeister.presentation E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: de.kanalmeister.presentation, PID: 8252 java.lang.RuntimeException: Unable to start…
ntm
  • 731
  • 2
  • 13
  • 37
0
votes
0 answers

android random exception when resuming Unable to start activity ComponentInfo android.content.res.Resources$NotFoundException

I have quite strange exception which appears when my app is resumed (after I switch to other apps and then return to mine) although it's not thrown always but only from time to time. The part where exception is quite simple. I use ViewPager (v4) and…
0
votes
1 answer

InflateException with HoloEverywhere Listview

Im' trying to implement a drawer menu on my Android + HoloEverywhere app. I'v used the method described on http://developer.android.com/training/implementing-navigation/nav-drawer.html to get started. The only difference is that I import a…
TrtG
  • 2,778
  • 6
  • 26
  • 39
0
votes
1 answer

android runtimeException error inflating fragment xml file line #17

Our teacher asked us to build to activities that hold the same fragment. After a load of errors and reading things about inflating fragmentes, back stack, stateSaved; I still don't know what to do in order the second activity to charge the…
0
votes
2 answers

How to correct Inflate exception in a layout?

I added an ImageView to my main activity,but when I run the application it crashes giving an Inflate exception.I see from the error log that it is a problem with building the xml for this activity.But what I want to know is what is wrong with the…
Brian Var
  • 6,029
  • 25
  • 114
  • 212
0
votes
1 answer

Android: InflateException when swiping with Google Maps v2

I have an issue when swiping to fragment_right then back to fragment_middle. If I only swipe from fragment_middle to fragment_left and vice-versa, everything works. I'm using a FragmentActivity and ViewPager with a ViewPagerAdapter. I have three…
basickarl
  • 37,187
  • 64
  • 214
  • 335
0
votes
2 answers

Android: Inflate Exception

I am new to android and I am trying to inflate a common footer in many activities of my android app. This some buttons in the footer need to work same across the app. Here is my code: BottomBar class: package com.traderscockpit; import…
Sourabh
  • 1,757
  • 6
  • 21
  • 43