Can't create the app: Packaging

Just starting out? Need help? Post your questions and find answers here.
User avatar
kwai chang caine
Posts: 19
Joined: Tue Feb 25, 2014 8:10 am

Can't create the app: Packaging

Post 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
falsam
Posts: 286
Joined: Mon May 05, 2014 9:49 pm
Location: France
Contact:

Re: Can't create the app: Packaging

Post 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

➽ Windows 11 - jdk-11.0.2 - SB 3.00 - Android 15
https://falsam.com

Sorry for my poor english
User avatar
kwai chang caine
Posts: 19
Joined: Tue Feb 25, 2014 8:10 am

Re: Can't create the app: Packaging

Post 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:
falsam
Posts: 286
Joined: Mon May 05, 2014 9:49 pm
Location: France
Contact:

Re: Can't create the app: Packaging

Post 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.

➽ Windows 11 - jdk-11.0.2 - SB 3.00 - Android 15
https://falsam.com

Sorry for my poor english
User avatar
kwai chang caine
Posts: 19
Joined: Tue Feb 25, 2014 8:10 am

Re: Can't create the app: Packaging

Post 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
falsam
Posts: 286
Joined: Mon May 05, 2014 9:49 pm
Location: France
Contact:

Re: Can't create the app: Packaging

Post by falsam »

you'r welcome dear virtual friend ^^

➽ Windows 11 - jdk-11.0.2 - SB 3.00 - Android 15
https://falsam.com

Sorry for my poor english
User avatar
kwai chang caine
Posts: 19
Joined: Tue Feb 25, 2014 8:10 am

Re: Can't create the app: Packaging

Post 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 ...
User avatar
kwai chang caine
Posts: 19
Joined: Tue Feb 25, 2014 8:10 am

Re: Can't create the app: Packaging

Post 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
User avatar
kwai chang caine
Posts: 19
Joined: Tue Feb 25, 2014 8:10 am

Re: Can't create the app: Packaging

Post 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:
Leonhardt
Posts: 20
Joined: Wed Feb 26, 2014 9:41 am

Re: Can't create the app: Packaging

Post by Leonhardt »

mark
Post Reply