User Tag List

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

Thread: Impossible to build an AAB file if using Native Notification object

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    891
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)

    Impossible to build an AAB file if using Native Notification object

    All is in the title, it's impossible to build an AAB file with Native Notifcation object, I'm using Fusion Dev b293.3 and just bought the native notification object.
    How can i fix this issue ? I need to update some old apps with "API 11 Targeting" before November 1st, and all those apps use the Native Notification object...

    Code:
    WARNING:: Please remove usages of `jcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories.
    This repository is deprecated and it will be shut down in the future.
    See http://developer.android.com/r/tools/jcenter-end-of-service for more information.
    Currently detected usages in: root project 'AndD6C3.tmp', project ':app'
    Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
    Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
    > Task :app:preBuild UP-TO-DATE
    > Task :app:preReleaseBuild UP-TO-DATE
    > Task :app:writeReleaseApplicationId
    > Task :app:analyticsRecordingRelease
    > Task :app:compileReleaseRenderscript NO-SOURCE
    > Task :app:generateReleaseResValues
    > Task :app:generateReleaseResources
    > Task :app:createReleaseCompatibleScreenManifests
    > Task :app:extractDeepLinksRelease
    > Task :app:processReleaseMainManifest
    > Task :app:processReleaseManifest
    > Task :app:processApplicationManifestReleaseForBundle
    > Task :app:mergeReleaseResources
    > Task :app:checkReleaseDuplicateClasses
    > Task :app:compileReleaseAidl NO-SOURCE
    > Task :app:generateReleaseBuildConfig
    > Task :app:javaPreCompileRelease
    > Task :app:checkReleaseAarMetadata
    > Task :app:mergeReleaseShaders
    > Task :app:compileReleaseShaders NO-SOURCE
    > Task :app:generateReleaseAssets UP-TO-DATE
    > Task :app:mergeReleaseAssets
    > Task :app:processReleaseJavaRes NO-SOURCE
    > Task :app:desugarReleaseFileDependencies
    > Task :app:mergeReleaseJniLibFolders
    > Task :app:processReleaseManifestForPackage
    > Task :app:collectReleaseDependencies
    > Task :app:configureReleaseDependencies
    > Task :app:parseReleaseIntegrityConfig
    > Task :app:writeReleaseAppMetadata
    > Task :app:validateSigningRelease
    > Task :app:mergeReleaseJavaResource
    > Task :app:mergeReleaseNativeLibs
    
    > Task :app:stripReleaseDebugSymbols
    Unable to strip the following libraries, packaging them as they are: libES1Renderer.so, libES2Renderer.so, libES3Renderer.so, libRuntimeNative.so, libgdx.so.
    
    > Task :app:extractReleaseNativeSymbolTables
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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\William\AppData\Local\Temp\AndD6C3.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:bundleReleaseResources
    > Task :app:mergeExtDexRelease
    > Task :app:processReleaseResources
    
    > Task :app:compileReleaseJavaWithJavac FAILED
    C:\Users\William\AppData\Local\Temp\AndD6C3.tmp\app\src\main\java\com\cootje\extensions\MyAlarmReceiver.java:9: error: cannot find symbol
    import android.support.v4.app.NotificationCompat;
                                 ^
      symbol:   class NotificationCompat
      location: package android.support.v4.app
    C:\Users\William\AppData\Local\Temp\AndD6C3.tmp\app\src\main\java\com\cootje\extensions\MyAlarmReceiver.java:46: error: package NotificationCompat does not exist
    			Notification notification = new NotificationCompat.Builder(context)
    			                                                  ^
    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.
    2 errors
    
    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 8s
    31 actionable tasks: 31 executed

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,054
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    The developer of this object must provide you with an androidx version for version 293.2+, send him an email
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    891
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)
    Ok, so how to get refund? This extension doesn't work with actual versions of Fusion, it should be removed from the clickstore or at least add a note about this... Is there any extension that could do the job instead? Thank you.

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,054
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    This extension is not made by Clickteam, i will check
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker 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)

    Join Date
    Apr 2020
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Native notification manager is non functional for me as well. I am implementing notifications with android new dialog control v2. I can successfully ping notification at start of frame, and still am implementing sending notifications at a certain time of day while app is in background (and closed if possible).

    I would suggest using android new dialog control v2, Dobermann.

  6. #6
    Clicker 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)

    Join Date
    Apr 2020
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks like native notifications is gone from the clickteam store, so that object will not be fixed. Bummer because I am having difficulty with the android dialog v2 object working in the background.

    I need to have a notification show at a certain time during the day with my app in background, closed, and if the phone screen is off.

    It is a alarm functionality for reminder for health.

    Is this possible fernando and do you have a suggestion how I would go about doing this?

    I can get the notification to activate while in app, but in the background it does not (even though end application when not in foreground is not checked).

    I see "bind notification listener service", "set_alarm", "system alert window"

    Possible suggestions?

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    891
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by db251 View Post
    I would suggest using android new dialog control v2, Dobermann.
    Thank you, i'll give it a try.

    Native Notifications doesn't work anymore, so it's not worth getting it as you can't build anything with it now..

  8. #8
    Clicker 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)

    Join Date
    Apr 2020
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    correct 'native notifications object' is broken, but I still need the functionality of what 'native notifications object' does. I need the notification to play when the app is in the background and also closed/phone screen is off.

  9. #9
    Clicker 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)

    Join Date
    Apr 2020
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have already built the feature for the user to 'set' the alarm, which when the time happens, the notification is played, but the alarm and notification when the user set time happens only goes off when INSIDE the application.

    When the app is in the background the notification does not play when the alarm time happens. Obviously when the app is closed, the notification is also not played.

    end application when not in foreground is not checked.

    I am looking into:

    "bind notification listener service", "set_alarm", "system alert window" permissions in android properties to figure out what they do.

    Perhaps I have to call them with an 'intent'. I have not learned 'intent' and have not learned how to implement them yet.

    I'm working on that today.

  10. #10
    Clicker 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)

    Join Date
    Apr 2020
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So "bind notification listener service" is only used for READING notifications, so this won't help

    But, "set_alarm" is what we need.

    Here is googles documentation on this intent.

    Create an alarm

    To create a new alarm, use the ACTION_SET_ALARM action and specify alarm details such as the time and message using extras defined below.

    Note: Only the hour, minutes, and message extras are available in Android 2.3 (API level 9) and lower. The other extras were added in later versions of the platform.

    Action:
    ACTION_SET_ALARM

    Data URI:
    None

    MIME Type:
    None

    Extras:

    EXTRA_HOUR:
    The hour for the alarm.

    EXTRA_MINUTES:
    The minutes for the alarm.

    EXTRA_MESSAGE:
    A custom message to identify the alarm.

    EXTRA_DAYS:
    An ArrayList including each week day on which this alarm should be repeated. Each day must be declared with an integer from the Calendar class such as MONDAY.
    For a one-time alarm, do not specify this extra.

    EXTRA_RINGTONE:
    A content: URI specifying a ringtone to use with the alarm, or VALUE_RINGTONE_SILENT for no ringtone.
    To use the default ringtone, do not specify this extra.

    EXTRA_VIBRATE:
    A boolean specifying whether to vibrate for this alarm.

    EXTRA_SKIP_UI:
    A boolean specifying whether the responding app should skip its UI when setting the alarm. If true, the app should bypass any confirmation UI and simply set the specified alarm.

    Example intent:

    Kotlin
    Java

    fun createAlarm(message: String, hour: Int, minutes: Int) {
    val intent = Intent(AlarmClock.ACTION_SET_ALARM).apply {
    putExtra(AlarmClock.EXTRA_MESSAGE, message)
    putExtra(AlarmClock.EXTRA_HOUR, hour)
    putExtra(AlarmClock.EXTRA_MINUTES, minutes)
    }
    if (intent.resolveActivity(packageManager) != null) {
    startActivity(intent)
    }
    }
    Note:
    In order to invoke the ACTION_SET_ALARM intent, your app must have the SET_ALARM permission:


    <uses-permission android:name="com.android.alarm.permission.SET_ALA RM

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Android Native Notification Manager
    By ColdFire in forum Released Extensions
    Replies: 55
    Last Post: 31st July 2020, 09:59 PM
  2. Android Native Notification Manager not working anymore!
    By trigonom in forum Android Export Module 2.5
    Replies: 3
    Last Post: 27th March 2018, 05:08 PM
  3. Compile a native mac build without a mac?
    By elvisish in forum Fusion 2.5
    Replies: 16
    Last Post: 20th April 2017, 04:57 PM
  4. android notification : send a notification kill the app ?
    By arthurh in forum Android Export Module 2.5
    Replies: 10
    Last Post: 1st November 2015, 02:06 PM
  5. Guide on how to use the Android Native Notification Manager
    By Perry in forum Guides, Tutorials, Examples, Widgets
    Replies: 7
    Last Post: 26th April 2015, 04:52 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
  •