zoukankan      html  css  js  c++  java
  • Android开发学习---template requires a minimum SDK version of at least 7,build target API version of 14

    adt 22.6.3的bug

    当adt更新到22.6.3,其编辑器中最低支持api7,即android 2.1,这里可能是google故意这么做的,也可能是其bug.其target sdk 和compile sdk最低都为14,即anroid 4.0,这里建议都设为最高的api 19,即android 4.4;否则会一直报错,类似错误如下:

    This template requires a minimum SDK version of at least 7, and the current min version is X.....
    This template requires a build target API version of at least 14, and the current version is Y.....

    翻译:要求minimum SDK为api 7,build target最低为api 14

     本来想继续用下去的,但实在感觉不习惯还是把它换回来,结果这一换,就花了2个多小时,真是够蛋疼的,就上面的2句英文提示远远不知道从哪下手,好像从adt2014年以后的版本都会出现这样的错误提示,网上搜索了N久,没有答案,结果把之前的2013年的版本换回来,它又好了,真是够奇葩的!!之前的版本是adt-bundle-linux-x86_64-20131030的版本,最新的版本好像都有问题!!这里我试了22.6.3,22.6.2都不行.

    这里还是adt的问题,总结一句话,22.6以上的版本可能都会有各种"问题",建议换回之前的版本,我是换回了22.3的,然后avd,sdk manager都用的adt-bundle-linux-x86_64-20131030中默认带的.

    创建成功!!!

    可以将这里面的sdk拷到其它platforms,这个是可以复用的.

    拷进来之后,立马增加了.

    如果发现eclipse没有android sdk manager和android virtual devices manager,请参考下图操作.

    Window > Custom Perspective--->Command Groups Availability > Android SDK and AVD Manager > check (勾选)

    这样图标就又有了. 

  • 相关阅读:
    android.animation(6)
    android.animation(5)
    android.animation(4)
    android.animation(3)
    android.animation(2)
    android.animation(1)
    android.view.animation(2)
    php热身2:CRUD with Ajax
    PHP热身
    Android热身:通过网络获取资源并更新UI组件
  • 原文地址:https://www.cnblogs.com/amosli/p/3749188.html
Copyright © 2011-2022 走看看