If I use new “ V7 Appcompat library ”, do I still need “ V4 Support Library ” for a minimum SDK = 7?

后端 未结 5 1392
深忆病人
深忆病人 2020-12-08 19:37

I am migrating from Action Bar Sherlock to Action Bar compat. I remove ABS and I had support-v4-google maps in it, I got errors. I will add the v4 directly to the project no

5条回答
  •  孤城傲影
    2020-12-08 20:12

    In my case, 'android-support-v7-appcompat.jar' alone was not enough when I used public class MainActivity extends AppCompatActivity in Eclipse. I needed to also add android-support-v4.jar (Build Path -> Libraries -> Add JARs). Only then AppCompatActivity was accepted.

提交回复
热议问题