WOW, I`d forgotten about that. I remember Gernot and I writting that. Didn`t realise it was over 10 years ago tho. How time flies.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.037 SN:4a22a623 - 3D, NET
Wordcount:1069 commands
compile+link:
running glb_build.bat
Using ANDROID_TARGET="android-22"
You can use "E:\GLB\GLBasic\Swoop\distribute\Android\glb_android_build.bat" to change the API level and SDK path.
%ANDROIDSDK% not set. Using GLBasic's default target-22, Android 5.1 (Lollipop
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 E:/GLB/GLBasic/Swoop/icon_36_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-ldpi/icon.png
copy E:/GLB/GLBasic/Swoop/icon_48_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-mdpi/icon.png
copy E:/GLB/GLBasic/Swoop/icon_72_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable/icon.png
copy E:/GLB/GLBasic/Swoop/icon_72_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-hdpi/icon.png
copy E:/GLB/GLBasic/Swoop/icon_96_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-xhdpi/icon.png
copy E:/GLB/GLBasic/Swoop/icon_180_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-xxhdpi/icon.png
copy E:/GLB/GLBasic/Swoop/icon_192_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-xxxhdpi/icon.png
E:/GLB/GLBasic/Swoop/icon_ouya_AndroidExtras.png is missing (732x412 size)
the Ouya icon is not important, if you dont want to support the console
copy E:/GLB/GLBasic/Swoop/icon_ouya_AndroidExtras.png to E:/GLB/GLBasic/Swoop/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=Q:\Compiler\platform\android\bin\..\android-sdk-windows
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.
[b]ERROR: SWT folder 'lib\x86_64' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.[/b]
.
[b]BUILD STAGE 3: Build a debug build
Unable to locate tools.jar. Expected to find it in E:\Program Files\Java\jre1.8.0_131\lib\tools.jar
Buildfile: build.xml does not exist!
Build failed[/b]
.
BUILD STAGE 4: Build a release build
Unable to locate tools.jar. Expected to find it in E:\Program Files\Java\jre1.8.0_131\lib\tools.jar
Buildfile: build.xml does not exist!
Build failed
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
.
HOW TO INSTALL? Install by invoke this command:
"Q:\Compiler\platform\android\bin\..\android-sdk-windows\platform-tools\adb.exe" install -r "E:\GLB\GLBasic\Swoop\distribute\Android/bin/glbasic-debug.apk"
.
HOW TO SIGN? Sign it by invoke this command:
"Q:\Compiler\platform\android\bin\glb_code_sign.bat" "E:\GLB\GLBasic\Swoop\distribute\Android"
.
Android=E:\GLB\GLBasic\Swoop\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 6.0 sec. Time: 11:29
Build: 1 succeeded.
_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.053 SN:17d88e8b - 3D, NET
"Game.gbas"(82) warning : GPC1004 variable already exists : inv
Wordcount:1449 commands
compile+link:
running glb_build.bat
Using ANDROID_TARGET="android-19"
You can use "C:\Users\Windows User\Documents\GLBasic\New - Copy\distribute\Android\glb_android_build.bat" to change the API level and SDK path.
AndroidIcons.exe [v3-3-2015] running...
copy C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_36_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable-ldpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_48_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable-mdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_72_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable/icon.png
copy C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_72_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable-hdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_96_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable-xhdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_180_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable-xxhdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_192_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable-xxxhdpi/icon.png
C:/Users/Windows User/Documents/GLBasic/New - Copy/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/Windows User/Documents/GLBasic/New - Copy/icon_ouya_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable-xhdpi/ouya_icon.png
Checked AdActivity (intersititals):
Android Extras version (SDLActivity.java):
* 2.9
Checking Icons Finished...
BUILD STAGE 2: Start compiler (android.bat)
Q:\Compiler\platform\android\bin\..\android-sdk-windows
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.
The system cannot find the path specified.
Updated project.properties
Updated local.properties
Updated file C:\Users\Windows User\Documents\GLBasic\New - Copy\distribute\Android\build.xml
Updated file C:\Users\Windows User\Documents\GLBasic\New - Copy\distribute\Android\proguard-project.txt
Updated project.properties
Updated local.properties
Updated file C:\Users\Windows User\Documents\GLBasic\New - Copy\distribute\Android\bin\build.xml
Updated file C:\Users\Windows User\Documents\GLBasic\New - Copy\distribute\Android\bin\proguard-project.txt
.
BUILD STAGE 3: Build a debug build
Buildfile: C:\Users\Windows User\Documents\GLBasic\New - Copy\distribute\Android\build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 24.0.2
[checkenv] Installed at Q:\Compiler\platform\android\android-sdk-windows
?DEFINE ANDROID
?IFDEF WIN32
?UNDEF ANDROID
?ENDIF
SETSCREEN 800,600,1
init:
Android.init()
//Android.GameControllersSetLayout$("Left=Move Left;Right=Move Right;Up=Move Up;Down=Move Down;b1=Jump Button");
Android.GameControllersSetLayout$("Left=Go Left;Up=Go Up;Right=Go Right;Down=Go Down;b1=Button 1;b2=Button 2;b3=Button 3;b4=Button 4")
SETCURRENTDIR("Media")
Android.Check_Asset("smalfont.png")
LOADFONT "smalfont.png",1
SETFONT 1
main:
Android.GameControllers("Update")
CLEARSCREEN RGB(0,0,0)
FOR n=0 TO 1
LOCAL nn=n*200
PRINT "LEFT: " + Android.GameControllers("Left",n), 0, 100+nn
PRINT "RIGHT:" + Android.GameControllers("Right",n), 0, 130+nn
PRINT "UP: " + Android.GameControllers("Up",n), 0, 160+nn
PRINT "DOWN: " + Android.GameControllers("Down",n), 0, 190+nn
PRINT "LEFT: " + Android.GameControllers("PadL_Left",n), 100, 100+nn
PRINT "RIGHT:" + Android.GameControllers("PadL_Right",n), 100, 130+nn
PRINT "UP: " + Android.GameControllers("PadL_Up",n), 100, 160+nn
PRINT "DOWN: " + Android.GameControllers("PadL_own",n), 100, 190+nn
PRINT "LEFT: " + Android.GameControllers("PadR_Left",n), 200, 100+nn
PRINT "RIGHT:" + Android.GameControllers("PadR_Right",n), 200, 130+nn
PRINT "UP: " + Android.GameControllers("PadR_Up",n), 200, 160+nn
PRINT "DOWN: " + Android.GameControllers("PadR_own",n), 200, 190+nn
PRINT "BUTTON1: " + Android.GameControllers("b1",n), 300, 100+nn
PRINT "BUTTON2: " + Android.GameControllers("b2",n), 300, 130+nn
PRINT "BUTTON3: " + Android.GameControllers("b3",n), 300, 160+nn
PRINT "BUTTON4: " + Android.GameControllers("b4",n), 300, 190+nn
PRINT "stick : " + n, 450, 100+nn
NEXT
SHOWSCREEN
GOTO main
END
Quote
"interstitial.gbas"(52) error : GPC0009 call to undefined function : GLB_ON_PAUSE
SUB GLB_ON_PAUSE:
ENDSUB
SUB GLB_ON_RESUME:
ENDSUB
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.053 SN:17d88e8b - 3D, NET
Wordcount:653 commands
compile+link:
running glb_build.bat
Using ANDROID_TARGET="android-19"
You can use "C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\glb_android_build.bat" to change the API level and SDK path.
AndroidIcons.exe [v3-3-2015] running...
copy C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_36_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable-ldpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_48_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable-mdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_72_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable/icon.png
copy C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_72_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable-hdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_96_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable-xhdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_180_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable-xxhdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_192_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable-xxxhdpi/icon.png
C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/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/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_ouya_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable-xhdpi/ouya_icon.png
Checked AdActivity (intersititals):
Android Extras version (SDLActivity.java):
* 2.9
Checking Icons Finished...
BUILD STAGE 2: Start compiler (android.bat)
Q:\Compiler\platform\android\bin\..\android-sdk-windows
Updated and renamed default.properties to project.properties
Updated local.properties
Added file C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\build.xml
Updated file C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\proguard-project.txt
.
BUILD STAGE 3: Build a debug build
Buildfile: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 24.0.2
[checkenv] Installed at Q:\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 4.4.2
[gettarget] API level: 19
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\bin
[mkdir] Created dir: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\bin\res
[mkdir] Created dir: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\bin\rsObj
[mkdir] Created dir: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\bin\rsLibs
[mkdir] Created dir: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\gen
[mkdir] Created dir: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\bin\classes
[mkdir] Created dir: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\bin\dexedLibs
[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] 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] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.
-pre-compile:
-compile:
[javac] Compiling 29 source files to C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\bin\classes
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:21: package com.google.android.gms.ads does not exist
[javac] import com.google.android.gms.ads.AdListener;
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:22: package com.google.android.gms.ads does not exist
[javac] import com.google.android.gms.ads.AdRequest;
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:23: package com.google.android.gms.ads does not exist
[javac] import com.google.android.gms.ads.InterstitialAd;
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:36: cannot find symbol
[javac] symbol : class InterstitialAd
[javac] location: class org.libsdl.app.Interstitial
[javac] public InterstitialAd mInterstitial;
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:94: cannot find symbol
[javac] symbol : class AdListener
[javac] location: class org.libsdl.app.Interstitial
[javac] class GoogleAdmobListener extends AdListener
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:45: cannot find symbol
[javac] symbol : class InterstitialAd
[javac] location: class org.libsdl.app.Interstitial
[javac] { mInterstitial = new InterstitialAd(context);
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:63: package AdRequest does not exist
[javac] mInterstitial.loadAd(new AdRequest.Builder().build());
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:101: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:112: cannot find symbol
[javac] symbol : variable AdRequest
[javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
[javac] { case AdRequest.ERROR_CODE_INTERNAL_ERROR:
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:115: cannot find symbol
[javac] symbol : variable AdRequest
[javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
[javac] case AdRequest.ERROR_CODE_INVALID_REQUEST:
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:118: cannot find symbol
[javac] symbol : variable AdRequest
[javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
[javac] case AdRequest.ERROR_CODE_NETWORK_ERROR:
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:121: cannot find symbol
[javac] symbol : variable AdRequest
[javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
[javac] case AdRequest.ERROR_CODE_NO_FILL:
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:107: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:127: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:132: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:138: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 16 errors
BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:720: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.
Total time: 1 second
.
BUILD STAGE 4: Build a release build
[subant] No sub-builds to iterate on
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:21: package com.google.android.gms.ads does not exist
[javac] import com.google.android.gms.ads.AdListener;
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:22: package com.google.android.gms.ads does not exist
[javac] import com.google.android.gms.ads.AdRequest;
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:23: package com.google.android.gms.ads does not exist
[javac] import com.google.android.gms.ads.InterstitialAd;
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:36: cannot find symbol
[javac] symbol : class InterstitialAd
[javac] location: class org.libsdl.app.Interstitial
[javac] public InterstitialAd mInterstitial;
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:94: cannot find symbol
[javac] symbol : class AdListener
[javac] location: class org.libsdl.app.Interstitial
[javac] class GoogleAdmobListener extends AdListener
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:45: cannot find symbol
[javac] symbol : class InterstitialAd
[javac] location: class org.libsdl.app.Interstitial
[javac] { mInterstitial = new InterstitialAd(context);
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:63: package AdRequest does not exist
[javac] mInterstitial.loadAd(new AdRequest.Builder().build());
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:101: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:112: cannot find symbol
[javac] symbol : variable AdRequest
[javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
[javac] { case AdRequest.ERROR_CODE_INTERNAL_ERROR:
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:115: cannot find symbol
[javac] symbol : variable AdRequest
[javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
[javac] case AdRequest.ERROR_CODE_INVALID_REQUEST:
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:118: cannot find symbol
[javac] symbol : variable AdRequest
[javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
[javac] case AdRequest.ERROR_CODE_NETWORK_ERROR:
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:121: cannot find symbol
[javac] symbol : variable AdRequest
[javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
[javac] case AdRequest.ERROR_CODE_NO_FILL:
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:107: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:127: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:132: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:138: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 16 errors
[javac] Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:720: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.
Total time: 1 second
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
.
HOW TO INSTALL? Install by invoke this command:
"Q:\Compiler\platform\android\bin\..\android-sdk-windows\platform-tools\adb.exe" install -r "C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android/bin/glbasic-debug.apk"
.
HOW TO SIGN? Sign it by invoke this command:
"Q:\Compiler\platform\android\bin\glb_code_sign.bat" "C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android"
.
Android=C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 10.7 sec. Time: 11:31
Build: 1 succeeded.
-compile:
[javac] Compiling 66 source files to C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\bin\classes
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Interstitial.java:31: duplicate class: org.libsdl.app.Interstitial
[javac] class Interstitial {
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:347: cannot find symbol
[javac] symbol : constructor Interstitial()
[javac] location: class org.libsdl.app.Interstitial
[javac] { InterstitialAd=new Interstitial();
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:348: cannot find symbol
[javac] symbol : variable currentActivity
[javac] location: class org.libsdl.app.Interstitial
[javac] InterstitialAd.currentActivity=(Activity)mSingleton;
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:349: cannot find symbol
[javac] symbol : method init(android.content.Context)
[javac] location: class org.libsdl.app.Interstitial
[javac] InterstitialAd.init(getContext());
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:442: cannot find symbol
[javac] symbol : variable isshow
[javac] location: class org.libsdl.app.Interstitial
[javac] { if (InterstitialAd.isshow==false)
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:1063: cannot find symbol
[javac] symbol : method show()
[javac] location: class org.libsdl.app.Interstitial
[javac] if (tokens[1].equals("show")) { InterstitialAd.show(); }
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:1065: cannot find symbol
[javac] symbol : method error()
[javac] location: class org.libsdl.app.Interstitial
[javac] if (tokens[1].equals("error")) { result=InterstitialAd.error(); return result; }
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:338: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] { String sku=mHelper.getSku(mHelper.getConnectedAppstoreName(), tokens[2]);
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:345: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] { String sku=mHelper.getSku(mHelper.getConnectedAppstoreName(), tokens[2]);
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:353: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] skuactivate = mHelper.getStoreSku(mHelper.getConnectedAppstoreName(), sku);
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:383: cannot find symbol
[javac] symbol : variable NAME_SLIDEME
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] { storeKeys.put(OpenIabHelper.NAME_SLIDEME, SLIDEME);
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:388: cannot find symbol
[javac] symbol : variable NAME_APPLAND
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] { storeKeys.put(OpenIabHelper.NAME_APPLAND, APPLAND_PUBLIC_KEY);
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:414: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] sku = mHelper.getStoreSku(mHelper.getConnectedAppstoreName(), sku);
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:418: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] ShopName=mHelper.getConnectedAppstoreName();
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:440: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] String appstore=mHelper.getConnectedAppstoreName();
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:470: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] inappPurchase=mHelper.getSku(mHelper.getConnectedAppstoreName(), inappPurchase);
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:510: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] { if (Ouya==false) sku=mHelper.getSku(mHelper.getConnectedAppstoreName(), sku);
[javac] ^
[javac] Note: C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 17 errors
BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:720: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.
Total time: 2 seconds
.
BUILD STAGE 4: Build a release build
[subant] No sub-builds to iterate on
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Interstitial.java:31: duplicate class: org.libsdl.app.Interstitial
[javac] class Interstitial {
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:347: cannot find symbol
[javac] symbol : constructor Interstitial()
[javac] location: class org.libsdl.app.Interstitial
[javac] { InterstitialAd=new Interstitial();
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:348: cannot find symbol
[javac] symbol : variable currentActivity
[javac] location: class org.libsdl.app.Interstitial
[javac] InterstitialAd.currentActivity=(Activity)mSingleton;
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:349: cannot find symbol
[javac] symbol : method init(android.content.Context)
[javac] location: class org.libsdl.app.Interstitial
[javac] InterstitialAd.init(getContext());
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:442: cannot find symbol
[javac] symbol : variable isshow
[javac] location: class org.libsdl.app.Interstitial
[javac] { if (InterstitialAd.isshow==false)
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:1063: cannot find symbol
[javac] symbol : method show()
[javac] location: class org.libsdl.app.Interstitial
[javac] if (tokens[1].equals("show")) { InterstitialAd.show(); }
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:1065: cannot find symbol
[javac] symbol : method error()
[javac] location: class org.libsdl.app.Interstitial
[javac] if (tokens[1].equals("error")) { result=InterstitialAd.error(); return result; }
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:338: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] { String sku=mHelper.getSku(mHelper.getConnectedAppstoreName(), tokens[2]);
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:345: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] { String sku=mHelper.getSku(mHelper.getConnectedAppstoreName(), tokens[2]);
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:353: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] skuactivate = mHelper.getStoreSku(mHelper.getConnectedAppstoreName(), sku);
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:383: cannot find symbol
[javac] symbol : variable NAME_SLIDEME
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] { storeKeys.put(OpenIabHelper.NAME_SLIDEME, SLIDEME);
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:388: cannot find symbol
[javac] symbol : variable NAME_APPLAND
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] { storeKeys.put(OpenIabHelper.NAME_APPLAND, APPLAND_PUBLIC_KEY);
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:414: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] sku = mHelper.getStoreSku(mHelper.getConnectedAppstoreName(), sku);
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:418: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] ShopName=mHelper.getConnectedAppstoreName();
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:440: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] String appstore=mHelper.getConnectedAppstoreName();
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:470: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] inappPurchase=mHelper.getSku(mHelper.getConnectedAppstoreName(), inappPurchase);
[javac] ^
[javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:510: cannot find symbol
[javac] symbol : method getConnectedAppstoreName()
[javac] location: class org.onepf.oms.OpenIabHelper
[javac] { if (Ouya==false) sku=mHelper.getSku(mHelper.getConnectedAppstoreName(), sku);
[javac] ^
[javac] Note: C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 17 errors
[javac] Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:720: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.