Giter VIP home page Giter VIP logo

Comments (8)

Jai-GAY avatar Jai-GAY commented on July 18, 2024

A problem occurred evaluating project ':andruavmiddlelibrary'.

I solve it by changing the following two lines to sourceCompatibility JavaVersion.VERSION_11 and targetCompatibility JavaVersion.VERSION_11

sourceCompatibility JavaVersion.VERSION_1_8

targetCompatibility JavaVersion.VERSION_1_8

potential duplicate class conflict with Kotlin (org.jetbrains:annotations)

I solve it by changing the following line to implementation 'org.jetbrains:annotations:13.0'

implementation 'com.intellij:annotations:12.0@jar'

from andruav_android_app.

Jai-GAY avatar Jai-GAY commented on July 18, 2024

will get the following crash if target API >= 31
need to upgrade the d2xx.jar library to version 2.10. Also, various calls must include PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_MUTABLE flag upon Build.VERSION.SDK_INT check

Process: arudpilot.andruav, PID: 6900
java.lang.IllegalArgumentException: arudpilot.andruav: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
at android.app.PendingIntent.checkFlags(PendingIntent.java:402)
at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:672)
at android.app.PendingIntent.getBroadcast(PendingIntent.java:659)
at com.ftdi.j2xx.D2xxManager.updateContext(D2xxManager.java:767)
at com.ftdi.j2xx.D2xxManager.(D2xxManager.java:799)
at com.ftdi.j2xx.D2xxManager.getInstance(D2xxManager.java:827)
at org.droidplanner.services.android.impl.communication.connection.usb.UsbFTDIConnection.openUsbConnection(UsbFTDIConnection.java:29)
at org.droidplanner.services.android.impl.communication.connection.usb.UsbConnection.openConnection(UsbConnection.java:64)
at org.droidplanner.services.android.impl.core.MAVLink.connection.MavLinkConnection$1.run(MavLinkConnection.java:90)
at java.lang.Thread.run(Thread.java:1012)

from andruav_android_app.

Jai-GAY avatar Jai-GAY commented on July 18, 2024

Suggestions and modifications are done.

from andruav_android_app.

HefnySco avatar HefnySco commented on July 18, 2024

Would you make a PR to join it to code please.

from andruav_android_app.

Jai-GAY avatar Jai-GAY commented on July 18, 2024

Sorry, I just started using Github I am not sure how to Pull Requests via my forked repository.

I will give it a try, next few days I will be away from computer.

from andruav_android_app.

HefnySco avatar HefnySco commented on July 18, 2024

from andruav_android_app.

Jai-GAY avatar Jai-GAY commented on July 18, 2024

Submitted, hope I am correct in the procedure.

from andruav_android_app.

Jai-GAY avatar Jai-GAY commented on July 18, 2024

#21

from andruav_android_app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.