admin管理员组

文章数量:1427746

Excus me.. can anyone help me.., i want install package react-native-device-info into my project, but i get some issue with this package, off course i have already use react-native link react-native-device-info suitable on procedure react-native-device-info. but i still get this error

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-device-
info:processReleaseResources'.
> .android.idemon.process.ProcessException: Failed to execute aapt

Excus me.. can anyone help me.., i want install package react-native-device-info into my project, but i get some issue with this package, off course i have already use react-native link react-native-device-info suitable on procedure react-native-device-info. but i still get this error

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-device-
info:processReleaseResources'.
> .android.ide.mon.process.ProcessException: Failed to execute aapt
Share Improve this question edited Jan 25, 2018 at 3:03 Izzudin Umar Al Qois asked Jan 25, 2018 at 2:54 Izzudin Umar Al QoisIzzudin Umar Al Qois 511 silver badge5 bronze badges 0
Add a ment  | 

2 Answers 2

Reset to default 5

Try to run this mand in your terminal:

cd android && ./gradlew clean

PROBLEM SOLVED

evidently i'm just need to remove my SDK, and download it again

Thank You all :)

本文标签: javascriptExecution failed for task 39reactnativedeviceinfoprocessReleaseResources39Stack Overflow