User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: Failed build with Android Expansion Support Object

  1. #1
    Clicker Fusion 2.5Android Export ModuleiOS Export Module

    Join Date
    Jun 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Failed build with Android Expansion Support Object

    Please correct me if I am doing it wrong...(can build APK without Expansion Support object in project)

    1) Saved full app
    2) Held Left Shift while Building from Menu. Exported RES folder
    3) Opened OBB maker, followed instructions, OBB created successfully
    4) Opened Menu only App with Expansion Support plugin and bytes entered.
    5) Tried to build APK but get the error below:

    Buildfile: C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\build .xml

    -set-mode-check:

    -set-release-mode:

    -release-obfuscation-check:
    [echo] proguard.config is ${proguard.config}

    -pre-build:

    -check-env:
    [checkenv] Android SDK Tools Revision 25.2.5
    [checkenv] Installed at C:\Users\Home\AppData\Local\Android\android-sdk

    -setup:
    [echo] Project Name: RuntimeAndroid
    [gettype] Project Type: Application

    -build-setup:
    [getbuildtools] Using latest Build Tools: 26.0.2
    [echo] Resolving Build Target for RuntimeAndroid...
    [gettarget] Project Target: Android 8.0.0
    [gettarget] API level: 26
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\bin
    [mkdir] Created dir: C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\bin\r es
    [mkdir] Created dir: C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\bin\r sObj
    [mkdir] Created dir: C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\bin\r sLibs
    [mkdir] Created dir: C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\gen
    [mkdir] Created dir: C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\bin\c lasses
    [mkdir] Created dir: C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\bin\d exedLibs
    [echo] ----------
    [echo] Resolving Dependencies for RuntimeAndroid...
    [dependency] Library dependencies:
    [dependency] No Libraries
    [dependency]
    [dependency] ------------------
    [echo] ----------
    [echo] Building Libraries with 'release'...
    [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] Found 1 AIDL files.
    [aidl] Compiling 1 AIDL files.
    [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 434 source files to C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\bin\c lasses
    [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] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:10: error: package com.google.android.vending.expansion.downloader does not exist
    [javac] import com.google.android.vending.expansion.downloader.Co nstants;
    [javac] ^
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:11: error: package com.google.android.vending.expansion.downloader does not exist
    [javac] import com.google.android.vending.expansion.downloader.Do wnloadProgressInfo;
    [javac] ^
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:12: error: package com.google.android.vending.expansion.downloader does not exist
    [javac] import com.google.android.vending.expansion.downloader.Do wnloaderClientMarshaller;
    [javac] ^
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:13: error: package com.google.android.vending.expansion.downloader does not exist
    [javac] import com.google.android.vending.expansion.downloader.Do wnloaderServiceMarshaller;
    [javac] ^
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:14: error: package com.google.android.vending.expansion.downloader does not exist
    [javac] import com.google.android.vending.expansion.downloader.He lpers;
    [javac] ^
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:15: error: package com.google.android.vending.expansion.downloader does not exist
    [javac] import com.google.android.vending.expansion.downloader.ID ownloaderClient;
    [javac] ^
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:16: error: package com.google.android.vending.expansion.downloader does not exist
    [javac] import com.google.android.vending.expansion.downloader.ID ownloaderService;
    [javac] ^
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:17: error: package com.google.android.vending.expansion.downloader does not exist
    [javac] import com.google.android.vending.expansion.downloader.IS tub;
    [javac] ^
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:70: error: cannot find symbol
    [javac] private IDownloaderService mRemoteService;
    [javac] ^
    [javac] symbol: class IDownloaderService
    [javac] location: class CRunAndroidObb
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:71: error: cannot find symbol
    [javac] private IDownloaderClient mLocalClient = new IDownloaderClient() {
    [javac] ^
    [javac] symbol: class IDownloaderClient
    [javac] location: class CRunAndroidObb
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:142: error: cannot find symbol
    [javac] private IStub mDownloaderClientStub;
    [javac] ^
    [javac] symbol: class IStub
    [javac] location: class CRunAndroidObb
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:147: error: cannot find symbol
    [javac] private DownloadProgressInfo mProgress;
    [javac] ^
    [javac] symbol: class DownloadProgressInfo
    [javac] location: class CRunAndroidObb
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\c om\clickteam\special\ExpansionAlarmReceiver.java:3 : error: package com.google.android.vending.expansion.downloader does not exist
    [javac] import com.google.android.vending.expansion.downloader.Do wnloaderClientMarshaller;
    [javac] ^
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\c om\clickteam\special\ExpansionDownloaderService.ja va:3: error: package com.google.android.vending.expansion.downloader.im pl does not exist
    [javac] import com.google.android.vending.expansion.downloader.im pl.DownloaderService;
    [javac] ^
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\c om\clickteam\special\ExpansionDownloaderService.ja va:9: error: cannot find symbol
    [javac] public class ExpansionDownloaderService extends DownloaderService {
    [javac] ^
    [javac] symbol: class DownloaderService
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:71: error: cannot find symbol
    [javac] private IDownloaderClient mLocalClient = new IDownloaderClient() {
    [javac] ^
    [javac] symbol: class IDownloaderClient
    [javac] location: class CRunAndroidObb
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:210: error: cannot find symbol
    [javac] mProgress = new DownloadProgressInfo(0,0,0,0);
    [javac] ^
    [javac] symbol: class DownloadProgressInfo
    [javac] location: class CRunAndroidObb
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:437: error: cannot find symbol
    [javac] int startResult = DownloaderClientMarshaller.startDownloadServiceIfR equired(MMFRuntime.inst,
    [javac] ^
    [javac] symbol: variable DownloaderClientMarshaller
    [javac] location: class CRunAndroidObb
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:440: error: cannot find symbol
    [javac] if (startResult != DownloaderClientMarshaller.NO_DOWNLOAD_REQUIRED) {
    [javac] ^
    [javac] symbol: variable DownloaderClientMarshaller
    [javac] location: class CRunAndroidObb
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:443: error: cannot find symbol
    [javac] mDownloaderClientStub = DownloaderClientMarshaller.CreateStub
    [javac] ^
    [javac] symbol: variable DownloaderClientMarshaller
    [javac] location: class CRunAndroidObb
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:485: error: cannot find symbol
    [javac] mRemoteService.setDownloadFlags(IDownloaderService .FLAGS_DOWNLOAD_OVER_CELLULAR);
    [javac] ^
    [javac] symbol: variable IDownloaderService
    [javac] location: class CRunAndroidObb
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:604: error: cannot find symbol
    [javac] String fileName = Helpers.getExpansionAPKFileName(MMFRuntime.inst, true, MMFRuntime.inst.obbMainVersion);
    [javac] ^
    [javac] symbol: variable Helpers
    [javac] location: class CRunAndroidObb
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:605: error: cannot find symbol
    [javac] final File newFile = new File(Helpers.generateSaveFileName(MMFRuntime.inst, fileName));
    [javac] ^
    [javac] symbol: variable Helpers
    [javac] location: class CRunAndroidObb
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:620: error: cannot find symbol
    [javac] AsyncTask<Object, DownloadProgressInfo, Boolean> validationTask = new AsyncTask<Object, DownloadProgressInfo, Boolean>() {
    [javac] ^
    [javac] symbol: class DownloadProgressInfo
    [javac] location: class CRunAndroidObb
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:620: error: cannot find symbol
    [javac] AsyncTask<Object, DownloadProgressInfo, Boolean> validationTask = new AsyncTask<Object, DownloadProgressInfo, Boolean>() {
    [javac] ^
    [javac] symbol: class DownloadProgressInfo
    [javac] location: class CRunAndroidObb
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:728: error: cannot find symbol
    [javac] protected void onProgressUpdate(DownloadProgressInfo... values) {
    [javac] ^
    [javac] symbol: class DownloadProgressInfo
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:631: error: cannot find symbol
    [javac] String fileName = Helpers.getExpansionAPKFileName(
    [javac] ^
    [javac] symbol: variable Helpers
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:634: error: cannot find symbol
    [javac] if (!Helpers.doesFileExist(MMFRuntime.inst, fileName,
    [javac] ^
    [javac] symbol: variable Helpers
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:637: error: cannot find symbol
    [javac] fileName = Helpers
    [javac] ^
    [javac] symbol: variable Helpers
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:692: error: cannot find symbol
    [javac] new DownloadProgressInfo(
    [javac] ^
    [javac] symbol: class DownloadProgressInfo
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:705: error: cannot find symbol
    [javac] Log.e(Constants.TAG,
    [javac] ^
    [javac] symbol: variable Constants
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\E xtensions\CRunAndroidObb.java:708: error: cannot find symbol
    [javac] Log.e(Constants.TAG,
    [javac] ^
    [javac] symbol: variable Constants
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\c om\clickteam\special\ExpansionAlarmReceiver.java:1 6: error: cannot find symbol
    [javac] DownloaderClientMarshaller.startDownloadServiceIfR equired(context, intent, ExpansionDownloaderService.class, "");
    [javac] ^
    [javac] symbol: variable DownloaderClientMarshaller
    [javac] location: class ExpansionAlarmReceiver
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\c om\clickteam\special\ExpansionDownloaderService.ja va:23: error: method does not override or implement a method from a supertype
    [javac] @Override
    [javac] ^
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\c om\clickteam\special\ExpansionDownloaderService.ja va:28: error: method does not override or implement a method from a supertype
    [javac] @Override
    [javac] ^
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\c om\clickteam\special\ExpansionDownloaderService.ja va:37: error: method does not override or implement a method from a supertype
    [javac] @Override
    [javac] ^
    [javac] C:\Users\Home\AppData\Local\Temp\AndFDC3.tmp\src\c om\clickteam\special\ExpansionDownloaderService.ja va:47: error: 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] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 37 errors
    [javac] 3 warnings

    BUILD FAILED
    C:\Users\Home\AppData\Local\Android\android-sdk\tools\ant\build.xml:716: The following error occurred while executing this line:
    C:\Users\Home\AppData\Local\Android\android-sdk\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.

    Total time: 2 seconds

  2. #2
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Perry's Avatar
    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,334
    Mentioned
    49 Post(s)
    Tagged
    0 Thread(s)
    I tried it, and can't even get it to work lol. idk if the OBB program needs to be update. @Fernando will know all about it

  3. #3
    Clicker Fusion 2.5Android Export ModuleiOS Export Module

    Join Date
    Jun 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Oh dang! Thank you Perry!

    I am working on an app for a client that needs more media, 225mb in total apk. So I need the expansion. Perhaps there is a way to stream audio to the app from my web server...guess I'll go do some digging.

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,136
    Mentioned
    155 Post(s)
    Tagged
    3 Thread(s)
    Just built the example with no issues (both the lite and full version)

    remember that the object need to be fully configured in the properties to correctly built, what java sdk are you using @KevinSmith
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5Android Export ModuleiOS Export Module

    Join Date
    Jun 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I am using jdk1.8.0_102.

    Up to date Fusion 2.5 Dev. Build R291.5

    *side note...it looks like you can stream using Get URL

    Click image for larger version. 

Name:	Untitled-2.gif 
Views:	41 
Size:	14.2 KB 
ID:	25312

  6. #6
    Clicker Fusion 2.5Android Export ModuleiOS Export Module

    Join Date
    Jun 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Well the streaming didnt work...I just accidentally made it look like it did. haha... still looking for a solution.

  7. #7
    Clicker Fusion 2.5Android Export ModuleiOS Export Module

    Join Date
    Jun 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I just tried to build using JDK 1.7 but I received errors because the version was too old for the Android API. Just to be clear...I did enter my "Base64-encoded RSA public key to include in your binary. Please remove any spaces." from my Google Dev Console API section. I also tried building using the Example, swapped out my Key info and entered my Public Key in to the OBB object. Received the same exact error output.

  8. #8
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Perry's Avatar
    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,334
    Mentioned
    49 Post(s)
    Tagged
    0 Thread(s)
    Are you also having the problem with the Example?

    EDIT:

    I just tried the example, and it's compiling fine.
    Get a Res folder, and created the OBB file.
    Copied the value in the object.
    Compiled the main file.

    Did get an output of a
    main.1.com.yourcompany.yourapplication.obb
    main.1.com.yourcompany.yourapplication.txt

    not sure where the name is coming from, since I had filled that out on the 1st page.

    Other than that I personally have no clue how it reads or what to include / not to include.. Tried following the diagram, but got lost on create a frame with putting in all the objects that you DON'T use (?)
    not sure if that's an error in the help file

    is the Lite file, just a loader, and the expansion is the whole full game?
    idk if there is a real example of a small game, that shows how it works. The example, personally for me, doesn't show me enough info.

  9. #9
    Clicker Fusion 2.5Android Export ModuleiOS Export Module

    Join Date
    Jun 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I just retried the whole process using the examples. The RES folder creation works. The OBB builder works and outputs the same .obb and .txt named files. Then I opened the Lite project, entered the obb size and MY google public key (and tried no key too). I try to Build and APK but near the end of the build I get that error list. Same as on my project. Perry, do you get an OBB and an APK?

    The way I understood the help was like you're saying mostly.
    I believe it is trying to say that you need equal number and named frames in both the Lite and Full projects. That way all of the Frame Jumps are referenced to the same name and sequence. I believe that is intended to make the Lite project the launcher as you said. However, it sounds like once the app is restarted the lite gets replaced by full project, now that it's downloaded. The other reference they make to keep what you don't want I took as, if you can and want to fit this in to the lite project for instant access, put it in. Otherwise, the rest will have to be included on the expansion download.

  10. #10
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Perry's Avatar
    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,334
    Mentioned
    49 Post(s)
    Tagged
    0 Thread(s)
    The obb gets created with the tool, so you have that one already.

    I created a new thread as well yesterday actually, with 1 of my old games when I started with Fusion.. to see if someone can show me / the board on how it's done, since I am still lost with the diagrams.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 56
    Last Post: 26th December 2017, 08:53 PM
  2. Build Failed, Android SDK and JRE are installed.
    By deadvcr in forum Android Export Module 2.5
    Replies: 3
    Last Post: 11th July 2017, 01:37 PM
  3. Build failed Android
    By Melubnio in forum Android Export Module 2.5
    Replies: 2
    Last Post: 17th October 2016, 04:32 PM
  4. Help: Android build failed?
    By King_Cool in forum Android Export Module 2.5
    Replies: 2
    Last Post: 30th January 2016, 01:44 AM

Posting Permissions

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