Comments (32)
I had this error when I ran wtih 'java androidscreencast.jnlp' where it doesnt
give
it with 'javaws androidscreencast.jnlp'
Original comment by [email protected]
on 12 Sep 2009 at 10:59
from androidscreencast.
I had nearly the same error... :-/ What can I do?
----------------------
java.lang.RuntimeException: code = 2 message= Permission denied
at net.srcz.android.screencast.injector.Injector.uploadAgent(Injector.java:84)
at net.srcz.android.screencast.injector.Injector.<init>(Injector.java:31)
at net.srcz.android.screencast.Main.initialize(Main.java:92)
at net.srcz.android.screencast.Main.<init>(Main.java:73)
at net.srcz.android.screencast.Main.main(Main.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1359)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1297)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1096)
at com.sun.javaws.Launcher.run(Launcher.java:116)
at java.lang.Thread.run(Thread.java:613)
Original comment by [email protected]
on 16 Sep 2009 at 8:50
from androidscreencast.
got the same permission denied (as per above comments) on my htc hero. Tried
"java
androidscreencast.jnlp" and it doesn't even run (complains about main class).
Using
Java 6.
Original comment by [email protected]
on 22 Sep 2009 at 9:29
from androidscreencast.
Please read my comment #1
Original comment by [email protected]
on 22 Sep 2009 at 11:23
from androidscreencast.
Hello nperry. Sorry, I forgot to also mention that I did try "javaws
androidscreencast.jnlp" and that gave me the same permission denied on
uploadAgent(Injector.java:84).
Additional info, turned off firewall and using window xp sp3. Downloaded both
jar's
and jnlp. tried running jnlp from the link on the home page (step 4) as well as
running it from my pc.
ADB is running fine and can see the device.
Original comment by [email protected]
on 22 Sep 2009 at 2:10
from androidscreencast.
Hi.
I have the same problem as darrentweedale. I done the exact same things, but
haven't
been able to get it to work.
My Error code:
java.lang.RuntimeException: code = 2 message= Permission denied
at net.srcz.android.screencast.injector.Injector.uploadAgent(Injector.java:84)
at net.srcz.android.screencast.injector.Injector.<init>(Injector.java:31)
at net.srcz.android.screencast.Main.initialize(Main.java:92)
at net.srcz.android.screencast.Main.<init>(Main.java:73)
at net.srcz.android.screencast.Main.main(Main.java:114)
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)
Original comment by kochhansen
on 22 Sep 2009 at 2:19
from androidscreencast.
I'm using the HTC Magic. (device found by adb)
Original comment by kochhansen
on 22 Sep 2009 at 2:21
from androidscreencast.
Need to do some narrowing down, to see what's happening.
If you are having these issues please answer the following
What OS are you running?
What version of java have you got installed?
What phone?
What SDK you running?
Original comment by [email protected]
on 22 Sep 2009 at 2:45
from androidscreencast.
Windows Vista
Java 6 version 16
HTC Magic
Sdk 1.6
Original comment by [email protected]
on 22 Sep 2009 at 2:56
from androidscreencast.
In my case it's
1.) Mac OS X 10.5
2.) java version "1.5.0_20"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_20-b02-315)
Java HotSpot(TM) Client VM (build 1.5.0_20-141, mixed mode, sharing)
3.) Google G1, Firmware 1.5
4.) android-sdk-mac_x86-1.5_r3
Original comment by [email protected]
on 22 Sep 2009 at 3:03
from androidscreencast.
1) Windows Vista Home Premium - service pack 1
2) Java 6 version 16
3) HTC Magic - firmware 1,5 Build 2.16.401.5
4) android-sdk-windows-1.6_r1.zip
Original comment by kochhansen
on 22 Sep 2009 at 3:49
from androidscreencast.
For me, its
1. Windows XP (sp3, 32bit)
2. Sun Java SE Runtime 1.6.0_11-b03
3. HTC Hero (NOT rooted, firmware 1.5, build 2.73.405.5)
4. sdk 1.5 r1
Original comment by [email protected]
on 22 Sep 2009 at 3:57
from androidscreencast.
1. Windows 7
2. Java 6 version 16
3. Rooted 2.73. Hero with Busybox
4. SDK 1.5 R3
Original comment by ChristianHolmChristiansen
on 23 Sep 2009 at 6:31
from androidscreencast.
Issue 4 has been merged into this issue.
Original comment by [email protected]
on 23 Sep 2009 at 12:06
from androidscreencast.
I suspect you need a rooted phone. Does anyone know if stock firmware as write
acces
to /data/ from adb ?
Can you try "adb push somefile.txt /data/" ?
I need a temporary file location, is /sdcard/ maybe better ?
Original comment by [email protected]
on 23 Sep 2009 at 12:10
- Added labels: Priority-High
- Removed labels: Priority-Medium
from androidscreencast.
Tried "adb push text.txt /data" (and /data/) but got permission denied.
however, with /sdcard/ it appears to work ok.
I noticed that the injector.java is trying to upload MyInjectEventapp.jar -
(wasn't
sure if that should be apk file because the structure looks like apk format),
but
anyway, can we not install that apk/jar ourselves onto the phone without the
code
uploading anything to the phone?
Original comment by [email protected]
on 23 Sep 2009 at 1:19
from androidscreencast.
Thank you for your quick answer, i'll make appropriate changes. i'll try to
upload it
in multiple location if i can't find an read/write universal temporary location.
1) Why should we do this manually since adb allow us to upload it automatically
? I
think that most users would like a most simple way.
2) It's more likely the jar will change nearly at each versions of the desktop
part.
So it need to be up to date.
I'll add a dialog box with a list of connection methods (only usb for now, maybe
remotely through network in the future...), a devices list and a box (checked by
default) to enable agent auto-installation. I've opened [issue:8]
Original comment by [email protected]
on 23 Sep 2009 at 1:48
from androidscreencast.
Thanks thiel.alexandre. Look forward to seeing this working on my htc hero as I
have
missed it for something similar for the WinMo device that I previously had.
As for "adb allowing to upload automatically" - yes, you are right, it would be
a
simpler way to do it automatically and for each time its updated, rather then
installing it manually and getting all mixed up with different versions. good
thinking.
As for a list of connection methods - usb is probably what I most likely be
using,
but having a possible option to connect via wifi would be good (a bit like
desktopSMS
allowing either connection options to connect)
Look forward to any updates. Feel free to include me into any beta testing!
Original comment by [email protected]
on 23 Sep 2009 at 3:08
from androidscreencast.
Issue 9 has been merged into this issue.
Original comment by [email protected]
on 27 Sep 2009 at 2:57
from androidscreencast.
Hi, I get this permission denied error - I'm running Windows XP SP3, Rooted
T-Mobile
G2/Hero with a stock ROM. I cannot push any files in to the /data/ folder, but
I do
have superuser access.
Original comment by [email protected]
on 28 Sep 2009 at 2:40
from androidscreencast.
Can you try :
adb push some_text.txt /data/local/tmp/
and
adb push some_text.txt /cache/
???
I'm looking for a good temporary location with write acces on all devices.
Original comment by [email protected]
on 28 Sep 2009 at 2:57
from androidscreencast.
adb push test.txt /data/local/tmp/
file transferred ok.
adb push test.txt /cache/
permission denied
Original comment by [email protected]
on 28 Sep 2009 at 3:49
from androidscreencast.
Original comment by [email protected]
on 28 Sep 2009 at 4:25
- Changed state: Started
from androidscreencast.
I got the same as Darren - pushed okay to /data/local/tmp/ but not to /cache/
Original comment by [email protected]
on 29 Sep 2009 at 8:06
from androidscreencast.
Ok thank you guys, i'm gonna use /data/local/tmp
Stay tuned, new release soon !
Original comment by [email protected]
on 29 Sep 2009 at 8:58
from androidscreencast.
Hi,
I also have the same issue pushed okay to /data/local/tmp/ but not to /cache/.
Please let me know the update happens. Very eager to see this app working.
Thanks
Original comment by [email protected]
on 6 Oct 2009 at 12:22
from androidscreencast.
Same issue here with permission denied. Running stock software from Rogers on
HTC
Magic. Not rooted, firmware version 1.5, Build number 2.17.631.2).
Original comment by [email protected]
on 8 Oct 2009 at 1:00
from androidscreencast.
This is an issue with all the phones used. The /data directory is a privileged
directory that normal users and programs are not supposed to use. Either add a
drop
down box that allows the users to select the upload location (including adding
their
own preference) or use the /sdcard like all other android applications. The
change
required for this is very minor as the variable is in a single line of code. Is
there
any other reason why this directory is being used other than it is located on
the device?
Original comment by [email protected]
on 15 Oct 2009 at 3:13
from androidscreencast.
The location issue has been fixed in the repository but i'm not closing this bug
because i suspect this will only partially solve the problem. Please wait for
next
release (currently blocked because of adb instability issues) !
Original comment by [email protected]
on 15 Oct 2009 at 4:39
from androidscreencast.
Version 0.2 available ! Fixed !
Original comment by [email protected]
on 15 Oct 2009 at 9:47
- Changed state: Fixed
from androidscreencast.
Original comment by [email protected]
on 15 Oct 2009 at 9:48
- Added labels: Milestone-Release0.2
from androidscreencast.
Hi,
I've tried this today, but still get the same error 2 - permission denied. Not
sure
if it is relevant, but since upgrading to ROM version 2.73 - I've no longer
been able
to get Root access. DesktopSMS however still works fine - not sure how they do
things
differently to you, but thought it might help somehow.
Original comment by [email protected]
on 16 Oct 2009 at 12:49
from androidscreencast.
Related Issues (20)
- Patch for /AndroidScreencast/androidscreencast.jnlp
- Keyboard-Mouse not working
- how do you run the abd commands in windows 8
- Cannot control jelly bean 4.1.1 via screencast
- unable to launche the application HOT 2
- Right click but no keyboard/mouse
- Screen displays, but unable to control device HOT 1
- md.exe
- Screen Cast wont work/run/record on my samsung device
- d
- Unable to launch HOT 1
- Unable to launch application - Read previous threads...not helpful HOT 5
- Unexpected Exception: java.lang.NullPointerException
- Screencast - no keyboard, no mouse [Huawei Ascend M860]
- No Mouse, No Keyboard using LG Optimus V
- Use screencast will cause android device become very lag, even ANR appear when launch APs
- screencast demo record fail
- Java Runtime Exception
- screencast not finding root
- Mouse jumping out of control on a tablet
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidscreencast.