Terry-Jiang-A / react-native-unityads

MIT License
3 stars 0 forks source link

Execution failed for task ':asdaily-rn-unityads:compileReleaseJavaWithJavac'. #2

Open tomscheney opened 1 year ago

tomscheney commented 1 year ago

System: OS: macOS 12.5.1 CPU: (8) x64 Apple M1 Memory: 21.49 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 14.15.0 - ~/.nvm/versions/node/v14.15.0/bin/node Yarn: 1.22.19 - ~/.nvm/versions/node/v14.15.0/bin/yarn npm: 6.14.8 - ~/.nvm/versions/node/v14.15.0/bin/npm Watchman: 2022.10.31.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.12.0 - /Users/eagle/.rvm/gems/ruby-2.7.6/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1 Android SDK: Not Found IDEs: Android Studio: Not Found Xcode: 14.1/14B47b - /usr/bin/xcodebuild Languages: Java: 11.0.17 - /Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.67.5 => 0.67.5 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

more error info:

Error while evaluating property 'hasLocalAarDeps' of task ':asdaily-rn-unityads:bundleReleaseAar'. Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :asdaily-rn-unityads project caused this error: /Users/eagle/Desktop/faceSwing/node_modules/asdaily-rn-unityads/android/libs/unity-ads.aar

chienduc91 commented 8 months ago

I got the same error, @tomscheney did you solve it?