Page 1 of 1

Can't create the app: Packaging

Posted: Wed Nov 02, 2016 1:41 pm
by kwai chang caine
Hello at all

I can't create an APK :|
Debugger wrote:Can't create the app: Packaging C:\Users\Kcc\AppData\Local\Temp\SpiderBasic19628217
Perhaps it's because i use a JDK portable ??

Is there a PATH to declare for the JDK or SB, on the environnement variables of window ?

Thanks and good day

Re: Can't create the app: Packaging

Posted: Wed Nov 02, 2016 2:49 pm
by falsam
kwai chang caine wrote:s there a PATH to declare for the JDK or SB, on the environnement variables of window ?
Install JDK 1.8
Link https://jdk8.java.net/download.html (Colonne JDK)

Setup IDE
IDE : Menu file ➽ Preference ➽ Compiler

Image

And next ? Setup your apk

Write and save your first code.

-Add icone :
IDE : Menu Compiler ➽ Compiler options ... ➽ Use icone
* Default Spider Icone.

-Setup APK :
IDE : Menu Compiler ➽ Create App

Image

Re: Can't create the app: Packaging

Posted: Wed Nov 02, 2016 3:00 pm
by kwai chang caine
Thanks FALSAM for your answer 8-)
The problem, i'm not admin of this machine
So i not acces to the programfile folder :|

It's the reason why, i ask if it's possible to run SB and JDK on a USB key like PB (If one of the numerous reason i have buy it) ;)
Because i have found several site who talk to a JDK portable
But surely, it's perhaps necessary to enter some PATH in environnement windows PATH

Or may be, it's not possible to run SB on a USB KEY :cry:

Re: Can't create the app: Packaging

Posted: Wed Nov 02, 2016 4:41 pm
by falsam
Or may be, it's not possible to run SB on a USB KEY
I realized this test for you ^^

YES you can.

First.
I have installed Java JDK in a folder that I called Java SDK
Link : https://jdk8.java.net/download.html

I installed SpiderBasic in the folder..... SpiderBasic

I created a folder SpiderBasic Project

And finally, a shortcut to launch Spider Basic at the root of the key.

Image

Go to a new computer (who does not know SpiderBasic)

- A small code with a window and a button

- IDE : Menu Compiler ➽ Create App

Image

And .... yeah i have my apk.

So, run SB on a USB KEY is possible.

Re: Can't create the app: Packaging

Posted: Wed Nov 02, 2016 4:51 pm
by kwai chang caine
You are an angel

Thanks to you, i know it's again me the problem. ..not SB :-)

I try another time with your precious explanations and give you the news

Have a very good day

Re: Can't create the app: Packaging

Posted: Wed Nov 02, 2016 4:55 pm
by falsam
you'r welcome dear virtual friend ^^

Re: Can't create the app: Packaging

Posted: Thu Nov 03, 2016 4:42 pm
by kwai chang caine
Decidedly, i not have chance with SB :(
I have all do like you, and i have exactely the same error on another machine with XP this time :shock:

Perhaps a log exist in JDK or Crosswalk, because with only that like information, i not go far ...

Re: Can't create the app: Packaging

Posted: Thu Nov 03, 2016 5:03 pm
by kwai chang caine
I take a look on the temp folder
Apparently it's not a default acces to the temp folder
Because during the compilation all this folder is created :

SpiderBasic31351676
crosswalk-app-tools-com.falsam.firstapplication
hsperfdata_f52207
temp-android-tool
KO86lr


And after several seconds, i have a MsgBox :
Debugger wrote:Can't create the app: Packaging C:\Users\f52207\AppData\Local\Temp\SpiderBasic31351676
Acces Valeur Impossible

Re: Can't create the app: Packaging

Posted: Fri Nov 04, 2016 8:38 pm
by kwai chang caine
This time, i have installed JAVA in another machine under W7, where i'm admin, so in the ProgramFile(x86) folder
I have put SB on the root of the C son in the most simple place
I have the panel of compilation until 20%
And this time, i have another error message
Can't create the app: Syntaxe : java [-options] class [args...].
:cry:

Re: Can't create the app: Packaging

Posted: Sun Nov 20, 2016 1:43 pm
by Leonhardt
mark