This question already has answers here:
MapActivity cannot be resolved to a type
                                
                                    (2个答案)
                                
                        
                                6年前关闭。
            
                    
所以我有一个MainActivitySubActivity,我希望SubActivity扩展MapActivity。但是该程序不允许我这样做。它说MapActivity cannot be resolved to a type。如何获得SubActivity来扩展MapActivity?

最佳答案

检查您的构建路径,您需要Google API,它包含您需要的“ maps.jar”;)

关于android - 如何获得子 Activity 以扩展MapActivity ,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/15295912/

10-09 05:13