User Tag List

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 38

Thread: Android app Failed to build

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF 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)Universal Windows Platform Export Module (Steam)
    Tisnart's Avatar
    Join Date
    Feb 2008
    Location
    On, Canada
    Posts
    1,108
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Android app Failed to build

    Help! not sure what happened,
    I Updated Android Studio
    Can no longer build my android app.
    Build API = 30
    Min = 5.0
    Target = 10
    ErrorLog:

    > 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:javaPreCompileDebug
    > Task :app:generateDebugResValues
    > Task :app:checkDebugAarMetadata
    > Task :app:generateDebugResources
    > Task :app:createDebugCompatibleScreenManifests
    > Task :app:extractDeepLinksDebug
    > Task :app:processDebugMainManifest
    > Task :app:processDebugManifest
    > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
    > Task :app:mergeDebugShaders
    > Task :app:compileDebugShaders NO-SOURCE
    > Task :app:generateDebugAssets UP-TO-DATE
    > Task :app:mergeDebugAssets
    > Task :app:compressDebugAssets
    > Task :app:processDebugJavaRes NO-SOURCE
    > Task :app:checkDebugDuplicateClasses
    > Task :app:mergeDebugResources
    > Task :app:mergeLibDexDebug
    > Task :app:mergeDebugJniLibFolders
    > Task :app:desugarDebugFileDependencies
    > Task :app:validateSigningDebug
    > Task :app:mergeDebugJavaResource
    > Task :app:mergeDebugNativeLibs


    > Task :app:stripDebugDebugSymbols
    Unable to strip the following libraries, packaging them as they are: libES1Renderer.so, libES2Renderer.so, libES3Renderer.so, libRuntimeNative.so, libgdx.so.


    > Task :app:writeDebugAppMetadata
    > Task :app:writeDebugSigningConfigVersions
    > Task :app:processDebugManifestForPackage
    > Task :app:mergeExtDexDebug
    > Task :app:processDebugResources


    > Task :app:compileDebugJavaWithJavac FAILED
    C:\Users\Gerald\AppData\Local\Temp\AndC3B0.tmp\app \src\main\java\com\clickteam\special\CTSignInClien t.java:165: error: cannot find symbol
    public boolean isConnected() { return mGoogleSignInClient.getInstanceId() != 0;}
    ^
    symbol: method getInstanceId()
    location: variable mGoogleSignInClient of type com.google.android.gms.auth.api.signin.GoogleSignI nClient
    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.
    1 error


    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 10s
    26 actionable tasks: 26 executed

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,318
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Please update your fusion to beta 293.10 and latest version of GPG objects from clickstore
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF 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)Universal Windows Platform Export Module (Steam)
    Tisnart's Avatar
    Join Date
    Feb 2008
    Location
    On, Canada
    Posts
    1,108
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Hi Fernando,

    Thanks for the response.

    I am running 293.10 and I have the latest version of GPG objects.

    I will try reinstalling the GPG Objects, perhaps I missed something.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF 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)Universal Windows Platform Export Module (Steam)
    Tisnart's Avatar
    Join Date
    Feb 2008
    Location
    On, Canada
    Posts
    1,108
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    reinstalled 293.1 and the latest version of GPG objects

    Now I get error:

    Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details


    > 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


    FAILURE: Build failed with an exception.


    * Where:
    Build file 'C:\Users\Gerald\AppData\Local\Temp\And8BFB.tmp\ap p\build.gradle' line: 57


    * What went wrong:
    A problem occurred evaluating project ':app'.
    > Could not get unknown property 'version_X_appcompat' for object of type org.gradle.api.internal.artifacts.dsl.dependencies .DefaultDependencyHandler.


    * 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 9s

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,318
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    293.1 release is not AndroidX compatible, you need to install now the 293.10 beta and then the GPG latest version
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF 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)Universal Windows Platform Export Module (Steam)
    Tisnart's Avatar
    Join Date
    Feb 2008
    Location
    On, Canada
    Posts
    1,108
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    293.1 release is not AndroidX compatible, you need to install now the 293.10 beta and then the GPG latest version
    I had 293.10 beta installed the first time, I downloaded 293.1 and installed that the second time.

    Ok, I now have 293.10 installed again and the GPG latest version (GPGObjects_V101j) is that correct?

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF 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)Universal Windows Platform Export Module (Steam)
    Tisnart's Avatar
    Join Date
    Feb 2008
    Location
    On, Canada
    Posts
    1,108
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    New errors :

    Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
    > 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:javaPreCompileDebug
    > Task :app:generateDebugResValues
    > Task :app:checkDebugAarMetadata
    > Task :app:generateDebugResources
    > Task :app:createDebugCompatibleScreenManifests
    > Task :app:extractDeepLinksDebug
    > Task :app:mergeDebugResources
    > Task :app:processDebugMainManifest
    > Task :app:processDebugManifest
    > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
    > Task :app:mergeDebugShaders
    > Task :app:compileDebugShaders NO-SOURCE
    > Task :app:generateDebugAssets UP-TO-DATE
    > Task :app:mergeDebugAssets
    > Task :app:compressDebugAssets
    > Task :app:processDebugJavaRes NO-SOURCE
    > Task :app:checkDebugDuplicateClasses
    > Task :app:mergeDebugJniLibFolders
    > Task :app:validateSigningDebug
    > Task :app:writeDebugAppMetadata
    > Task :app:writeDebugSigningConfigVersions
    > Task :app:processDebugManifestForPackage
    > Task :app:mergeDebugJavaResource
    > Task :app:mergeDebugNativeLibs


    > Task :app:stripDebugDebugSymbols
    Unable to strip the following libraries, packaging them as they are: libES1Renderer.so, libES2Renderer.so, libES3Renderer.so, libRuntimeNative.so, libgdx.so.


    > Task :app:desugarDebugFileDependencies
    > Task :app:processDebugResources
    > Task :app:mergeExtDexDebug


    > Task :app:compileDebugJavaWithJavac
    C:\Users\Gerald\AppData\Local\Temp\AndCBCB.tmp\app \src\main\java\Extensions\BaseGameActivity.java:21 : error: cannot find symbol
    import android.support.v4.app.FragmentActivity;
    ^
    symbol: class FragmentActivity
    location: package android.support.v4.app
    C:\Users\Gerald\AppData\Local\Temp\AndCBCB.tmp\app \src\main\java\Extensions\BaseGameActivity.java:43 : error: cannot find symbol
    public abstract class BaseGameActivity extends FragmentActivity implements
    ^
    symbol: class FragmentActivity
    C:\Users\Gerald\AppData\Local\Temp\AndCBCB.tmp\app \src\main\java\Extensions\BaseGameActivity.java:93 : error: incompatible types: Extensions.BaseGameActivity cannot be converted to android.app.Activity
    mHelper = new GameHelper(this, mRequestedClients);
    ^
    C:\Users\Gerald\AppData\Local\Temp\AndCBCB.tmp\app \src\main\java\Extensions\BaseGameActivity.java:99 : error: method does not override or implement a method from a supertype
    @Override
    ^
    C:\Users\Gerald\AppData\Local\Temp\AndCBCB.tmp\app \src\main\java\Extensions\BaseGameActivity.java:10 1: error: cannot find symbol
    super.onCreate(b);
    ^
    symbol: variable super
    location: class Extensions.BaseGameActivity
    C:\Users\Gerald\AppData\Local\Temp\AndCBCB.tmp\app \src\main\java\Extensions\BaseGameActivity.java:10 8: error: method does not override or implement a method from a supertype
    @Override
    ^
    C:\Users\Gerald\AppData\Local\Temp\AndCBCB.tmp\app \src\main\java\Extensions\BaseGameActivity.java:11 0: error: cannot find symbol
    super.onStart();
    ^
    symbol: variable super
    location: class Extensions.BaseGameActivity
    C:\Users\Gerald\AppData\Local\Temp\AndCBCB.tmp\app \src\main\java\Extensions\BaseGameActivity.java:11 1: error: incompatible types: Extensions.BaseGameActivity cannot be converted to android.app.Activity
    mHelper.onStart(this);
    ^
    C:\Users\Gerald\AppData\Local\Temp\AndCBCB.tmp\app \src\main\java\Extensions\BaseGameActivity.java:11 4: error: method does not override or implement a method from a supertype
    @Override
    ^
    C:\Users\Gerald\AppData\Local\Temp\AndCBCB.tmp\app \src\main\java\Extensions\BaseGameActivity.java:11 6: error: cannot find symbol
    super.onStop();
    ^
    symbol: variable super
    location: class Extensions.BaseGameActivity
    C:\Users\Gerald\AppData\Local\Temp\AndCBCB.tmp\app \src\main\java\Extensions\BaseGameActivity.java:12 0: error: method does not override or implement a method from a supertype
    @Override
    ^
    C:\Users\Gerald\AppData\Local\Temp\AndCBCB.tmp\app \src\main\java\Extensions\BaseGameActivity.java:12 2: error: cannot find symbol
    super.onActivityResult(request, response, data);
    ^
    symbol: variable super
    location: class Extensions.BaseGameActivity
    C:\Users\Gerald\AppData\Local\Temp\AndCBCB.tmp\app \src\main\java\Extensions\CRunGPGQuests.java:605: error: cannot find symbol
    return MMFRuntime.inst.checkForPermission(permission);
    ^
    symbol: method checkForPermission(java.lang.String)
    location: variable inst of type Runtime.MMFRuntime
    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.
    Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
    13 errors


    > Task :app:compileDebugJavaWithJavac FAILED


    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
    25 actionable tasks: 25 executed

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF 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)Universal Windows Platform Export Module (Steam)
    Tisnart's Avatar
    Join Date
    Feb 2008
    Location
    On, Canada
    Posts
    1,108
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    OK, I hade the 4 in my app.

    Remove them and app builds fine

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF 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)Universal Windows Platform Export Module (Steam)
    Tisnart's Avatar
    Join Date
    Feb 2008
    Location
    On, Canada
    Posts
    1,108
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Sorry had these GPGOjects.PNG

  10. #10
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,318
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    You need to update them to the latest version, available in your Clickstore account.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. Build 293.1 Android Build failed with an exception.
    By piki in forum Android Export Module 2.5
    Replies: 20
    Last Post: 27th November 2021, 04:17 PM
  2. Failed to build Android .apk
    By mrknd94 in forum Android Export Module 2.5
    Replies: 4
    Last Post: 21st July 2020, 01:17 PM
  3. Replies: 56
    Last Post: 26th December 2017, 08:53 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
  •