با سلام و خسته نباشید خدمت اساتید
وقتی پکیج پیشنهاد شده async storage رو نصب میکنم اپلیکیشنم به ارور میخوره و اجرا نمیشه
از دوستان کسی تجربه نصب و استفاده نسخه جدید این پکیج که از هسته ری اکت جدا شده رو داره؟
ممنون میشم کمکم کنید
دوستان کسی مشکل مارو نمیتونه حل کنه؟
سلام این لینک رو مطالعه کنید
https://github.com/react-native-community/async-storage
شاید پاسخ شما همینجا باشد
@hanan.f.1994 پیام ارور رو بگذارید...
What went wrong:
A problem occurred configuring project ':@react-native-community_async-storage'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 27s
error Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
error Command failed: gradlew.bat app:installDebug. Run CLI with --verbose flag for more details.
مشکل رو پیدا کردم
اگه با yarn نصب بشه درست کار میکنه . چون با npm نصب میکردم درست نصب نمیشد و به ارور میخورد
اگه با yarn هم به ارور خوردید دستور react-native link رو اجرا کنید اوکی میشه