Results 1 to 9 of 9

Thread: help setting up android builds under linux

  1. #1
    Lesser Knight
    Join Date
    Jul 2011
    Posts
    51

    Default help setting up android builds under linux

    Warning: linux noob

    I have installed android sdk, ndk, java jdk, and ant. Added all to path.
    Calling any of these in the terminal works.

    Now trying to compile rtlooneyladders with the included build.sh script, and this is the output:
    Code:
    Couldn't find Android NDK. Make sure ndk-build is in $PATH.
    build.sh: 5: build.sh: ndk-build: not found
    ../../tools/linux/update_media.sh: line 3: cd: ../../tools/linux/../RTPack/build/: No such file or directory
    Missing RTPack tool (from /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/media/RTPack)
    Go to tools/RTPack and run the build.sh script to build the tool
    Buildfile: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/build.xml
    
    -set-mode-check:
    
    -set-debug-files:
    
    -check-env:
     [checkenv] Android SDK Tools Revision 23.0.2
     [checkenv] Installed at /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/android-sdk-linux
    
    -setup:
         [echo] Project Name: RTLooneyLadders
      [gettype] Project Type: Application
    
    -set-debug-mode:
    
    -debug-obfuscation-check:
    
    -build-setup:
    [getbuildtools] Using latest Build Tools: 20.0.0
         [echo] Resolving Build Target for RTLooneyLadders...
    [gettarget] Project Target:   Android 4.4.2
    [gettarget] API level:        19
         [echo] ----------
         [echo] Creating output directories if needed...
         [echo] ----------
         [echo] Resolving Dependencies for RTLooneyLadders...
    [dependency] Library dependencies:
    [dependency] No Libraries
    [dependency] 
    [dependency] ------------------
         [echo] ----------
         [echo] Building Libraries with 'debug'...
       [subant] No sub-builds to iterate on
    
    -pre-build:
    
    -code-gen:
    [mergemanifest] No changes in the AndroidManifest files.
         [echo] Handling aidl files...
    
    BUILD FAILED
    /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/android-sdk-linux/tools/ant/build.xml:653: The following error occurred while executing this line:
    /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/android-sdk-linux/tools/ant/build.xml:659: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src does not exist.
    
    Total time: 2 seconds
    Build finished
    Command 'ant installd' to install the newly created package to a device
    First, the script can't seem to find the ndk, which is funny because I can call ndk-build manually and it will start compiling.

    Next, the RTPack tool. I tried to build it but it asked for a proprietary lib from PowerVR
    Would running the windows RTPack executable with Wine work?

    Thanks in advance for any help.

  2. #2

    Smile ndk with sh + wine

    Quote Originally Posted by darkchazz View Post
    Warning: linux noob

    I have installed android sdk, ndk, java jdk, and ant. Added all to path.
    Calling any of these in the terminal works.

    Now trying to compile rtlooneyladders with the included build.sh script, and this is the output:
    Code:
    Couldn't find Android NDK. Make sure ndk-build is in $PATH.
    build.sh: 5: build.sh: ndk-build: not found
    ../../tools/linux/update_media.sh: line 3: cd: ../../tools/linux/../RTPack/build/: No such file or directory
    Missing RTPack tool (from /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/media/RTPack)
    Go to tools/RTPack and run the build.sh script to build the tool
    Buildfile: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/build.xml
    
    -set-mode-check:
    
    -set-debug-files:
    
    -check-env:
     [checkenv] Android SDK Tools Revision 23.0.2
     [checkenv] Installed at /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/android-sdk-linux
    
    -setup:
         [echo] Project Name: RTLooneyLadders
      [gettype] Project Type: Application
    
    -set-debug-mode:
    
    -debug-obfuscation-check:
    
    -build-setup:
    [getbuildtools] Using latest Build Tools: 20.0.0
         [echo] Resolving Build Target for RTLooneyLadders...
    [gettarget] Project Target:   Android 4.4.2
    [gettarget] API level:        19
         [echo] ----------
         [echo] Creating output directories if needed...
         [echo] ----------
         [echo] Resolving Dependencies for RTLooneyLadders...
    [dependency] Library dependencies:
    [dependency] No Libraries
    [dependency] 
    [dependency] ------------------
         [echo] ----------
         [echo] Building Libraries with 'debug'...
       [subant] No sub-builds to iterate on
    
    -pre-build:
    
    -code-gen:
    [mergemanifest] No changes in the AndroidManifest files.
         [echo] Handling aidl files...
    
    BUILD FAILED
    /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/android-sdk-linux/tools/ant/build.xml:653: The following error occurred while executing this line:
    /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/android-sdk-linux/tools/ant/build.xml:659: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src does not exist.
    
    Total time: 2 seconds
    Build finished
    Command 'ant installd' to install the newly created package to a device
    First, the script can't seem to find the ndk, which is funny because I can call ndk-build manually and it will start compiling.

    Next, the RTPack tool. I tried to build it but it asked for a proprietary lib from PowerVR
    Would running the windows RTPack executable with Wine work?

    Thanks in advance for any help.
    First export android-ndk-rXX directory to $PATH; like: "export PATH=$PATH:/absolute/path/to/android-ndk-rXX". (this can be put in your ~/.bashrc)

    Then....

    proton_sdk/tools/linux/update_media_wine.sh:
    Code:
    #!/bin/bash
    
    #PACK_EXE=wine $(cd `dirname $0`/../../shared/win/utils/; pwd)/RTPack.exe
    #change to match path
    PACK_EXE=/opt/proton_sdk/shared/win/utils/RTPack.exe
    
    #if [[ ! -x ${PACK_EXE} ]];
    #then
    #	echo "Missing RTPack tool (from ${PACK_EXE})"
    #	echo "Go to tools/RTPack and run the build.sh script to build the tool"
    #	exit 1
    #fi
    
    usage=$(
    cat <<EOF
    Usage: $0 [options]
    
    Options:
    -h               Print this help and exit
    EOF
    )
    
    while getopts "h" OPTION; do
    	case "$OPTION" in
    		h)
    			echo "$usage"
    			exit 0
    			;;
    		*)
    			echo "$usage"
    			exit 1
    			;;
    	esac
    done
    
    echo Make fonts
    
    #find . -depth -name 'font*.txt' -exec ${PACK_EXE} -make_font '{}' ';'
    for TXT in `find . -depth -name 'font*.txt'`; do
    	wine ${PACK_EXE} -make_font "$TXT"
    done
    
    echo Process our images and textures and copy them into the bin directory
    
    process_directory_images() {
    	if [[ -d "$1" ]];
    	then
    		cd "$1"
    		TEXTURE_CONVERSION_OPTS=$(cat texture_conversion_flags.txt)
    		if [[ -z "$TEXTURE_CONVERSION_OPTS" ]]; then
    			echo "Texture conversion flags are empty."
    			echo "Check that the file texture_conversion_flags.txt exists in directory '$1' and contains the correct parameters for RTPack."
    			exit 1
    		fi
    		
    		for IMG in `find . -depth \( -name '*.jpg' -o -name '*.bmp' -o -name '*.png' \) -print`; do
    			RTTEX=`echo $IMG | sed -e 's/\.\(jpg\|bmp\|png\)$/.rttex/'`
    			if [[ "$IMG" -nt "$RTTEX" ]]; then
    				wine $PACK_EXE $TEXTURE_CONVERSION_OPTS "$IMG"
    				wine $PACK_EXE "$RTTEX"
    			fi
    		done
    		cd - > /dev/null
    	fi
    }
    
    process_directory_images game
    process_directory_images interface
    
    echo Delete things we do not want copied
    rm -f interface/font_*.rttex
    
    echo Copy the stuff we care about
    
    copy_media_to_bin() {
    	if [[ -d "$1" ]];
    	then
    		sed -e 's/^\..*$/*&/g' "$2" | rsync -v --update --delete --delete-excluded --recursive --exclude-from=- "$1" ../bin
    	fi
    }
    
    copy_media_to_bin interface exclude.txt
    copy_media_to_bin audio exclude.txt
    copy_media_to_bin game game_exclude.txt
    
    rm -f icon.rttex
    rm -f default.rttex
    ./build_wine.sh:
    Code:
    #!/bin/bash
    
    android update project -p . -t android-10
    
    ../../tools/linux/prepareAndroid.sh
    
    ndk-build
    
    cd ../media
    ../../tools/linux/update_media_wine.sh
    cd ../android
    
    ../../tools/linux/androidSyncAssets.sh
    
    ant debug
    
    echo "Build finished"
    echo "Command 'ant installd' to install the newly created package to a device"
    edit:
    Also: if you are using r10 ndk, don't use the x64 target - use the x32.
    Last edited by FloatyBoaty; 08-22-2014 at 06:40 PM. Reason: 32 vs 64

  3. #3
    Lesser Knight
    Join Date
    Jul 2011
    Posts
    51

    Default

    Quote Originally Posted by FloatyBoaty View Post
    First export android-ndk-rXX directory to $PATH; like: "export PATH=$PATH:/absolute/path/to/android-ndk-rXX". (this can be put in your ~/.bashrc)

    Then....

    proton_sdk/tools/linux/update_media_wine.sh:

    ./build_wine.sh:

    edit:
    Also: if you are using r10 ndk, don't use the x64 target - use the x32.
    Thanks!
    All works fine now, except for the final ant build, which gives many errors:
    Code:
    Main.java
    SharedActivity.java
    SharedMultiTouchInput.java
    util/
    util/Base64.java
    util/Base64DecoderException.java
    util/IabException.java
    util/IabHelper.java
    util/IabResult.java
    util/Inventory.java
    util/Purchase.java
    util/Security.java
    util/SkuDetails.java
    
    sent 172,844 bytes  received 256 bytes  346,200.00 bytes/sec
    total size is 171,866  speedup is 0.99
    Buildfile: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/build.xml
    
    preprocess_cpp:
       [javapp] processing AndroidApp.cpp
    
    BUILD SUCCESSFUL
    Total time: 5 seconds
    Buildfile: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/build.xml
    
    preprocess:
       [javapp] processing com/rtsoft/rtlooneyladders/Main.java
       [javapp] processing com/rtsoft/rtlooneyladders/SharedActivity.java
       [javapp] processing com/rtsoft/rtlooneyladders/SharedMultiTouchInput.java
       [javapp] processing com/rtsoft/rtlooneyladders/util/Base64.java
       [javapp] processing com/rtsoft/rtlooneyladders/util/Base64DecoderException.java
       [javapp] processing com/rtsoft/rtlooneyladders/util/IabException.java
       [javapp] processing com/rtsoft/rtlooneyladders/util/IabHelper.java
       [javapp] processing com/rtsoft/rtlooneyladders/util/IabResult.java
       [javapp] processing com/rtsoft/rtlooneyladders/util/Inventory.java
       [javapp] processing com/rtsoft/rtlooneyladders/util/Purchase.java
       [javapp] processing com/rtsoft/rtlooneyladders/util/Security.java
       [javapp] processing com/rtsoft/rtlooneyladders/util/SkuDetails.java
    
    BUILD SUCCESSFUL
    Total time: 18 seconds
    Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 10 in ./AndroidManifest.xml    
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= PlatformSetup.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= AndroidUtils.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= AndroidApp.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= AudioManager.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= AudioManagerAndroid.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= angle.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= mat3.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= mat4.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= rect.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= vec2.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= vec3.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= vec4.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= Entity.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= Component.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= RTFont.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= Console.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= GameTimer.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= MessageManager.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= ResourceManager.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= VariantDB.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= rtPlane.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= rtRect.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= RenderBatcher.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= SoftSurface.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= Surface.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= SurfaceAnim.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= CRandom.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= GLESUtils.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= MathUtils.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= MiscUtils.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= RenderUtils.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= ResourceUtils.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= Variant.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= connection.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= named_slot_map.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= signal_base.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= slot.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= trackable.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= BaseApp.cpp
    [armeabi-v7a] Compile arm    : RTLooneyLadders <= unzip.c
    [armeabi-v7a] Compile arm    : RTLooneyLadders <= ioapi.c
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= TextScanner.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= EntityUtils.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= NetHTTP.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= NetSocket.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= NetUtils.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= AudioManagerSDL.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= StreamingInstance.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= StreamingInstanceZip.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= StreamingInstanceFile.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= FileSystem.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= FileSystemZip.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= FileManager.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= GamepadManager.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= Gamepad.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= GamepadiCade.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= GamepadProvider.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= GamepadProvideriCade.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= GamepadProviderMoga.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= GamepadMoga.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= Button2DComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= FilterInputComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= FocusInputComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= FocusRenderComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= FocusUpdateComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= HTTPComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= InputTextRenderComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= InterpolateComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= OverlayRenderComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= ProgressBarComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= RectRenderComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= ScrollBarRenderComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= ScrollComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= TapSequenceDetectComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= TextBoxRenderComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= TextRenderComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= TouchStripComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= TrailRenderComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= TyperComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= UnderlineRenderComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= TouchHandlerComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= SelectButtonWithCustomInputComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= CustomInputComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= SliderComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= ArcadeInputComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= EmitVirtualKeyComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= DPadComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= RenderScissorComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= LogDisplayComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= TouchDragComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= L_Defination.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= L_DroppingEffect.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= L_EffectEmitter.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= L_ExplosionEffect.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= L_MotionController.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= L_Particle.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= L_ParticleEffect.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= L_ParticleMem.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= L_ParticleSystem.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= L_ShootingEffect.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= L_EffectManager.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= App.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= BuildingComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= CharComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= CharManagerComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= ExplosionComponent.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= OverlayRenderComponentSpy.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= AboutMenu.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= GameMenu.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= MainMenu.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= IntroMenu.cpp
    [armeabi-v7a] Compile++ arm  : RTLooneyLadders <= ControllerTestMenu.cpp
    [armeabi-v7a] SharedLibrary  : libRTLooneyLadders.so
    [armeabi-v7a] Install        : libRTLooneyLadders.so => libs/armeabi-v7a/libRTLooneyLadders.so
    Make fonts
    
    RTPack V1.4 by Seth A. Robinson.  /h for help
    
    Saved out ./interface\font_trajan_00.rttex (512 X 256) with 1 mipmaps. (uses alpha) (RGBA 32 bit format)
    Compressing ./interface/font_trajan.rtfont..
    Compressed to ./interface/font_trajan.rtfont.  (30 kb, 6%)
    Finished creating ./interface/font_trajan.rtfont.  223 chars, 20 font state definitions.
    
    RTPack V1.4 by Seth A. Robinson.  /h for help
    
    Saved out ./interface\font_trajan_big_00.rttex (512 X 512) with 1 mipmaps. (uses alpha) (RGBA 32 bit format)
    Compressing ./interface/font_trajan_big.rtfont..
    Compressed to ./interface/font_trajan_big.rtfont.  (64 kb, 6%)
    Finished creating ./interface/font_trajan_big.rtfont.  223 chars, 20 font state definitions.
    Process our images and textures and copy them into the bin directory
    Delete things we do not want copied
    Copy the stuff we care about
    sending incremental file list
    interface/font_trajan.rtfont
    interface/font_trajan_big.rtfont
    
    sent 98,797 bytes  received 56 bytes  197,706.00 bytes/sec
    total size is 1,241,514  speedup is 12.56
    sending incremental file list
    
    sent 357 bytes  received 17 bytes  748.00 bytes/sec
    total size is 933,348  speedup is 2,495.58
    sending incremental file list
    
    sent 208 bytes  received 17 bytes  450.00 bytes/sec
    total size is 28,961  speedup is 128.72
    Buildfile: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/build.xml
    
    -set-mode-check:
    
    -set-debug-files:
    
    -check-env:
     [checkenv] Android SDK Tools Revision 23.0.2
     [checkenv] Installed at /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/android-sdk-linux
    
    -setup:
         [echo] Project Name: RTLooneyLadders
      [gettype] Project Type: Application
    
    -set-debug-mode:
    
    -debug-obfuscation-check:
    
    -build-setup:
    [getbuildtools] Using latest Build Tools: 20.0.0
         [echo] Resolving Build Target for RTLooneyLadders...
    [gettarget] Project Target:   Android 4.4.2
    [gettarget] API level:        19
         [echo] ----------
         [echo] Creating output directories if needed...
        [mkdir] Created dir: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/bin
        [mkdir] Created dir: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/bin/res
        [mkdir] Created dir: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/bin/rsObj
        [mkdir] Created dir: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/bin/rsLibs
        [mkdir] Created dir: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/gen
        [mkdir] Created dir: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/bin/classes
        [mkdir] Created dir: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/bin/dexedLibs
         [echo] ----------
         [echo] Resolving Dependencies for RTLooneyLadders...
    [dependency] Library dependencies:
    [dependency] No Libraries
    [dependency] 
    [dependency] ------------------
         [echo] ----------
         [echo] Building Libraries with 'debug'...
       [subant] No sub-builds to iterate on
    
    -pre-build:
    
    -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] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/build.xml:155: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
        [javac] Compiling 14 source files to /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/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] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/Main.java:29: error: package com.bda.controller does not exist
        [javac] import com.bda.controller.Controller;
        [javac]                          ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/Main.java:30: error: package com.bda.controller does not exist
        [javac] import com.bda.controller.ControllerListener;
        [javac]                          ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedActivity.java:59: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.AESObfuscator;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedActivity.java:60: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.LicenseChecker;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedActivity.java:61: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.LicenseCheckerCallback;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedActivity.java:62: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.ServerManagedPolicy;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedActivity.java:63: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.StrictPolicy;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/Main.java:37: error: cannot find symbol
        [javac] 	Controller mController = null;
        [javac] 	^
        [javac]   symbol:   class Controller
        [javac]   location: class Main
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/util/IabHelper.java:32: error: package com.android.vending.billing does not exist
        [javac] import com.android.vending.billing.IInAppBillingService;
        [javac]                                   ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedActivity.java:180: error: cannot find symbol
        [javac]         private LicenseCheckerCallback mLicenseCheckerCallback;
        [javac]                 ^
        [javac]   symbol:   class LicenseCheckerCallback
        [javac]   location: class SharedActivity
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedActivity.java:181: error: cannot find symbol
        [javac]         private LicenseChecker mChecker;
        [javac]                 ^
        [javac]   symbol:   class LicenseChecker
        [javac]   location: class SharedActivity
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/util/IabHelper.java:99: error: cannot find symbol
        [javac]     IInAppBillingService mService;
        [javac]     ^
        [javac]   symbol:   class IInAppBillingService
        [javac]   location: class IabHelper
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/Main.java:106: error: package com.bda.controller does not exist
        [javac] 	class ExampleControllerListener implements com.bda.controller.ControllerListener
        [javac] 	                                                             ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/Main.java:108: error: package com.bda.controller does not exist
        [javac] 		public void onKeyEvent(com.bda.controller.KeyEvent event)
        [javac] 		                                         ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/Main.java:113: error: package com.bda.controller does not exist
        [javac] 		public void onMotionEvent(com.bda.controller.MotionEvent event)
        [javac] 		                                            ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/Main.java:123: error: package com.bda.controller does not exist
        [javac] 		public void onStateEvent(com.bda.controller.StateEvent event)
        [javac] 		                                           ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedActivity.java:183: error: cannot find symbol
        [javac]         private class MyLicenseCheckerCallback implements LicenseCheckerCallback
        [javac]                                                           ^
        [javac]   symbol:   class LicenseCheckerCallback
        [javac]   location: class SharedActivity
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedActivity.java:219: error: cannot find symbol
        [javac]             public void applicationError(ApplicationErrorCode errorCode)
        [javac]                                          ^
        [javac]   symbol:   class ApplicationErrorCode
        [javac]   location: class SharedActivity.MyLicenseCheckerCallback
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedMultiTouchInput.java:41: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.AESObfuscator;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedMultiTouchInput.java:42: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.LicenseChecker;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedMultiTouchInput.java:43: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.LicenseCheckerCallback;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedMultiTouchInput.java:44: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.ServerManagedPolicy;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedMultiTouchInput.java:45: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.StrictPolicy;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedActivity.java:292: error: cannot find symbol
        [javac]             mChecker = new LicenseChecker(
        [javac]                            ^
        [javac]   symbol:   class LicenseChecker
        [javac]   location: class SharedActivity
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedActivity.java:294: error: cannot find symbol
        [javac] 									new ServerManagedPolicy(this,new AESObfuscator(SALT, getPackageName(), deviceId)),
        [javac] 									    ^
        [javac]   symbol:   class ServerManagedPolicy
        [javac]   location: class SharedActivity
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedActivity.java:294: error: cannot find symbol
        [javac] 									new ServerManagedPolicy(this,new AESObfuscator(SALT, getPackageName(), deviceId)),
        [javac] 									                                 ^
        [javac]   symbol:   class AESObfuscator
        [javac]   location: class SharedActivity
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/Main.java:67: error: cannot find symbol
        [javac] 		mController = Controller.getInstance(this);
        [javac] 		              ^
        [javac]   symbol:   variable Controller
        [javac]   location: class Main
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/Main.java:116: error: package com.bda.controller does not exist
        [javac] 			float lX = event.getAxisValue(com.bda.controller.MotionEvent.AXIS_X);
        [javac] 			                                                ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/Main.java:117: error: package com.bda.controller does not exist
        [javac] 			float lY = event.getAxisValue(com.bda.controller.MotionEvent.AXIS_Y);
        [javac] 			                                                ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/Main.java:118: error: package com.bda.controller does not exist
        [javac] 			float rX = event.getAxisValue(com.bda.controller.MotionEvent.AXIS_Z);
        [javac] 			                                                ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/Main.java:119: error: package com.bda.controller does not exist
        [javac] 			float rY = event.getAxisValue(com.bda.controller.MotionEvent.AXIS_RZ);
        [javac] 			                                                ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/Main.java:125: error: strings in switch are not supported in -source 1.5
        [javac] 			switch(event.getState())
        [javac] 			      ^
        [javac]   (use -source 7 or higher to enable strings in switch)
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/Main.java:127: error: package com.bda.controller does not exist
        [javac] 			case com.bda.controller.StateEvent.STATE_CONNECTION:
        [javac] 			                       ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/util/IabHelper.java:225: error: package IInAppBillingService does not exist
        [javac]                 mService = IInAppBillingService.Stub.asInterface(service);
        [javac]                                                ^
        [javac] Note: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/temp_final_src/com/rtsoft/rtlooneyladders/SharedActivity.java uses or overrides a deprecated API.
        [javac] Note: Recompile with -Xlint:deprecation for details.
        [javac] 34 errors
        [javac] 3 warnings
    
    BUILD FAILED
    /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/build.xml:130: The following error occurred while executing this line:
    /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android/build.xml:155: Compile failed; see the compiler error output for details.
    
    Total time: 5 seconds
    Build finished
    Command 'ant installd' to install the newly created package to a device
    (trusty)hussain@localhost:/media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTLooneyLadders/android$
    btw what is the linux alternative to the commands in Clean.bat ?

  4. #4

    Default

    Actually, look under shared/android for most of those missing includes.

  5. #5
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,340

    Default

    Oops, Moga is a special android controller with special drivers that were private at the time (probably an SDK download at their site now) - LooneyLadders is a bad project for initial tests, I'd start with RTBareBones, then RTSimpleApp instead. I don't trust LooneyLadders, but it could probably be fixed by removing the defines that add support for Moga. (top of the Main.java file?)
    Seth A. Robinson
    Robinson Technologies

  6. #6
    Lesser Knight
    Join Date
    Jul 2011
    Posts
    51

    Default

    Quote Originally Posted by Seth View Post
    Oops, Moga is a special android controller with special drivers that were private at the time (probably an SDK download at their site now) - LooneyLadders is a bad project for initial tests, I'd start with RTBareBones, then RTSimpleApp instead. I don't trust LooneyLadders, but it could probably be fixed by removing the defines that add support for Moga. (top of the Main.java file?)
    building RTBareBones gives many of the same errors:
    Code:
    -compile:
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/build.xml:155: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
        [javac] Compiling 14 source files to /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/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] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedActivity.java:59: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.AESObfuscator;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedActivity.java:60: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.LicenseChecker;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedActivity.java:61: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.LicenseCheckerCallback;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedActivity.java:62: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.ServerManagedPolicy;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedActivity.java:63: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.StrictPolicy;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/util/IabHelper.java:32: error: package com.android.vending.billing does not exist
        [javac] import com.android.vending.billing.IInAppBillingService;
        [javac]                                   ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedActivity.java:180: error: cannot find symbol
        [javac]         private LicenseCheckerCallback mLicenseCheckerCallback;
        [javac]                 ^
        [javac]   symbol:   class LicenseCheckerCallback
        [javac]   location: class SharedActivity
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedActivity.java:181: error: cannot find symbol
        [javac]         private LicenseChecker mChecker;
        [javac]                 ^
        [javac]   symbol:   class LicenseChecker
        [javac]   location: class SharedActivity
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/util/IabHelper.java:99: error: cannot find symbol
        [javac]     IInAppBillingService mService;
        [javac]     ^
        [javac]   symbol:   class IInAppBillingService
        [javac]   location: class IabHelper
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedActivity.java:183: error: cannot find symbol
        [javac]         private class MyLicenseCheckerCallback implements LicenseCheckerCallback
        [javac]                                                           ^
        [javac]   symbol:   class LicenseCheckerCallback
        [javac]   location: class SharedActivity
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedActivity.java:219: error: cannot find symbol
        [javac]             public void applicationError(ApplicationErrorCode errorCode)
        [javac]                                          ^
        [javac]   symbol:   class ApplicationErrorCode
        [javac]   location: class SharedActivity.MyLicenseCheckerCallback
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedMultiTouchInput.java:41: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.AESObfuscator;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedMultiTouchInput.java:42: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.LicenseChecker;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedMultiTouchInput.java:43: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.LicenseCheckerCallback;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedMultiTouchInput.java:44: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.ServerManagedPolicy;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedMultiTouchInput.java:45: error: package com.android.vending.licensing does not exist
        [javac] import com.android.vending.licensing.StrictPolicy;
        [javac]                                     ^
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedActivity.java:292: error: cannot find symbol
        [javac]             mChecker = new LicenseChecker(
        [javac]                            ^
        [javac]   symbol:   class LicenseChecker
        [javac]   location: class SharedActivity
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedActivity.java:294: error: cannot find symbol
        [javac] 									new ServerManagedPolicy(this,new AESObfuscator(SALT, getPackageName(), deviceId)),
        [javac] 									    ^
        [javac]   symbol:   class ServerManagedPolicy
        [javac]   location: class SharedActivity
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedActivity.java:294: error: cannot find symbol
        [javac] 									new ServerManagedPolicy(this,new AESObfuscator(SALT, getPackageName(), deviceId)),
        [javac] 									                                 ^
        [javac]   symbol:   class AESObfuscator
        [javac]   location: class SharedActivity
        [javac] /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/util/IabHelper.java:225: error: package IInAppBillingService does not exist
        [javac]                 mService = IInAppBillingService.Stub.asInterface(service);
        [javac]                                                ^
        [javac] Note: /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/temp_final_src/com/rtsoft/rtbarebones/SharedActivity.java uses or overrides a deprecated API.
        [javac] Note: Recompile with -Xlint:deprecation for details.
        [javac] 20 errors
        [javac] 3 warnings
    
    BUILD FAILED
    /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/build.xml:130: The following error occurred while executing this line:
    /media/hussain/b89f8d5f-4227-4baf-ac51-0c08f84f8f99/development/proton/RTBareBones/android/build.xml:155: Compile failed; see the compiler error output for details.

  7. #7

    Default

    shared/android has most of that - just copy to the temp_final_src folder.
    use adt eclipse bundle and change the src dir to easily remove the problem imports and code.

    Clean.bat just removes files and folders; Linux: use 'rm', add '-r' for directories
    I prefer 'ndk-build clean' and 'ant clean'.

  8. #8
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,340

    Default

    Unfortunately I'm only supporting the windows build pipeline having never used the linux one (what we have now was graciously donated by Aki) - I'm not sure if it's been updated for the new V2 build system. (The latest system (well, not that new now really) has the preprocessing step to handle defines in java.. I guess you'd be getting all kinds of errors if that wasn't in so I guess it is)

    Like FloatyBoaty mentioned, the rest of the errors seem to be because the correct android lib dir in /shared/android somewhere wasn't set. Hopefully a linuxer who's gotten it working can chime in with more info! (those libs handle IAB stuff and Proton requires them whether you use In App Billing or not)
    Seth A. Robinson
    Robinson Technologies

  9. #9
    Lesser Knight
    Join Date
    Jul 2011
    Posts
    51

    Default

    Alright.
    I copied the "shared/android/optional_src/com/android" folder into the "temp_final_src/com" folder.
    and now RTBareBones builds successfully.

    Next I will try to build my own project and see how it goes.
    Thanks for all the help guys.

    EDIT: my project uses Chartboost and so ant cannot find the library.
    I tried copying the library manually but the error still persists. what's the correct way to fix this?
    Last edited by darkchazz; 08-25-2014 at 12:23 AM.

Similar Threads

  1. Replies: 3
    Last Post: 05-13-2014, 06:34 PM
  2. Android Vs Apple Vs Windows Vs Mac Os Vs Linux
    By Israphell in forum RTsoft Tavern
    Replies: 3
    Last Post: 02-25-2014, 01:33 AM
  3. Problems with Android under Linux compilation.
    By tek2222 in forum Proton SDK
    Replies: 5
    Last Post: 05-02-2013, 06:07 PM
  4. Replies: 0
    Last Post: 02-06-2013, 07:45 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •