Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android 12 macos #10

Merged
merged 7 commits into from
Apr 23, 2022
Merged

android 12 macos #10

merged 7 commits into from
Apr 23, 2022

Conversation

romellfudi
Copy link
Owner

  • upgraded gradle, added exported tag in manifest
  • added pending intent flags
  • updated library version
  • reverted gitUrl change

@romellfudi
Copy link
Owner Author

Please xuwanjin review this epic as to test that everything keeps working as expected

@SerendipityMatthew
Copy link
Contributor

I pull the code , build the app. run it on Android 12 phone, it is failed. here is the error:
AndroidRuntime: Process: com.romellfudi.fudinfc.app, PID: 25508 AndroidRuntime: java.lang.NoSuchMethodError: No static method metafactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; in class Ljava/lang/invoke/LambdaMetafactory; or its super classes (declaration of 'java.lang.invoke.LambdaMetafactory' appears in /apex/com.android.art/javalib/core-oj.jar) AndroidRuntime: at androidx.core.view.ViewCompat.<clinit>(ViewCompat.java:2852) AndroidRuntime: at androidx.core.view.ViewCompat.setOnApplyWindowInsetsListener(ViewCompat.java:2534) AndroidRuntime: at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:947) AndroidRuntime: at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:815)

I should add desugar for the project according tohe stackoverflow.

@romellfudi
Copy link
Owner Author

Hello again @xuwanjin & @zigapovhe , I merge the latest changes from you an unique branch, please review in your devices. Thanks in advance

@SerendipityMatthew
Copy link
Contributor

build the repo successfully after merge the change.

This was linked to issues Apr 23, 2022
@romellfudi romellfudi merged commit 84f0d40 into main Apr 23, 2022
@romellfudi romellfudi deleted the android-12-macos branch April 23, 2022 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Android 12 support build failed on MacOS, version 12.0.1
3 participants