Android - Java

Previous topic - Next topic

WPShadow

Hi!

Wenn ich versuche für Android zu compilieren, bekomme ich folgende Fehlermeldung:

Code (glbasic) Select

_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.9.829 SN:858e5eb7 - 3D, NET
Wordcount:3 commands
compile+link:
Android=D:\GLBASIC Sicherungen\06.09.2010\GLBasic\A1_app\distribute\Android
*** Error: Environment variable JAVA_HOME must be set to JDK path
Please install the Java Development Kit and set the variable.
Example: C:\Program Files (x86)\Java\jdk1.6.xx

erfolgreich
_______________________________________
*** Fertig ***
Dauer: 4.5 sek. Zeit: 15:01
Erstellen: 1 erfolgreich.


Grundlegend hab ich Java 1.7 SDK installiert, die mit Eqlipse einwandfrei läuft.

Alle Systemvariablen sind gesetzt. Muß ich da die 1.6 extra herunter laden?

LG

W.
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

daswichtel

Hi,

guckst du hier http://www.glbasic.com/forum/index.php?topic=7338.0
Ich musste den JAVA_HOME pfad manuell setzen.
(win7 64)


MfG
MK

WPShadow

ok, neues Glück, neue Fehlermeldung:

Code (glbasic) Select

_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.9.829 SN:858e5eb7 - 3D, NET
Wordcount:3 commands
compile+link:
Der Befehl "C:\Programme\GLBasic" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Android=D:\GLBASIC Sicherungen\06.09.2010\GLBasic\A1_app\distribute\Android
erfolgreich
_______________________________________
*** Fertig ***
Dauer: 4.1 sek. Zeit: 22:31
Erstellen: 1 erfolgreich.
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

trucidare

hast die " " vergessen
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

WPShadow

#4
Hi,

hab die "" gesetzt! Erfolglos!

Ich würde es gerne zum Laufen bringen,
wäre klasse eine eigene Anwendung zu
schreiben...

Code (glbasic) Select


_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.9.829 SN:858e5eb7 - 3D, NET
Wordcount:3 commands
compile+link:
Der Befehl "C:\Programme\GLBasic" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Android=D:\GLBASIC Sicherungen\06.09.2010\GLBasic\A1_app\distribute\Android
erfolgreich
_______________________________________
*** Fertig ***
Dauer: 5.0 sek. Zeit: 21:04
Erstellen: 1 erfolgreich.


EDIT:

Ich nutze

Win XP SP3
Java 1.7 SDK
GLBasic 10.244

Irgendwelche Ideen?
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Kitty Hello

nimm die "" von der JAVA_HOME raus.

Startest Du GLBasic von D: ? Versuche mal auf C zu bleiben.

Bei mir steht da:
Android=C:\Users\GF\Documents\GLBasic\_sup port\distribute\Android

Das ist also das Projekt. Versuche das mal auf C. Zum Test mal in C:\Temp\ohne_leerzeichen\

WPShadow

GLBasic starte ich von C:\Programme\GLBasic(beta)\Editor.exe

Habe jetzt alles auf das C: - Laufwerk verschoben! Leider bekomme ich hier folgendes:

Code (glbasic) Select


_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.9.829 SN:858e5eb7 - 3D, NET
Wordcount:3 commands
compile+link:
Der Befehl "C:\Programme\GLBasic" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Android=C:\TMP\andtmp\distribute\Android
erfolgreich
_______________________________________
*** Fertig ***
Dauer: 4.5 sek. Zeit: 18:00
Erstellen: 1 erfolgreich.
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Kitty Hello

was steht in deiner PATH Variable (Cmd.exe -> SET PATH)

Wirlich seltsam. Hast mal probiert:
uninstall
GLBasic ganz löschen
reinstall

WPShadow

#8
Neuinstallation durchgeführt!

Jetzt funktioniert das Updaten zwar nicht, aber das Compilieren zeigt ein neues Fehlerbild!  :D

Code (glbasic) Select


_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.104 SN:858e5eb7 - 3D, NET
Wordcount:3 commands
compile+link:
running Android build-script...
BUILD STAGE 1: Compile and pack RELEASE
.
BUILD STAGE 2: Build DEBUG and install on device

BUILD FAILED
C:\Programme\GLBasic\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:1100: The following error occurred while executing this line:
C:\Programme\GLBasic\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:1114: exec returned: 1

Total time: 19 seconds
finished Android build-script.
Android=C:\TMP\andtmp\distribute\Android
erfolgreich
_______________________________________
*** Fertig ***
Dauer: 74.4 sek. Zeit: 18:49
Erstellen: 1 erfolgreich.


EDIT:
Beim updaten bekomme ich bloß die Meldung: "Failed to install: Editor.exe"
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Kitty Hello

neustart - evtl. hängt editor.exe noch im Hintergrund

Fehler ist: Dein Gerät ist nicht angeschlossen ,oder Debugging nicht aktiviert - er kann die App nicht installieren.

Schranz0r

Was ist eigentlich die Mindestversion von Android damit ich Apps zum laufen bekomme?
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Kitty Hello


Markus

Ich fummeln auch grad mit Android rum  :noggin:

@WPShadow
haste das Android SDK auch schon installiert?
Dort ist ein SDK Manager drin und der Geräte Emulator AVD :-)

WPShadow

Nö, noch nicht!

Ich hab mir die Sachen immer gleich direkt auf's Handy gespielt und getestet!

Mit der 2.3.3 laufen die Sachen nämlich einwandfrei...
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Markus

#14
Ich hab Android nur auf dem Netbook und das zusammen Spiel will noch nicht so
zumal meine erste Anwendung die ich auf 2.3.3 im Emu hatte sich dort nicht auf 2.3.1 installieren läßt.
Da muß ich noch weiter Experimente machen.
Vieleicht gehts ja wenn ich 2.2 benutze.

Beim Emulator ist schön das man auch neue Android Versionen testen kann
und Funktionalitäten Ein/Aus schalten kann oder z.B. andere Auflösung einstellen.