Closed nahlebn1k closed 3 months ago
That's because we bumped the Android Gradle Plugin version which now requires you to enable AIDL explicitly (it's turned off by default).
The fix is to go here: https://github.com/nahlebn1k/aidl-issue/blob/d9d8d35f7764dcd9facb1a893754e8514e043539/android/app/build.gradle#L105
and add the following:
+ buildFeatures {
+ aidl = true
+ }
}
See more on this here: https://developer.android.com/build/releases/past-releases/agp-8-0-0-release-notes
Description
Hello, we used License Verification Library (LVL) in our project before in 0.72 version. But after upgrading to 0.74 React Native can not compile this lib and not recognizing
.aidl
interface package of this lib. Can you please provide any solution to this problem? Thanks in advance!https://developer.android.com/google/play/licensing/overview - Licensing library
Steps to reproduce
npm run android
React Native Version
0.74.4
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/nahlebn1k/aidl-issue
Screenshots and Videos
No response