-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android 打包失败 升级了gradlew 4.0.1 #38
Comments
i encountered the same issue too after upgrading my react native version to 0.64 and gradle to 4.1.0 |
First, replace the two lines of code in node_modules/@uiw/react-native-alipay/android/build.gradle
after replacement:
Then, add in the android/build.gradle:
|
@wuxiangqi 这个对我有用 |
//noinspection GradleDynamicVersion
flatDir { 真的有用 |
这个问题修复了吗 |
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 :uiw_react-native-alipay project caused this error: /Users/meiqi/Desktop/TOP_B2/tuopuwang/node_modules/@uiw/react-native-alipay/android/libs/alipaysdk-15.8.03.210428205839.aar
The text was updated successfully, but these errors were encountered: