React-native-code-push: Could not determine the dependencies of task ':app:generateBundledResourcesHashOnlineBetaRelease'

Created on 18 Jun 2019  路  9Comments  路  Source: microsoft/react-native-code-push

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
TIM鎴浘20190618115123

I tried to add this, but I still got an error
TIM鎴浘20190618115430

Environment

Does this reproduce on a debug build or release build? Release build. Debug build works fine.

android external

Most helpful comment

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.

All 9 comments

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
鏀筭radle鐗堟湰

@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-services to version 4.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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

osdnk picture osdnk  路  3Comments

ACCTFORGH picture ACCTFORGH  路  3Comments

Fuhrmann picture Fuhrmann  路  3Comments

chrisjrex picture chrisjrex  路  4Comments

vira-khdr picture vira-khdr  路  3Comments