关于android编译失败的集中情况

1   Unable to resolve target ‘android-8’

     


2   Description Resource Path Location Type error:
     Error retrieving parent for item: No resource found that matches the given name ‘android:Theme.Holo.Light.DarkActionBar’. styles.xml
    Description Resource Path Location Type error:
    Error retrieving parent for item: No resource found that matches the given name ‘android:Theme.Holo.Light’. styles.xml    




3  The method onClick(View) of type xxx must override a superclass method




4  Android requires compiler compliance level 5.0 or 6.0. Found ‘1.x’ instead. Please use Android Tools > Fix Project Properties.

           这个问题出现的背景是:你安装的 jdk很有可能是  java 7以后的版本 ----->所以在调整java compiler的时候 索性就选择1.7版本

          但是: Android 的 SDK 是在 JAVA 5 以及 6 的版本中所誕生----->太旧的版本有不能接受 @Override 标注问题,而太新的版本會造成 Android SDK 的编译不接受的狀況

       刺客就需要你

你可能感兴趣的:(关于android编译失败的集中情况)