Author Topic: disable build stage 2 for Android  (Read 2476 times)

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3513
    • View Profile
    • Space Fractal
disable build stage 2 for Android
« on: 2013-Feb-12 »
I hate this stage build really much (its fail too much), so I really ask this feature possible to been disabled.

The reason is, this build begin to more more unstable for my devices, and I need to unplug and plug the usb too much, while installing from sdcard works pretty nice (using Astro file manager).

That why I want to ask the possible to disable this build, and then instead manully copy the apk file to sdcard (or doing that automatic to a contain drive&folder if exist).

PS. This is NOT a bug or anything that can been fixed, so that why its on the feature request.
« Last Edit: 2013-Feb-12 by spacefractal »
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10667
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
disable build stage 2 for Android
« Reply #1 on: 2013-Feb-12 »
Use ADB over Wifi for debugging.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10667
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
disable build stage 2 for Android
« Reply #2 on: 2013-Feb-12 »
You can edit compiler/platform/android/bin/glb_build.bat

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3513
    • View Profile
    • Space Fractal
Re: disable build stage 2 for Android
« Reply #3 on: 2013-Feb-12 »
migtbeen this should rather move to the general glbasic forum? thanks to let me know about glb_build. howover its seen adb wiifi require rooting....
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2558
    • View Profile
Re: disable build stage 2 for Android
« Reply #4 on: 2013-Feb-12 »
I had a similar problem, it may or may not be related to your problem though, with my Nexus 7 not liking the SDK files that ships with GLB. Here is the relevant post with fix...

http://www.glbasic.com/forum/index.php?topic=8544.msg73381#msg73381
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3513
    • View Profile
    • Space Fractal
Re: disable build stage 2 for Android
« Reply #5 on: 2013-Feb-13 »
Build stage 1 works nice, which is that stage it's compile. Stage 2 trying to install it.
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2558
    • View Profile
Re: disable build stage 2 for Android
« Reply #6 on: 2013-Feb-13 »
Sorry to hear that, transferring the APK onto the Android device is also where it failed on mine too. I think the GLB Android SDK files have some problems with JB.

You probably have already done this but updating the Google USB driver may help too.

I think it would be better if GLB allowed you the option of pointing to the users own Android SDK folder. Copying files into the GLB compile chain folders never feels safe TBH.
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)