Goddchen / mvn-repo

154 stars 45 forks source link

cannot find symbol method getChildFragmentManager() #31

Closed ghost closed 10 years ago

ghost commented 10 years ago

When using ...

url 'https://github.com/Goddchen/mvn-repo/raw/master/'

compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar' compile 'org.holoeverywhere:holoeverywhere:1.6.8' compile 'org.holoeverywhere:addon-preferences:1.6.8' compile 'com.android.support:support-v4:19.0.+'

I get an error ... cannot find symbol method getChildFragmentManager()

Any ideas guys?

ghost commented 10 years ago

I figured it out...

Change compile 'org.holoeverywhere:holoeverywhere:1.6.8' compile 'org.holoeverywhere:addon-preferences:1.6.8'

to

compile 'org.holoeverywhere:holoeverywhere:1.6.8@aar' compile 'org.holoeverywhere:addon-preferences:1.6.8@aar'

Goddchen commented 10 years ago

Ok got it, otherwise I would have guessed that somewhere Activity instead of FragmentActivity from the support library is being used. Because getChildFragmentManager() only exists in the support library.