im have allready answered that one. Its due a bug in glbasic, which have not defined android variable. So you must doing that manual. So doing that, Just comment ?IFDEF ANDROID out from the AndroidExtras.gbas and its will compile.

If you wont want to uncomment and comment that line every time you change platform, you can do something like this start in your project:

I'm not using the parenthesis in the folder name now and I still get the same error. I was using AE and all was working well. However for the 2.2 and 2.3 updates I used the exe installs and since doing that I'm getting these issues regarding the release build??

running glb_build.batUsing ANDROID_TARGET="android-18"You can use "D:\GLBasic Marcus\FishyFingers\distribute\Android\glb_android_build.bat" to change the API level and SDK path.%ANDROIDSDK% not set. Using GLBasic's default target-18, Android 4.3Checking Icons....BUILD STAGE 2: Start compiler (android.bat)Q:\Compiler\platform\android\bin\..\android-sdk-windowsThe system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.The system cannot find the path specified.Updated project.propertiesUpdated local.propertiesAdded file D:\GLBasic Marcus\FishyFingers\distribute\Android\build.xml.BUILD STAGE 3: Build a debug build[subant] No sub-builds to iterate on[javac] Note: D:\GLBasic Marcus\FishyFingers\distribute\Android\src\com\glbasic\test\SDLActivity.java uses or overrides a deprecated API.[javac] Note: Recompile with -Xlint:deprecation for details.

BUILD FAILEDQ:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:892: The following error occurred while executing this line:Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:894: The following error occurred while executing this line:Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:906: The following error occurred while executing this line:Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:284: null returned:1

Something wrong might have been happens. Howover if you only used the minor update, then its can been wrong, because some missing directories etc.

You should try download the full update with anything, which is around 125mb (the other is much smaller) in size and try again, to make sure all files exists in the Android folder (the Android SDK is property missing). That one include the sdk. Im recently again upgraded to api-18 recentely, which require a full upgrade, not update. Before im did used api-16.

« Last Edit: 2014-Jul-10 by spacefractal »

Logged

Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

The debug build seens to been ok (dont worry about the many missing path lines), but not the release build woes.

Im guess its a ProGuard issue, which im have fighted with and still not got working, and hence its files should been removed. Property im should checkout it in the icons.exe file, so its make sure anything work. im look on that in the next version.

By in the way, im havent got Proguard working correctly at all, and dedicated not to uses that in the corrent builds, but files is not deleted correctly by now.

So try to remove those files and compile again from Compiler\platform\android\templateproj, distribute and in Android\bin (if they exists):proguard-project.txtproguard.cfgproject.properties

and see that works.

« Last Edit: 2014-Jul-11 by spacefractal »

Logged

Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Just ouf of curiosity. How can I remove the crappy icon border that GLB puts on our icons. I know this isn't strictly an AE issue but as I'm using AE I wanted to post here in case anything was affected.

its seen im needs to go much aggresive to work to fix this very very annoying issue.

The reason is glbasic just overwrite icons in the res directories, even the icons allready exists, which is very pity annoying. That happens if no android icons is create (ouya_icon.png, androidicon96.png etc). Im whish Gernot could fix that issue to NOT overwrite any files at all (both in the res dir or the icons used in the source folder). THIS IS A VERY MAJOR BUG.

Until the above issue is fixed, im needs to go much more aggresive to work and delete glbasic own icon files every time and copy the icons files to the res folders to make sure its uses the icons without the border. This is what im does does with AndroidIcons.exe. Im can do nothing other than that, due this annoying glbasic bug.