Comments

5 comments

  • DJI Developer Support
    Unable to resolve the issue with the R file is generally related to your compilation environment. For reference, the JDK version I am using is 17, Android Gradle plugin version is 7.4.2, and Gradle version is 7.5.1.
    0
    Comment actions Permalink
  • ersinbardakci

    Now i started from scratch.

    Installed Android Studio and downloaded sdk,

    File -> open and selected android-sdk-v5-as project.
    2 mins later everything finished and i saw this :

    0
    Comment actions Permalink
  • DJI Developer Support
    I noticed that you are using an unsupported version of Android Studio for AGP 7.4.2. To resolve this, you will need to update your Android Studio to the latest version.
    0
    Comment actions Permalink
  • ersinbardakci


    I installed the latest version of AS and re-opened android-sdk-v5-as project.
    0
    Comment actions Permalink
  • DJI Developer Support
    I noticed that the error message you provided indicates that you are using AGP 7.4.2. To resolve this issue, please update your Gradle version to the corresponding version:https://developer.android.com/build/releases/gradle-plugin#updating-gradle
    0
    Comment actions Permalink

Please sign in to leave a comment.