Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
When I did the packaging, I encountered the following problems

I tried to add this, but I still got an error

Does this reproduce on a debug build or release build? Release build. Debug build works fine.
Hey @LsFern,
Thanks for reporting!
Please check this out. This may be related to your issue (react-native 0.52.2 + gradle 3.3.1). Let me know if it's related or not 馃檪
I tried to change the gradle version to 3.1.3 and the gradle version to 4.4锛宐ut I still reported an error

@yuri-kulikov change the gradle version does not solve the problem
@yuri-kulikov Changing the React-Native version to 0.57.8 can be packaged normally
@LsFern, this is actually an external issue, this error simply indicates that something went wrong with react-native bundling process due to the gradle incompatibility.
Please let me know if you still have any questions!
@LsFern I'll close the issue for now, but if you need any help or have any further questions feel free to ask or reopen the issue if needed.
Thanks for using CodePush!
Hi there. I got the same thing only after installing react-native-code-push. Are we sure it's an external issue? We are using react native version 0.61.5. Though my error message is slightly differen:
Could not determine the dependencies of task ':react-native-code-push:compileReleaseAidl'.
Hi there. I got the same thing only after installing react-native-code-push. Are we sure it's an external issue? We are using react native version
0.61.5. Though my error message is slightly differen:Could not determine the dependencies of task ':react-native-code-push:compileReleaseAidl'.
I have the same problem with react-native version 0.61.5. This solution in issue #1448 work for me.
Update com.google.gms:google-services to version 4.3.3, sync gradle and build again.
Hi there. I got the same thing only after installing react-native-code-push. Are we sure it's an external issue? We are using react native version
0.61.5. Though my error message is slightly differen:Could not determine the dependencies of task ':react-native-code-push:compileReleaseAidl'.I have the same problem with react-native version 0.61.5. This solution in issue #1448 work for me.
Update
com.google.gms:google-servicesto version4.3.3, sync gradle and build again.
@LucasGarcez Hi, your solution fixed the issue, however if the project have install react-native-firebase, changing the google service version will mess up the entire build
Most helpful comment
I have the same problem with react-native version 0.61.5. This solution in issue #1448 work for me.
Update
com.google.gms:google-servicesto version4.3.3, sync gradle and build again.