[bug]No devices found !Again!!!

icefairy333

Active Member
Licensed User
Longtime User
1.the system path is setup ok.
2.I killed all adb.exe.
3.click the "connect" button with the log tab.
4.there are some adb.exe show in the taksmgr.like:

5.I copy the command into cmd,It works fine.

6.The android.jar is located the right path(with the adb.exe)

7.I use the "MSE" only.and add the b4a path in the white list.
8.Eclipse works fine.(no matter eclipse run or not)
9.I started an AVD the b4a can't find either.


My question is:why the command in the cmd runs ok,but in b4a it fall.(this time I had restarted the pc,and It didn't work.)
 

Attachments

  • 1.png
    2.2 KB · Views: 370
  • 2.png
    1.9 KB · Views: 457
  • 3.png
    1.9 KB · Views: 448
  • 4.png
    17 KB · Views: 484
  • 5.png
    24.2 KB · Views: 480
  • 6.png
    3.7 KB · Views: 440
  • 7.png
    41.6 KB · Views: 484
Last edited:

icefairy333

Active Member
Licensed User
Longtime User
Do you know where is "adb fork server"? I don't think that it is related to Basic4android.

I think after the b4a call "CreateProcessW" to start
B4X:
"E:\android\android-sdk\tools\..\platform-tools\adb.exe" devices
,it will got:
B4X:
List of devices attached
TA7440A61H      device
but, why it can't recognition?
I use the ollydbg to debug the basic4android.exe ,I found that the b4a call "CreateProcessW" to start
B4X:
"E:\android\android-sdk\tools\..\platform-tools\adb.exe" devices
about 3-4 times.
 

icefairy333

Active Member
Licensed User
Longtime User
B4X:
程序                          PID                           父程序                        用户                          时间                          行为                          路径                          参数                          父程序路径                    
SearchFilterHost.exe          15412                         13596 (SearchIndexer.exe)     ----                          2013-03-13 12:47:42           启动>
SearchFilterHost.exe          13592                         13596 (SearchIndexer.exe)     ----                          2013-03-13 12:47:42           退出
conhost.exe                   9560                          504  (csrss.exe)              ----                          2013-03-13 12:47:26           退出
adb.exe                       2624                          10152 (Basic4android.exe)     ----                          2013-03-13 12:47:26           退出                                                                                      D:\program\b4a2.5\Basic4android.exe
conhost.exe                   9560                          504  (csrss.exe)              ----                          2013-03-13 12:47:24           启动>
adb.exe                       2624                          10152 (Basic4android.exe)     ----                          2013-03-13 12:47:21           启动>                                                                                     D:\program\b4a2.5\Basic4android.exe
conhost.exe                   12376                         504  (csrss.exe)              IceFairy                      2013-03-13 12:47:21           退出
adb.exe                       2436                          10152 (Basic4android.exe)     IceFairy                      2013-03-13 12:47:21           退出                          E:\android\android-sdk\platform-tools\adb.exe                                D:\program\b4a2.5\Basic4android.exe
adb.exe                       13052                         2436 (adb.exe)                IceFairy                      2013-03-13 12:47:19           启动>                         E:\android\android-sdk\platform-tools\adb.exe                                E:\android\android-sdk\platform-tools\adb.exe
conhost.exe                   12376                         504  (csrss.exe)              IceFairy                      2013-03-13 12:47:17           启动>
adb.exe                       2436                          10152 (Basic4android.exe)     IceFairy                      2013-03-13 12:47:17           启动>                         E:\android\android-sdk\platform-tools\adb.exe                                D:\program\b4a2.5\Basic4android.exe
adb.exe                       10020                         1092 (退出)                   IceFairy                      2013-03-13 12:47:09           退出                          E:\android\android-sdk\platform-tools\adb.exe
 

icefairy333

Active Member
Licensed User
Longtime User
The IDE will make 4 retries if there is no devices because sometimes ADB fails to recognize a device. There seems to be a problem on your machine. adb.exe is supposed to immediately finish after this call.

I write an application use c#,then I found that:I can't read the process object's output string at all(only adb,if I call the ver,or echo ffff>d:\aaa.txt it works fine).
Is there anyone know:what's wrong with the windows?I had to restore my system now
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…