评论

5 条评论

  • 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
    评论操作 固定链接
  • 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
    评论操作 固定链接
  • 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
    评论操作 固定链接
  • ersinbardakci


    I installed the latest version of AS and re-opened android-sdk-v5-as project.
    0
    评论操作 固定链接
  • 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
    评论操作 固定链接

请先登录再写评论。