Search found 12 matches

by mgperry
Wed Mar 29, 2017 3:18 pm
Forum: Coding Questions
Topic: Android - Can't create the app: Usage: java
Replies: 16
Views: 11386

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

tj1010 wrote:No it's an SB issue I can reproduce the problem as described.
Oh! I totally misunderstood, thanks for double-confirming :D
by mgperry
Wed Mar 29, 2017 8:09 am
Forum: Coding Questions
Topic: Android - Can't create the app: Usage: java
Replies: 16
Views: 11386

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

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 ...
by mgperry
Tue Mar 28, 2017 3:31 am
Forum: Coding Questions
Topic: Android - Can't create the app: Usage: java
Replies: 16
Views: 11386

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

Can someone try to recreate my problem using Create App with Output filename set to D:\myapp.apk (example to a flashdrive) ?
by mgperry
Mon Mar 27, 2017 6:07 pm
Forum: Coding Questions
Topic: Android - Can't create the app: Usage: java
Replies: 16
Views: 11386

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

I just checked here https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.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
by mgperry
Mon Mar 27, 2017 5:53 pm
Forum: Coding Questions
Topic: Android - Can't create the app: Usage: java
Replies: 16
Views: 11386

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


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 ...
by mgperry
Mon Mar 27, 2017 5:42 pm
Forum: Coding Questions
Topic: Android - Can't create the app: Usage: java
Replies: 16
Views: 11386

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


Yes. I used C:\Users\Home\Documents\Programming\SpiderBasic\assembloids_go

It finishes with :
[18:32:36] Export successful (C:\Users\Home\Documents\Programming\SpiderBasic\assembloids_go).
[18:33:49] Export successful (C:\Users\Home\Documents\Programming\SpiderBasic\assembloids_go.apk).

OK I ...
by mgperry
Mon Mar 27, 2017 5:30 pm
Forum: Coding Questions
Topic: Android - Can't create the app: Usage: java
Replies: 16
Views: 11386

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

MrTAToad wrote:Yes, and I didn't get any problems - or did I have to make anything relative.
Are you saying that you tried a fullpath in Output filename (e.g. C:\mydir\myapp.apk) ?
by mgperry
Mon Mar 27, 2017 3:33 pm
Forum: Coding Questions
Topic: Android - Can't create the app: Usage: java
Replies: 16
Views: 11386

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

On the Create App panel in field "Output filename" - try typing in a path (e.g. c:\myapp.apk) rather than just a filename - its accepted but you then get the Java Usage error....

If however the path is relative (using ..\..\) it works, so the colon ":' is not being handled correctly. Most likely ...
by mgperry
Mon Mar 27, 2017 3:24 pm
Forum: Coding Questions
Topic: Android - Can't create the app: Usage: java
Replies: 16
Views: 11386

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

Why does it sound like its linked to the bin directory.

You did read that I CAN create an app?
by mgperry
Mon Mar 27, 2017 2:20 pm
Forum: Coding Questions
Topic: Android - Can't create the app: Usage: java
Replies: 16
Views: 11386

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

Yes, I supplied the 32 bit Java JDK directory in the File-->Preferences-->Compiler--->JDK1.8+ path

But please read my original post in full, I did succeed in making an app, its the path(s) that I have issues with.