Android的工作室,不,minSdk(API 14)> deviceSdk(API 1),MOTO G,Ubuntu的15.04 [英] Android Studio, No, minSdk(API 14) > deviceSdk(API 1), moto G, Ubuntu 15.04

查看:396
本文介绍了Android的工作室,不,minSdk(API 14)> deviceSdk(API 1),MOTO G,Ubuntu的15.04的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装在Ubuntu 15.04(64)Android的工作室(V1.4),但无法连接到我的摩托G(Android版5.0.2)来运行我从教程中提出的申请。

I just installed Android Studio (v1.4) on Ubuntu 15.04 (64) and am unable to connect to my Moto G (Android 5.0.2) to run the application I made from a tutorial.

当被要求选择一个设备,我得到如下的选择。我的设备:结果
TA9290IPXK [NULL]没有,minSdk(API 14)> deviceSdk(API 1)TA9290IPXK

When asked to choose a device, I get the following choice for my device:
TA9290IPXK [NULL] No, minSdk(API 14)>deviceSdk(API 1) TA9290IPXK

我已经启用了设备上的USB调试。运行亚行设备'我得到??????????????没有权限的时候,杀死并重新启动进阶服务器后,它会显示正确的序列号,但回去的Andr​​oid Studio时它仍然没有无法正常工作。

I already enabled USB debugging on the device. when running 'adb devices' I get " ?????????????? no permission " and after killing and restarting the adv server it displays the proper serial ID but when going back to Android Studio it still does not work.

有没有人遇到这个问题?有人可以提供解决方案的建议吧。

Has anyone encountered this issue ? Can someone provide a suggestion of solution please.

推荐答案

好吧,我找到了解决办法。

Ok I found the solution

原来我已经2 ADB安装在不同的路径和Android工作室让他们一人是不正确配置。我也没有正确设置udev规则。

Turns out I had 2 ADB installed in different Paths and Android studio was getting one of them that was not the correctly configured. I also had not properly set up the udev rules.

下面是我走上得到固定结果步骤
1.删​​除已安装手动结果ADB
2.修改udev规则添加设备(事实证明,我的两个的Nexus 7和Moto G的分别不是华硕Motorolla但谷歌公司来代替。我用的lsusb它返回XXXX获得正确的供应商ID code :YYYY的vendir ID是XXXX结果
3.添加亚行权的位置路径(/ SDK /平台工具/)结果
4.然后重新启动所有的设备(计算机和Android设备),它似乎它的工作。

Here are the step I took to get it fixed
1. Remove ADB that was installed manually
2. Modify the udev rules to add the devices (It turns out that both my Nexus 7 and Moto G were not Asus and Motorolla respectively but Google inc instead. I acquired the right Vendor ID code using "lsusb" It returns XXXX:YYYY the vendir iD is the XXXX
3. Add the location of the right adb to path ( /Sdk/platform-tools/)
4. Then rebooted all of the devices (computer and android devices) and it seems it worked.

对不起,不与Ubuntu发放中输入的所有端子线,是新手,可能已经有很多不是帮助更多的混乱。

Sorry for not giving out all the terminal lines that were entered, being novice with Ubuntu it may have been a lot more confusing than helping.

希望这可以帮助别人,就是在同样的情况。

Hopefully it can help someone that is in the same situation.

这篇关于Android的工作室,不,minSdk(API 14)> deviceSdk(API 1),MOTO G,Ubuntu的15.04的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆