Author Topic: Yet more PEBCAK related android installation problems!  (Read 3401 times)

Offline UBERmonkeybot

  • Mr. Polyvector
  • ***
  • Posts: 243
    • View Profile
I have messed up my install of GLB

here's what i did.

I couldn't get the SDK manager to launch so started fiddling with paths etc and broke android compilation.

I have deinstalled everything cleaned reg ,ran cc cleaner.

reinstalled  JAVA and GLB and re associated paths(i am sure they are right)

when i  attempt to compile for android

i get a log


*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.037 SN:f6c7483b - 3D, NET
Wordcount:3 commands
compile+link:
*** FATAL ERROR - Please post this output in the forum
_______________________________________
*** Finished ***
Elapsed: 5.6 sec. Time: 14:56
Build: 0 succeeded.
*** 1 FAILED ***


and that's it,no hints at all.
what do you reckon SF?


Offline UBERmonkeybot

  • Mr. Polyvector
  • ***
  • Posts: 243
    • View Profile
Turns out i needed to encompass the path in quotes.

GLB is working but still cant start the  bloody SDK Manager.(looks for emoticon with gun in mouth)

I get this when running android.bat

« Last Edit: 2016-Apr-15 by monkeybot1968 »

Offline UBERmonkeybot

  • Mr. Polyvector
  • ***
  • Posts: 243
    • View Profile
Next day.Compile for android.

same errorless errorlog as yesterday!

as far as i know i havn't changed anything.
 :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :rant:

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4025
    • View Profile
    • Space Fractal
something might been wrong in manifest.xml. tried delete the distrubute folder?
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline UBERmonkeybot

  • Mr. Polyvector
  • ***
  • Posts: 243
    • View Profile
Yeah i have tried that.
I have tried to compile some HTML5 webGL and it's complaining that JAVA_HOME isn't  set and it can't locate Java,but it definitely pointing at the SDK.

It takes me to the SDK folder when i use %JAVA_HOME%

BUT it does still produce the code.

Offline UBERmonkeybot

  • Mr. Polyvector
  • ***
  • Posts: 243
    • View Profile
Hmmm a reboot seems to have sorted that HTML5 error,weird

still cant compile android tho...

After deleting the distribute folder i notice android isn't creating it but HTML is
« Last Edit: 2016-Apr-16 by monkeybot1968 »

Offline UBERmonkeybot

  • Mr. Polyvector
  • ***
  • Posts: 243
    • View Profile
I just randomly tried compiling android and... it worked!

I have no idea why,can't see any different path etc anywhere.


Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4450
    • View Profile
    • FUED
Yep, android compilation is, sometimes, hard to keep track.
Glad it is back working for you, I will have to reinstall it here soon and should run through similar problems.

Offline UBERmonkeybot

  • Mr. Polyvector
  • ***
  • Posts: 243
    • View Profile
I get this when i run android.bat


Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widge
ts/Display
        at com.android.sdkmanager.Main.showSdkManagerWindow(Main.java:403)
        at com.android.sdkmanager.Main.doAction(Main.java:391)
        at com.android.sdkmanager.Main.run(Main.java:151)
        at com.android.sdkmanager.Main.main(Main.java:117)
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Display
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 4 more