简体   繁体   English

Eclipse无法识别android 4.2(galaxy mini 2)

[英]Eclipse do not recognize android 4.2 (galaxy mini 2)

I have upgraded my android api 7 (samsung galaxy mini 2/ GT-S6500D) to android 4.2.2 CyanogeMod 10.1, after what my android studio(4.2) under ubuntu (12.04_x64) stopped detecting it. 在ubuntu(12.04_x64)下的我的android studio(4.2)停止检测到它之后,我已经将android api 7(samsung galaxy mini 2 / GT-S6500D)升级到android 4.2.2 CyanogeMod 10.1。 When plug it to PC system detects phone and sd as: 将其插入PC系统后,将手机和sd检测为:

Name: Internal storage/SD card
Type: folder (inode/directory)
Contents: ...
Location: mtp://[usb:003,007]/
Volume: mtp
Free space:  ..GB

Does anybody faced similar problem and has any sollution for this? 是否有人面临类似的问题并且对此有解决方案?

When I leave open windows it whole time shows: 当我离开打开的窗口时,它始终显示: 在此处输入图片说明

trying to kill and start server do not change anything. 尝试杀死并启动服务器不会更改任何内容。 After every server start when I run ./adb devices it gives empty list: 在每台服务器启动后,当我运行./adb devices它将给出一个空列表:

List of devices attached 
[nothing here...]

Is it normal that it is launched in Location: mtp://[usb:003,007]/ ? Location: mtp://[usb:003,007]/启动是否正常?

For more.. after upgrade it detects SIM card: SIM CARD IS LOCKED. 有关更多..升级后,它将检测到SIM卡:SIM卡已锁定。 - EMERGENCY CALLS ONLY - 仅限紧急呼叫

And when I plug phone to PC it shows: 当我将手机插入PC时,它显示: 在此处输入图片说明

And before there was something like dialog box with "select what to do?". 在出现类似“选择要做什么?”对话框的对话框之前。

go to ur command prompt kill ur ADB and then start ADB it will detect ur device 转到您的命令提示符处, kill ur ADB ,然后start ADB ,它将检测到您的设备

go to ur command line tool,, 转到您的命令行工具,

cd <android-sdk/platfromtools>

then,, 然后,,

./adb kill-server

then,, 然后,,

sudo ./adb start-server

it will show ur device 它会显示您的设备

I got this error when our Galaxy Tab 2 devices got the latest update to 4.2.2 (I think they've got 4.1.x beforehand). 当我们的Galaxy Tab 2设备的最新更新为4.2.2时,出现了此错误(我认为他们之前已经拥有4.1.x)。 The device turned up in eclipse but only as "unknown" type with a random string as name.. 该设备以eclipse出现,但仅以“ unknown”类型出现,并以随机字符串作为名称。

I tried the above but it did not work. 我尝试了上面的方法,但是没有用。 After that I just tried 之后,我只是尝试

    adb get-serialno  //or
    adb get-state

Then the question on the device if the computer should be allowed to have debugging access came and after acknowledging it the devicename changed in eclipse. 然后,设备上出现了一个问题,即是否应允许计算机具有调试访问权限,并且在确认计算机后,设备名称会在eclipse中更改。

I don't know if this has to be done at any disconnect/reconnect of the USB again or not. 我不知道是否必须在断开或重新连接USB时再次执行此操作。 This is just a workaround, let's hope that it gets better with next eclipse or samsung update.. 这只是一个解决方法,我们希望它能在下次Eclipse或Samsung更新时变得更好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM