DRnwl / android-projector

Automatically exported from code.google.com/p/android-projector
0 stars 0 forks source link

Doesnt work with new SDK #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The newest version of the SDK with a PATH of platform-tools\ does not work.

It presents an error accessing archquery.jar

Original issue reported on code.google.com by goran.za...@gmail.com on 22 Mar 2011 at 12:46

GoogleCodeExporter commented 9 years ago
I ended up copying the archquery.jar file from the "tools" directory into the 
"platform-tools" directory, and that cleared this error up for me.  I'm still 
getting a java.lang.NoClassDefFoundError though.  

Original comment by jmo...@t-sciences.com on 18 Apr 2011 at 1:53

GoogleCodeExporter commented 9 years ago
The bat file looks buggy.  I'm no bat wizard so can't say how it should be, but 
for testing purposes the following hard-coded lines get it working:

set BASEDIR=%~dp0
set TOOLDIR=C:\Program Files\Android\android-sdk\tools\
set LIBDIR=%TOOLDIR%lib
set SWTDIR=%LIBDIR%\x86

adb.exe start-server

call java -Djava.ext.dirs="%LIBDIR%;%SWTDIR%" -jar %BASEDIR%AndroidProjector.jar

Original comment by SuperPel...@googlemail.com on 9 May 2011 at 2:59

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I am using android sdk 11 and I faced the same problems initially. move the 
archquery.jar, swt.jar (move the tools/lib/x86 and tools/lib/x86_64 directories 
to platform-tools/lib) and ddmlib from tools/ to platform-tools/. That solved 
all my problems.

Original comment by Anupama....@gmail.com on 10 Aug 2011 at 6:27

GoogleCodeExporter commented 9 years ago
This is fixed in the new 0.91 version. Thanks!

Original comment by chinyue on 25 Aug 2011 at 7:04