lambdanative
lambdanative copied to clipboard
Module localnotification depreciated for android
module localnotification https://github.com/part-cw/lambdanative/blob/master/modules/localnotification/localnotification.scm seems to be no longer supported with android 24
[javac] /home/walterk/.lambdanative/tmp_build/src/ch/mhsl/fragebogen/AlarmReceiver.java:4: error: package android.support.v4.app does not exist
[javac] import android.support.v4.app.NotificationCompat;
In fact, WakefulBroadcastReceiver class is depreciated since O (26) https://developer.android.com/reference/androidx/legacy/content/WakefulBroadcastReceiver
This is a bit more complicated and I likely won't have time to sort it out as classes start tomorrow. If I fix the paths to include the support library, I still get issues during the DEXing step:
[dex] input: /Users/mg/.lambdanative/tmp_build/libs/android-support-v4.jar
[dex] Pre-Dexing /Users/mg/.lambdanative/tmp_build/libs/android-support-v4.jar -> android-support-v4-bcc08885376bc01f6db5f114fba16059.jar
[dex] Converting compiled files and external libraries into /Users/mg/.lambdanative/tmp_build/bin/classes.dex...
[dx]
[dx] UNEXPECTED TOP-LEVEL EXCEPTION:
[dx] com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)
[...]