Android学习:导入工程时报错The import android cannot be resolved

mac2022-06-30  9

今天在导入别人的工程时,出现了一个这个问题The import android cannot be resolved

就是找不到import android.support.v7.app.ActionBarActivity;

到后面发现是android.support.v7.app那个外部引用包的问题,我让它是16的

以前我的这个包一直是18的,之间差别比较大。网上的方法是选择SDK的版本,不过我图方便,直接把原来项目的android.support.v7.app也拷贝过来了。

 

Android学习:导入工程时报错The import android cannot be resolved

转载于:https://www.cnblogs.com/blogonfly/p/4315811.html

最新回复(0)