User Tag List

Results 1 to 5 of 5

Thread: Android text to speech - crashing during build!

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    751
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Android text to speech - crashing during build!

    Well, with the latest Fusion 294.10 we have new Crashes. Yippy!

    This one is for the ANDROID TTS Object.

    Below is the Error!

    HTML Code:
    > Task :app:preBuild UP-TO-DATE> Task :app:preReleaseBuild UP-TO-DATE> Task :app:compileReleaseAidl NO-SOURCE> Task :app:compileReleaseRenderscript NO-SOURCE> Task :app:generateReleaseBuildConfig> Task :app:javaPreCompileRelease> Task :app:writeReleaseApplicationId> Task :app:analyticsRecordingRelease> Task :app:checkReleaseAarMetadata> Task :app:generateReleaseResValues> Task :app:generateReleaseResources> Task :app:createReleaseCompatibleScreenManifests> Task :app:extractDeepLinksRelease> Task :app:processReleaseMainManifest> Task :app:processReleaseManifest> Task :app:mergeReleaseResources> Task :app:mergeReleaseJniLibFolders> Task :app:mergeReleaseShaders> Task :app:compileReleaseShaders NO-SOURCE> Task :app:generateReleaseAssets UP-TO-DATE> Task :app:mergeReleaseAssets> Task :app:compressReleaseAssets> Task :app:checkReleaseDuplicateClasses> Task :app:mergeReleaseNativeLibs
    > Task :app:stripReleaseDebugSymbolsUnable to strip the following libraries, packaging them as they are: libES1Renderer.so, libES2Renderer.so, libES3Renderer.so, libRuntimeNative.so, libgdx.so.
    > Task :app:processReleaseJavaRes NO-SOURCE
    > Task :app:extractReleaseNativeSymbolTablesUnable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\arm64-v8a\libES1Renderer.so because unable to locate the objcopy executable for the arm64-v8a ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\arm64-v8a\libES2Renderer.so because unable to locate the objcopy executable for the arm64-v8a ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\arm64-v8a\libES3Renderer.so because unable to locate the objcopy executable for the arm64-v8a ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\arm64-v8a\libgdx.so because unable to locate the objcopy executable for the arm64-v8a ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\arm64-v8a\libRuntimeNative.so because unable to locate the objcopy executable for the arm64-v8a ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\armeabi-v7a\libES1Renderer.so because unable to locate the objcopy executable for the armeabi-v7a ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\armeabi-v7a\libES2Renderer.so because unable to locate the objcopy executable for the armeabi-v7a ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\armeabi-v7a\libES3Renderer.so because unable to locate the objcopy executable for the armeabi-v7a ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\armeabi-v7a\libgdx.so because unable to locate the objcopy executable for the armeabi-v7a ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\armeabi-v7a\libRuntimeNative.so because unable to locate the objcopy executable for the armeabi-v7a ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86\libES1Renderer.so because unable to locate the objcopy executable for the x86 ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86\libES2Renderer.so because unable to locate the objcopy executable for the x86 ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86\libES3Renderer.so because unable to locate the objcopy executable for the x86 ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86\libgdx.so because unable to locate the objcopy executable for the x86 ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86\libRuntimeNative.so because unable to locate the objcopy executable for the x86 ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86_64\libES1Renderer.so because unable to locate the objcopy executable for the x86_64 ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86_64\libES2Renderer.so because unable to locate the objcopy executable for the x86_64 ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86_64\libES3Renderer.so because unable to locate the objcopy executable for the x86_64 ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86_64\libgdx.so because unable to locate the objcopy executable for the x86_64 ABI.Unable to extract native debug metadata from C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86_64\libRuntimeNative.so because unable to locate the objcopy executable for the x86_64 ABI.
    > Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE> Task :app:desugarReleaseFileDependencies> Task :app:collectReleaseDependencies> Task :app:sdkReleaseDependencyData> Task :app:validateSigningRelease> Task :app:writeReleaseAppMetadata> Task :app:writeReleaseSigningConfigVersions> Task :app:processReleaseManifestForPackage> Task :app:mergeReleaseJavaResource> Task :app:mergeExtDexReleaseaapt2.exe W 11-21 02:15:18  5504  5548 LoadedArsc.cpp:682] Unknown chunk type '200'.
    > Task :app:processReleaseResources
    > Task :app:compileReleaseJavaWithJavacC:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\src\main\java\Extensions\CRunTspeech.java:144: error: no suitable method found for makeText(WeakReference<Context>,String,int)                        Toast.makeText(MMFRuntime.appContext,"Language not supported",Toast.LENGTH_SHORT);                             ^    method Toast.makeText(Context,CharSequence,int) is not applicable      (argument mismatch; WeakReference<Context> cannot be converted to Context)    method Toast.makeText(Context,int,int) is not applicable      (argument mismatch; WeakReference<Context> cannot be converted to Context)C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\src\main\java\Extensions\CRunTspeech.java:151: error: no suitable method found for makeText(WeakReference<Context>,String,int)                    Toast.makeText(MMFRuntime.appContext,"Initialization Failed !!",Toast.LENGTH_SHORT);;                         ^    method Toast.makeText(Context,CharSequence,int) is not applicable      (argument mismatch; WeakReference<Context> cannot be converted to Context)    method Toast.makeText(Context,int,int) is not applicable      (argument mismatch; WeakReference<Context> cannot be converted to Context)C:\Users\VBE\AppData\Local\Temp\AndDB04.tmp\app\src\main\java\Extensions\CRunTspeech.java:132: error: incompatible types: WeakReference<Context> cannot be converted to Context        tts = new TextToSpeech(MMFRuntime.appContext, new TextToSpeech.OnInitListener() {                                         ^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 output3 errors
    > Task :app:compileReleaseJavaWithJavac FAILED
    FAILURE: Build failed with an exception.
    * What went wrong:Execution failed for task ':app:compileReleaseJavaWithJavac'.> 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 6s30 actionable tasks: 30 executed

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    751
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Still works Flawlessly on the Best Version of Fusion 293.10

  3. #3
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    319
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by VBEinc View Post
    Still works Flawlessly on the Best Version of Fusion 293.10
    Don't know why but this instruction is no longer compile since 294.10 :

    MMFRuntime.appContext

    But compiling work with this instruction ;

    MMFRuntime.inst.getApplicationContext()

    Regards

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    751
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Gigatron View Post
    Don't know why but this instruction is no longer compile since 294.10 :

    MMFRuntime.appContext

    But compiling work with this instruction ;

    MMFRuntime.inst.getApplicationContext()

    Regards
    Whatever the problem is, it only happens on the latest MMF2.5Dev Version 294.10
    Both TTS and STT!

    Which, no biggie as I prefer 293.10 anyway. Much more crisp graphics on that version and I don't keep seeing errors with objects on it like on 294.10!

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,505
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by Gigatron View Post
    Don't know why but this instruction is no longer compile since 294.10 :

    MMFRuntime.appContext

    But compiling work with this instruction ;

    MMFRuntime.inst.getApplicationContext()

    Regards
    Second method is preferred always, don't rely on variable, since they may be changed but Android recommendation.
    This is the case of old deviceAPI, which is now directly using Build.VERSION to comply with lint.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Similar Threads

  1. Speech To Text Android Extension
    By Gigatron in forum Android Export Module 2.5
    Replies: 36
    Last Post: 3rd January 2023, 12:00 AM
  2. Android Text to Speech TTS
    By DJFuego in forum Android Export Module 2.5
    Replies: 3
    Last Post: 6th May 2020, 01:23 PM
  3. What about text to speech on Android?
    By evi1ove in forum Android Export Module 2.5
    Replies: 0
    Last Post: 14th March 2020, 05:46 PM
  4. Developer needed (Paid Request): Android text to Speech extension
    By ratty in forum Android Export Module 2.5
    Replies: 7
    Last Post: 13th December 2019, 03:27 PM
  5. Text speech engine (how to scroll the text?)
    By Oreo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th November 2012, 06:44 PM

Posting Permissions

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