The import android.support.v7.app cannot be resolved

后端 未结 5 1128
长情又很酷
长情又很酷 2020-11-29 09:08

after updating to Eclipse Kepler, I haven\'t been able to add the support library appcompat. I\'ve followed this instructions and I still get the error The import an

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-29 10:03

    I'm new to Eclipse but I had the same error and somehow fixed it. I had 2 project, one of them fixed itself after restart or something, the first one i fixed by adding back the imports that somehow i or eclipse deleted. mine imports are:

    import android.content.res.Resources;
    import android.graphics.Typeface;
    import android.os.Bundle;
    import android.support.v7.app.ActionBarActivity;
    import android.view.Menu;
    import android.view.MenuItem;
    import android.widget.ImageView;
    import android.widget.TextView;
    

    Are add any that you still need. Hope that helps

提交回复
热议问题