【ubuntu】The "android" command is deprecated.
来源:互联网 发布:如何制作自己的软件 编辑:程序博客网 时间:2024/06/07 09:19
本人小白一个,在ubuntu上配置AS,各种问题不断,好不容易装好,导入工程发现无法运行,前辈们说JDK版本不同,那就改呗,结果回头去开SDK Manager的时候打不开了!这是报的信息:
./android
*************************************************************************The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
*************************************************************************
Invalid or unsupported command ""
Supported commands are:
android list target
android list avd
android list device
android create avd
android move avd
android delete avd
android list sdk
android update sdk
mj@mj-dell:~/android/android-sdk-linux/tools$
在网上查了很久,都是说MAC啊什么的,不过说的很对,这是那个博客的原话:http://blog.csdn.net/gnicky/article/details/70813460
原因:
新版android sdk tool 舍弃了android相关命令,而cocos creator 依赖此编译,故通不过。
解决办法:
旧版sdk tool 覆盖即,可参考以下链接解决:http://forum.cocos.com/t/creator1-4-1-android/45151
可能是自己脑子短路到了,一直在看那篇博客,一直在试,,,,吃过饭,清醒一下,就想到把自己的android-sdk-linux重新解压获取一下tools包,试试就重新可以打开SDK Manager了
阅读全文
0 0
- 【ubuntu】The "android" command is deprecated.
- The "Android" command is deprecated.
- The "android" command is deprecated
- Mac下关于The "android" command is deprecated.问题解决
- cocos creator 编译通不过, 出现 The "android" command is deprecated.
- DEPRECATED: Use of this script to execute hdfs command is deprecated. Instead use the hdfs command
- Android开发: The type ClipboardManager is deprecated
- Android开发: The type ClipboardManager is deprecated
- DEPRECATED: Use of this script to execute hdfs command is deprecated. Instead use the hdfs command f
- the update-modules command is deprecated and should not be used
- Android开发中The type SmsManager is deprecated提示
- Android开发中The type SmsManager is deprecated
- Android开发中The type SmsManager is deprecated提示
- Android The constructor GestureDetector(GestureDetector.OnGestureListener) is deprecated
- The type Contacts is deprecated
- The type SmsMessage is deprecated
- The type SmsMessage is deprecated
- The type MultipartEntity is deprecated
- Poj 1789 Truck History (最小生成树K
- Hibernate中Criteria的完整用法【整理】
- 自定义View,绘制一个圆形,并可以单击拖动
- hdu 6069 素数
- C
- 【ubuntu】The "android" command is deprecated.
- operating system not found
- MongoDB的基础查询和索引操作方法总结
- 思维导图
- 13、句子逆序
- [AirFlow]AirFlow使用指南四 DAG Operator Task
- 时间复杂度和空间复杂度详解
- poj 3660 弗洛伊德算法的巧妙改变。
- STM32启动BOOT0 BOOT1设置方法