Hi Guys.
I´m trying to create an .apk file to test the Android Expansion Suport, because my project has 200Mb and I not finish yet. So, I read all about the problems, but didn´t works to me. The problem is the same of this: https://community.clickteam.com/threads/104270-Failed-build-with-Android-Expansion-Support-Object.
First to help, my version is 2.5+ (R293.1).
The problem with NDK I solved. It´s working now.
I can export all my apps normally, but when I put the Android Expansion on one frame, the error is show. I did a test with a empty frame and export a app. Ok, works. When I put the Extension and export, the error appears to.
I think is a simple mistake, but I cant find. Could you help, please?
Ps.: I got the same error with the examples.
Thansk a lot.
The full changelog:
> Configure project :app
WARNING: The option ‘android.useDeprecatedNdk’ is deprecated.
The current default is ‘false’.
It has been removed from the current version of the Android Gradle plugin.
NdkCompile is no longer supported
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app:generateDebugBuildConfig
> Task :app:generateDebugResValues
> Task :app:generateDebugResources
> Task :app:javaPreCompileDebug
> Task :app:createDebugCompatibleScreenManifests
> Task :app:extractDeepLinksDebug
> Task :app:processDebugManifest
> Task :app:mergeDebugShaders
> Task :app:compileDebugShaders NO-SOURCE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :app:mergeDebugAssets
> Task :app:processDebugJavaRes NO-SOURCE
> Task :app:checkDebugDuplicateClasses
> Task :app:mergeDebugJniLibFolders
> Task :app:mergeDebugResources
> Task :app:processDebugResources
> Task :app:compileDebugJavaWithJavac
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\com\clickteam\special\ExpansionAlarmReceiver.java:3: error: package com.google.android.vending.expansion.downloader does not exist
import com.google.android.vending.expansion.downloader.DownloaderClientMarshaller;
^
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\com\clickteam\special\ExpansionDownloaderService.java:3: error: package com.google.android.vending.expansion.downloader.impl does not exist
import com.google.android.vending.expansion.downloader.impl.DownloaderService;
^
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\com\clickteam\special\ExpansionDownloaderService.java:9: error: cannot find symbol
public class ExpansionDownloaderService extends DownloaderService {
^
symbol: class DownloaderService
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:10: error: package com.google.android.vending.expansion.downloader does not exist
import com.google.android.vending.expansion.downloader.Constants;
^
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:11: error: package com.google.android.vending.expansion.downloader does not exist
import com.google.android.vending.expansion.downloader.DownloadProgressInfo;
^
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:12: error: package com.google.android.vending.expansion.downloader does not exist
import com.google.android.vending.expansion.downloader.DownloaderClientMarshaller;
^
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:13: error: package com.google.android.vending.expansion.downloader does not exist
import com.google.android.vending.expansion.downloader.DownloaderServiceMarshaller;
^
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:14: error: package com.google.android.vending.expansion.downloader does not exist
import com.google.android.vending.expansion.downloader.Helpers;
^
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:15: error: package com.google.android.vending.expansion.downloader does not exist
import com.google.android.vending.expansion.downloader.IDownloaderClient;
^
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:16: error: package com.google.android.vending.expansion.downloader does not exist
import com.google.android.vending.expansion.downloader.IDownloaderService;
^
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:17: error: package com.google.android.vending.expansion.downloader does not exist
import com.google.android.vending.expansion.downloader.IStub;
^
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:70: error: cannot find symbol
private IDownloaderService mRemoteService;
^
symbol: class IDownloaderService
location: class CRunAndroidObb
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:71: error: cannot find symbol
private IDownloaderClient mLocalClient = new IDownloaderClient() {
^
symbol: class IDownloaderClient
location: class CRunAndroidObb
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:142: error: cannot find symbol
private IStub mDownloaderClientStub;
^
symbol: class IStub
location: class CRunAndroidObb
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:147: error: cannot find symbol
private DownloadProgressInfo mProgress;
^
symbol: class DownloadProgressInfo
location: class CRunAndroidObb
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\com\clickteam\special\ExpansionAlarmReceiver.java:16: error: cannot find symbol
DownloaderClientMarshaller.startDownloadServiceIfRequired(context, intent, ExpansionDownloaderService.class, “”);
^
symbol: variable DownloaderClientMarshaller
location: class ExpansionAlarmReceiver
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\com\clickteam\special\ExpansionDownloaderService.java:23: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\com\clickteam\special\ExpansionDownloaderService.java:28: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\com\clickteam\special\ExpansionDownloaderService.java:37: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\com\clickteam\special\ExpansionDownloaderService.java:47: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:71: error: cannot find symbol
private IDownloaderClient mLocalClient = new IDownloaderClient() {
^
symbol: class IDownloaderClient
location: class CRunAndroidObb
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:210: error: cannot find symbol
mProgress = new DownloadProgressInfo(0,0,0,0);
^
symbol: class DownloadProgressInfo
location: class CRunAndroidObb
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:437: error: cannot find symbol
int startResult = DownloaderClientMarshaller.startDownloadServiceIfRequired(MMFRuntime.inst,
^
symbol: variable DownloaderClientMarshaller
location: class CRunAndroidObb
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:440: error: cannot find symbol
if (startResult != DownloaderClientMarshaller.NO_DOWNLOAD_REQUIRED) {
^
symbol: variable DownloaderClientMarshaller
location: class CRunAndroidObb
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:443: error: cannot find symbol
mDownloaderClientStub = DownloaderClientMarshaller.CreateStub
^
symbol: variable DownloaderClientMarshaller
location: class CRunAndroidObb
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:485: error: cannot find symbol
mRemoteService.setDownloadFlags(IDownloaderService.FLAGS_DOWNLOAD_OVER_CELLULAR);
^
symbol: variable IDownloaderService
location: class CRunAndroidObb
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:604: error: cannot find symbol
String fileName = Helpers.getExpansionAPKFileName(MMFRuntime.inst, true, MMFRuntime.inst.obbMainVersion);
^
symbol: variable Helpers
location: class CRunAndroidObb
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:605: error: cannot find symbol
final File newFile = new File(Helpers.generateSaveFileName(MMFRuntime.inst, fileName));
^
symbol: variable Helpers
location: class CRunAndroidObb
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:620: error: cannot find symbol
AsyncTask<Object, DownloadProgressInfo, Boolean> validationTask = new AsyncTask<Object, DownloadProgressInfo, Boolean>() {
^
symbol: class DownloadProgressInfo
location: class CRunAndroidObb
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:620: error: cannot find symbol
AsyncTask<Object, DownloadProgressInfo, Boolean> validationTask = new AsyncTask<Object, DownloadProgressInfo, Boolean>() {
^
symbol: class DownloadProgressInfo
location: class CRunAndroidObb
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:728: error: cannot find symbol
protected void onProgressUpdate(DownloadProgressInfo… values) {
^
symbol: class DownloadProgressInfo
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:631: error: cannot find symbol
String fileName = Helpers.getExpansionAPKFileName(
^
symbol: variable Helpers
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:634: error: cannot find symbol
if (!Helpers.doesFileExist(MMFRuntime.inst, fileName,
^
symbol: variable Helpers
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:637: error: cannot find symbol
fileName = Helpers
^
symbol: variable Helpers
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:692: error: cannot find symbol
new DownloadProgressInfo(
^
symbol: class DownloadProgressInfo
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:705: error: cannot find symbol
Log.e(Constants.TAG,
^
symbol: variable Constants
C:\Users\alemm\AppData\Local\Temp\And4DCE.tmp\app\src\main\java\Extensions\CRunAndroidObb.java:708: error: cannot find symbol
Log.e(Constants.TAG,
^
symbol: variable Constants
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
37 errors
> Task :app:compileDebugJavaWithJavac FAILED
> Task :app:mergeExtDexDebug
> Task :app:mergeDebugJavaResource
> Task :app:mergeDebugNativeLibs
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ‘:app:compileDebugJavaWithJavac’.
> Compilation failed; see the compiler error output for details.
* Try:
Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 23s
16 actionable tasks: 16 executed