Android - Can't create the app: Usage: java

Just starting out? Need help? Post your questions and find answers here.
mgperry
Posts: 12
Joined: Fri May 13, 2016 5:38 am

Re: Android - Can't create the app: Usage: java

Post by mgperry »

mgperry wrote: OK I tried with a Users subdirectory and I agree it works, but I tried with D:\myapp.apk and I get the Java usage error.....?
(I used Explorer to copy a file to D:\ without any problems)
Maybe I keep switching between Linux, OSX and Windows too much ?

I just tried D:myapp.apk and it works a charm :-)

Can someone confirm is D:\filename invalid?
mgperry
Posts: 12
Joined: Fri May 13, 2016 5:38 am

Re: Android - Can't create the app: Usage: java

Post by mgperry »

I just checked here https://msdn.microsoft.com/en-us/librar ... s.85).aspx

C:\ and D:\ refer to Volumes, so d:\myapp.apk should be valid.....

and NOTE ""C:tmp.txt" refers to a file named "tmp.txt" in the current directory on drive C."

So it has to be D:\myapp.apk
mgperry
Posts: 12
Joined: Fri May 13, 2016 5:38 am

Re: Android - Can't create the app: Usage: java

Post by mgperry »

Can someone try to recreate my problem using Create App with Output filename set to D:\myapp.apk (example to a flashdrive) ?
tj1010
Posts: 218
Joined: Wed May 27, 2015 1:36 pm
Contact:

Re: Android - Can't create the app: Usage: java

Post by tj1010 »

Confirmed. Does it on active volume(C:) here Windows 10 x64 SB 2.0. Ran as Admin to make sure it wasn't some ACL issue.

C:\app.apk

and

..\..\..\app.apk
mgperry
Posts: 12
Joined: Fri May 13, 2016 5:38 am

Re: Android - Can't create the app: Usage: java

Post by mgperry »

tj1010 wrote:Confirmed. Does it on active volume(C:) here Windows 10 x64 SB 2.0. Ran as Admin to make sure it wasn't some ACL issue.

C:\app.apk

and

..\..\..\app.apk
Sincere thanks for your support :D (and others), but I had thought of Security and checked ACLs and Admin etc. It made no difference for me :cry:

But at least you confirm its not an SB issue, it must be something in my environment, and I can workaround by manually moving my Apps for now, so lets consider this a User Problem at this point.

:!: It does raise another SB issue, and that is gaining SB specific diagnostic information is difficult, an SB diag option that lists the Java and other external calls may be very useful.
tj1010
Posts: 218
Joined: Wed May 27, 2015 1:36 pm
Contact:

Re: Android - Can't create the app: Usage: java

Post by tj1010 »

No it's an SB issue I can reproduce the problem as described.
mgperry
Posts: 12
Joined: Fri May 13, 2016 5:38 am

Re: Android - Can't create the app: Usage: java

Post by mgperry »

tj1010 wrote:No it's an SB issue I can reproduce the problem as described.
Oh! I totally misunderstood, thanks for double-confirming :D
Post Reply