Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to launch application - Read previous threads...not helpful #91

Open
GoogleCodeExporter opened this issue Apr 9, 2016 · 5 comments

Comments

@GoogleCodeExporter
Copy link

Device name : Motorola Atrix 4G, Motorola Droid 3, Motorola Droid X2
Device rooted (yes/no) : Yes
Device OS version (1.5/1.6/2.0,...) :2.3.4

Computer OS and version (Mac,Win,Linux,...) :Win7EntSp1
Java version (java -version from command line) : 1.6.0_10-rc
ADB version (adb version from command line) : 1.0.29
AndroidScreencast version :

What steps will reproduce the problem?
1. USB Debugging on
2. adb devices
3.

What is the expected output? What do you see instead?


ERROR: Timeout Getting device list
-----

Launch File:
-----------
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="0.2 1.0"
      codebase="http://androidscreencast.googlecode.com/svn/trunk/AndroidScreencast/dist/"
      href="androidscreencast.jnlp">
   <information> 
      <title>Android Screencast</title> 
      <vendor>Alexandre Thiel</vendor>
      <homepage href="http://code.google.com/p/androidscreencast/"/>
      <description>Control an android device remotely !</description>
      <description kind="short">Control an android device remotely</description>
      <offline-allowed/> 
      <shortcut online="true"/>
      <update check="timeout" policy="always"/>
   </information> 
   <resources>
      <j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/>
      <j2se version="1.5+"/>
      <jar href="androidscreencast.jar" main="true" download="eager"/>
      <jar href="ddmlib.jar" main="false" download="eager"/>
   </resources>
   <application-desc main-class="net.srcz.android.screencast.Main"/>
   <security>
       <all-permissions/>
    </security> 

</jnlp>


Exception:
---------

java.lang.RuntimeException: Timeout getting device list!
    at net.srcz.android.screencast.Main.waitDeviceList(Main.java:86)
    at net.srcz.android.screencast.Main.initialize(Main.java:37)
    at net.srcz.android.screencast.Main.<init>(Main.java:25)
    at net.srcz.android.screencast.Main.main(Main.java:107)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)


Please provide any additional information below:
Problem with these devices only. Samsung, LG, HTC devices working fine!!!

Original issue reported on code.google.com by akki...@gmail.com on 5 Apr 2012 at 6:15

@GoogleCodeExporter
Copy link
Author

Plz. HELP ASAP

Original comment by akki...@gmail.com on 5 Apr 2012 at 6:18

@GoogleCodeExporter
Copy link
Author

Tried this:

Comment 1 by fashb...@gmail.com, Jun 4, 2010
You can see:

4.Exception: [..] Download Error [..] Connection refused 

The .jnlp itself doesn't includes the code, it downloads androidscreencast.jar 
and
ddmlib.jar from 
http://androidscreencast.googlecode.com/svn/trunk/AndroidScreencast/dist/

It seems your java needs proxy, etc.. run "javaws -viewer".


Or download both jar files manually and run
# javaws -codebase file:///path/to/files androidscreencast.jnlp 

Folke
--------------------------------------------------------
getting this error:

java.lang.RuntimeException: java.lang.RuntimeException: 
java.lang.RuntimeException: SyncService is null, ADB crashed ?
    at net.srcz.android.screencast.api.injector.Injector.uploadAgent(Injector.java:52)
    at net.srcz.android.screencast.api.injector.Injector.init(Injector.java:162)
    at net.srcz.android.screencast.api.injector.Injector.access$0(Injector.java:155)
    at net.srcz.android.screencast.api.injector.Injector$1.run(Injector.java:26)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: SyncService 
is null, ADB crashed ?
    at net.srcz.android.screencast.api.AndroidDevice.pushFile(AndroidDevice.java:51)
    at net.srcz.android.screencast.api.injector.Injector.uploadAgent(Injector.java:49)
    ... 3 more
Caused by: java.lang.RuntimeException: SyncService is null, ADB crashed ?
    at net.srcz.android.screencast.api.AndroidDevice.pushFile(AndroidDevice.java:43)
    ... 4 more


Original comment by akki...@gmail.com on 5 Apr 2012 at 11:32

@GoogleCodeExporter
Copy link
Author

I am facing the same issue just today

Original comment by geinuson...@gmail.com on 16 Aug 2012 at 6:39

@GoogleCodeExporter
Copy link
Author

I had the same issue yesterday

Original comment by ccchen.t...@gmail.com on 19 Oct 2012 at 7:14

@GoogleCodeExporter
Copy link
Author

I have the same issue as well.

I've downloaded the Android-SDK and platform tools separably and running it 
outside Eclipse. Also tried the local version instead of downloading things via 
the jnlp.



[@faparch Downloads]$ javaws -codebase file:///home//Downloads 
androidscreencast.jnlp
java.io.FileNotFoundException: /home//.icedtea/deployment.properties (No such 
file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)
        at java.io.FileReader.<init>(FileReader.java:72)
        at net.sourceforge.jnlp.config.DeploymentConfiguration.parsePropertiesFile(DeploymentConfiguration.java:604)
        at net.sourceforge.jnlp.config.DeploymentConfiguration.findSystemConfigFile(DeploymentConfiguration.java:424)
        at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:236)
        at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:205)
        at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:194)
        at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:186)
        at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:53)
        at java.security.AccessController.doPrivileged(Native Method)
        at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:177)
Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
Old client closed
java.lang.RuntimeException: java.lang.RuntimeException: 
java.lang.RuntimeException: java.lang.RuntimeException: SyncService is null, 
ADB crashed ?
        at net.srcz.android.screencast.api.injector.Injector$1.run(Injector.java:28)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: 
java.lang.RuntimeException: SyncService is null, ADB crashed ?
        at net.srcz.android.screencast.api.injector.Injector.uploadAgent(Injector.java:52)
        at net.srcz.android.screencast.api.injector.Injector.init(Injector.java:162)
        at net.srcz.android.screencast.api.injector.Injector.access$0(Injector.java:155)
        at net.srcz.android.screencast.api.injector.Injector$1.run(Injector.java:26)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: SyncService 
is null, ADB crashed ?
        at net.srcz.android.screencast.api.AndroidDevice.pushFile(AndroidDevice.java:51)
        at net.srcz.android.screencast.api.injector.Injector.uploadAgent(Injector.java:49)
        ... 3 more
Caused by: java.lang.RuntimeException: SyncService is null, ADB crashed ?
        at net.srcz.android.screencast.api.AndroidDevice.pushFile(AndroidDevice.java:43)
        ... 4 more

Original comment by Anton.Do...@gmail.com on 22 Aug 2013 at 9:11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant