This might be more of a configuration issue but I can't compile for android.
It fails just before stage 4.
I have installed the Android Target.
![Undecided :|](http://www.glbasic.com/forum/Smileys/glbasic/neutral.png)
_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.037 SN:4bbcff56 - 2D, WIN32
Wordcount:40 commands
compile+link:
running glb_build.bat
Using ANDROID_TARGET="android-22"
You can use "C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\glb_android_build.bat" to change the API level and SDK path.
ECHO is off.
androidmanifest.xml:
Make sure to check do a manual check for those.
android:minSdkVersion="10" android:targetSdkVersion="22"
ECHO is off.
AndroidIcons.exe [v21-3-2015] running...
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_36_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable-ldpi/icon.png
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_48_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable-mdpi/icon.png
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_72_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable/icon.png
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_72_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable-hdpi/icon.png
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_96_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable-xhdpi/icon.png
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_180_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable-xxhdpi/icon.png
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_192_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable-xxxhdpi/icon.png
C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_ouya_AndroidExtras.png is missing (732x412 size)
the Ouya icon is not important, if you dont want to support the console
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_ouya_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable-xhdpi/ouya_icon.png
Checked AdActivity (intersititals):
Does not uses a AdActivity
Android Extras version (SDLActivity.java):
* 2.11.2
Checking Icons Finished...
BUILD STAGE 2: Start compiler (android.bat)
SDK=R:\Compiler\platform\android\bin\..\android-sdk-windows
Updated project.properties
Updated local.properties
Updated file C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\build.xml
Updated file C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\proguard-project.txt
Updated project.properties
Updated local.properties
Updated file C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\bin\build.xml
Updated file C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\bin\proguard-project.txt
.
BUILD STAGE 3: Build a debug build
Buildfile: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 24.2.0
[checkenv] Installed at R:\Compiler\platform\android\android-sdk-windows
-setup:
[echo] Project Name: glbasic
[gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
[getbuildtools] Using latest Build Tools: 21.1.2
[echo] Resolving Build Target for glbasic...
[gettarget] Project Target: Android 5.1.1
[gettarget] API level: 22
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\bin\rsObj
[mkdir] Created dir: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\bin\rsLibs
[echo] ----------
[echo] Resolving Dependencies for glbasic...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Found Deleted Target File
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.
-pre-compile:
-compile:
[javac] Compiling 12 source files to C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\bin\classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 warnings
-post-compile:
-obfuscate:
-dex:
[dex] input: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\bin\classes
[dex] input: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\libs\android-support-v4.jar
[dex] input: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\libs\gson-2.2.2.jar
[dex] input: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\libs\ouya-sdk.jar
[dex] input: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\libs\openiab-0.9.7.2.jar
[dex] Pre-Dexing C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\libs\android-support-v4.jar -> android-support-v4-afcb4d4dba3f9c2bacb9aaeb23ada72b.jar
BUILD FAILED
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:892: The following error occurred while executing this line:
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:894: The following error occurred while executing this line:
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:906: The following error occurred while executing this line:
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:283: null returned: 1
Total time: 2 seconds
.
BUILD STAGE 4: Build a release build
[subant] No sub-builds to iterate on
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 warnings
BUILD FAILED
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:892: The following error occurred while executing this line:
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:894: The following error occurred while executing this line:
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:906: The following error occurred while executing this line:
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:283: null returned: 1
Total time: 1 second
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
.
It fails just before stage 4.
I have installed the Android Target.
![Undecided :|](http://www.glbasic.com/forum/Smileys/glbasic/neutral.png)
_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.037 SN:4bbcff56 - 2D, WIN32
Wordcount:40 commands
compile+link:
running glb_build.bat
Using ANDROID_TARGET="android-22"
You can use "C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\glb_android_build.bat" to change the API level and SDK path.
ECHO is off.
androidmanifest.xml:
Make sure to check do a manual check for those.
android:minSdkVersion="10" android:targetSdkVersion="22"
ECHO is off.
AndroidIcons.exe [v21-3-2015] running...
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_36_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable-ldpi/icon.png
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_48_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable-mdpi/icon.png
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_72_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable/icon.png
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_72_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable-hdpi/icon.png
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_96_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable-xhdpi/icon.png
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_180_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable-xxhdpi/icon.png
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_192_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable-xxxhdpi/icon.png
C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_ouya_AndroidExtras.png is missing (732x412 size)
the Ouya icon is not important, if you dont want to support the console
copy C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/icon_ouya_AndroidExtras.png to C:/Users/PC/Desktop/glbasic/stuff/GLBasic/my stuff/GLBasic/prescaler 1/distribute/Android/res/drawable-xhdpi/ouya_icon.png
Checked AdActivity (intersititals):
Does not uses a AdActivity
Android Extras version (SDLActivity.java):
* 2.11.2
Checking Icons Finished...
BUILD STAGE 2: Start compiler (android.bat)
SDK=R:\Compiler\platform\android\bin\..\android-sdk-windows
Updated project.properties
Updated local.properties
Updated file C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\build.xml
Updated file C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\proguard-project.txt
Updated project.properties
Updated local.properties
Updated file C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\bin\build.xml
Updated file C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\bin\proguard-project.txt
.
BUILD STAGE 3: Build a debug build
Buildfile: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 24.2.0
[checkenv] Installed at R:\Compiler\platform\android\android-sdk-windows
-setup:
[echo] Project Name: glbasic
[gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
[getbuildtools] Using latest Build Tools: 21.1.2
[echo] Resolving Build Target for glbasic...
[gettarget] Project Target: Android 5.1.1
[gettarget] API level: 22
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\bin\rsObj
[mkdir] Created dir: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\bin\rsLibs
[echo] ----------
[echo] Resolving Dependencies for glbasic...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Found Deleted Target File
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.
-pre-compile:
-compile:
[javac] Compiling 12 source files to C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\bin\classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 warnings
-post-compile:
-obfuscate:
-dex:
[dex] input: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\bin\classes
[dex] input: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\libs\android-support-v4.jar
[dex] input: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\libs\gson-2.2.2.jar
[dex] input: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\libs\ouya-sdk.jar
[dex] input: C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\libs\openiab-0.9.7.2.jar
[dex] Pre-Dexing C:\Users\PC\Desktop\glbasic\stuff\GLBasic\my stuff\GLBasic\prescaler 1\distribute\Android\libs\android-support-v4.jar -> android-support-v4-afcb4d4dba3f9c2bacb9aaeb23ada72b.jar
BUILD FAILED
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:892: The following error occurred while executing this line:
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:894: The following error occurred while executing this line:
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:906: The following error occurred while executing this line:
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:283: null returned: 1
Total time: 2 seconds
.
BUILD STAGE 4: Build a release build
[subant] No sub-builds to iterate on
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 warnings
BUILD FAILED
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:892: The following error occurred while executing this line:
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:894: The following error occurred while executing this line:
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:906: The following error occurred while executing this line:
R:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:283: null returned: 1
Total time: 1 second
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
.