react-native-torch icon indicating copy to clipboard operation
react-native-torch copied to clipboard

Android Build Release: error failed linking resources

Open rjx444 opened this issue 7 years ago • 2 comments

Hi,

Currently I can't build my app successfully due to the error that appears when building a release apk for android. Have you guys manage to trigger this issue too and had a fix to it?

Here is my current react native version being used: "react": "16.6.1", "react-native": "0.57.7"

Thanks, Raymond

rjx444 avatar Dec 25 '18 09:12 rjx444

I had this problem, solved it by setting compiledSdkVersion to 28 in node_modules/react-native-torch/android/build.gradle

It seems fixed here: https://github.com/ludo/react-native-torch/commit/5d412d0c4d52c7ecfd5260c28c100a2d6da50f47#diff-7ae5a9093507568eabbf35c3b0665732

But that is not what I get on npm install so 🤷‍♂

fredrik-jarnbrost avatar Jun 19 '19 13:06 fredrik-jarnbrost

I had this problem, solved it by setting compiledSdkVersion to 28 in node_modules/react-native-torch/android/build.gradle

It seems fixed here: 5d412d0#diff-7ae5a9093507568eabbf35c3b0665732

But that is not what I get on npm install so 🤷‍♂

Thanks, it works.

ridvanaltun avatar Sep 03 '19 09:09 ridvanaltun