Google Maps V2 - Error inflating class Fragment

后端 未结 15 1699
清歌不尽
清歌不尽 2020-12-03 01:04

I\'m trying my hand and Android Application Development. I\'m currently using Eclipse (I can\'t remember the version, whatever the newest is). I\'ve crossed a bridge where I

15条回答
  •  悲哀的现实
    2020-12-03 01:33

    Had tried all the above answers over a period of a couple of days and then eventually this worked:

    Project -> Properties -> Android -> Project Build Target

    Changed the project build target to android 4.3(API 18) and clicked apply

    In the manifest I then manually changed the min and target sdk versions:

    
    

    This now matches the target=android-18 in the project.properties file (which resulted from the project build target change we did first)

    I also tried android:minSdkVersion="11" which worked so the targetSdkVersionis the important bit.

    Hope this helps someone!

提交回复
热议问题